Skip to content

Add virtual IsEntity/IsLoaded interfaces for phpstan#932

Closed
mvorisek wants to merge 12 commits intodevelopfrom
phpstan_entity
Closed

Add virtual IsEntity/IsLoaded interfaces for phpstan#932
mvorisek wants to merge 12 commits intodevelopfrom
phpstan_entity

Conversation

@mvorisek
Copy link
Copy Markdown
Member

@mvorisek mvorisek commented Nov 25, 2021

@mvorisek mvorisek changed the title Add virtual IsEntity/IsLoaded phpstan interfaces Add virtual IsModel/IsEntity/IsLoaded interfaces for phpstan Nov 25, 2021
@mvorisek mvorisek changed the title Add virtual IsModel/IsEntity/IsLoaded interfaces for phpstan Add virtual IsEntity/IsLoaded interfaces for phpstan Nov 25, 2021
@mvorisek mvorisek force-pushed the phpstan_entity branch 3 times, most recently from 46e71b7 to 697b354 Compare November 26, 2021 01:56
@mvorisek mvorisek marked this pull request as ready for review November 26, 2021 01:56
@mvorisek mvorisek force-pushed the phpstan_entity branch 6 times, most recently from 4675faf to 5c39296 Compare May 29, 2022 13:37
@mvorisek mvorisek force-pushed the phpstan_entity branch 4 times, most recently from 5008738 to 7811b63 Compare June 1, 2022 06:39
@mvorisek mvorisek force-pushed the phpstan_entity branch 8 times, most recently from 40b2a8b to a401874 Compare June 3, 2022 10:12
@mvorisek
Copy link
Copy Markdown
Member Author

there must be a better way to do it - phpstan/phpstan#12101

@mvorisek
Copy link
Copy Markdown
Member Author

rebased from 1.x phpstan

Hard to decide, but we should probably not fake an interface as at least for final classes, this might resolve to never.

@mvorisek mvorisek closed this Mar 23, 2025
@mvorisek mvorisek deleted the phpstan_entity branch March 23, 2025 21:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant