Skip to content

Fix Symfony PHPStan compatibility - #369

Merged
ErwannRousseau merged 2 commits into
masterfrom
fix/symfony-phpstan-compatibility
Jul 18, 2026
Merged

Fix Symfony PHPStan compatibility#369
ErwannRousseau merged 2 commits into
masterfrom
fix/symfony-phpstan-compatibility

Conversation

@ErwannRousseau

Copy link
Copy Markdown
Contributor

Summary

Fix PHPStan compatibility across supported Symfony versions.

Details

  • update phpstan-symfony for Symfony 7.4 generic config builders
  • load a minimal TreeBuilder generic stub only for Symfony versions before 7.4
  • keep native Symfony 7.4 generic types without suppressing PHPStan errors
  • validate PHPStan across Symfony 5.4, 6.4, and 7.4

@ErwannRousseau
ErwannRousseau merged commit 994f51f into master Jul 18, 2026
14 checks passed
@ErwannRousseau
ErwannRousseau deleted the fix/symfony-phpstan-compatibility branch July 18, 2026 19:54
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.

1 participant