psalm / psalm-plugin-symfony

Psalm Plugin for Symfony
MIT License
228 stars 53 forks source link

Add stubs for Symfony 7 #352

Closed HypeMC closed 5 months ago

HypeMC commented 5 months ago

Currently there are no stubs for Symfony v7, closes #347.

I'm not exactly sure what needs to be done here, or if anything needs to be done at all. I've split the PR into two commits. In the first commit, I copied the stubs from v7. In the second, I synced the code with what is in Symfony. I'm not sure if this is actually necessary. I also checked if there have been any updates to the docblocks for these functions, but as far as I could tell, nothing has changed.

seferov commented 5 months ago

Currently there are no stubs for Symfony v7

This is not completely true. There are no Symfony 7 specific stubs; common stubs are applied for all versions including Symfony 7.

I'm not exactly sure what needs to be done here, or if anything needs to be done at all. I've split the PR into two commits. In the first commit, I copied the stubs from v7. In the second, I synced the code with what is in Symfony. I'm not sure if this is actually necessary. I also checked if there have been any updates to the docblocks for these functions, but as far as I could tell, nothing has changed.

LGTM