Skip to content

Conversation

@Flyingmana
Copy link
Contributor

@Flyingmana Flyingmana commented Aug 5, 2025

references #7498

only a draft for now, I want to see which test are all failing and for what reasons.

@Flyingmana Flyingmana force-pushed the patch-generator_type_missing branch 2 times, most recently from ebcdd50 to 1dc38d3 Compare August 11, 2025 19:14
@ondrejmirtes
Copy link
Member

Explained the wanted changes here phpstan/phpstan#7498 (comment)

@VincentLanglet
Copy link
Contributor

I would love to this moving forward. Are you still interested in your PR @Flyingmana ?

I think you just need to

  • Rebase/Fix conflicts
  • Describe the iterable type in some stubs/tests

@Flyingmana
Copy link
Contributor Author

Yes, might have time for it later today, but latest next weekend

@Flyingmana Flyingmana force-pushed the patch-generator_type_missing branch 4 times, most recently from ac69196 to e262f13 Compare September 14, 2025 22:13
@Flyingmana
Copy link
Contributor Author

I think now all is fixed which belongs to this repository, the rest is separate repositories

@Flyingmana Flyingmana marked this pull request as ready for review September 14, 2025 23:29
@phpstan-bot
Copy link
Collaborator

This pull request has been marked as ready for review.

Copy link
Member

@ondrejmirtes ondrejmirtes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see more tests with the other no-longer-skipped types like Generator.

@Flyingmana Flyingmana force-pushed the patch-generator_type_missing branch from 8d0f11f to 47bbfb1 Compare November 23, 2025 10:29
@Flyingmana
Copy link
Contributor Author

I'd like to see more tests with the other no-longer-skipped types like Generator.

I added new tests/examples for generics in
tests/PHPStan/Rules/Functions/data/missing-function-return-typehint.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants