Skip to content

[5.2] PHPStan integration#43919

Merged
Hackwar merged 7 commits intojoomla:5.2-devfrom
Digital-Peak:phpstan
Aug 15, 2024
Merged

[5.2] PHPStan integration#43919
Hackwar merged 7 commits intojoomla:5.2-devfrom
Digital-Peak:phpstan

Conversation

@laoneo
Copy link
Member

@laoneo laoneo commented Aug 14, 2024

Pull Request for pr #43819.

Summary of Changes

Integrates PHPStan into core. It uses the CMS setup from #43819 and the stubs, reflection and dynamic return types from the DPDocker code analyze task. The later can be used by extension developers in a similar way how the CMS is using it by including the build/phpstan/phpstan.neon into the main phpstan.neon of their extension.

Testing Instructions

Is all for system tests only, but if you want to check it out locally, do a composer install of the branch and then libraries/vendor/bin/phpstan on the command line.

@laoneo laoneo mentioned this pull request Aug 14, 2024
4 tasks
laoneo and others added 2 commits August 14, 2024 21:44
Co-authored-by: Brian Teeman <brian@teeman.net>
Co-authored-by: Brian Teeman <brian@teeman.net>
@Hackwar Hackwar merged commit 5ae3ecd into joomla:5.2-dev Aug 15, 2024
@Hackwar
Copy link
Member

Hackwar commented Aug 15, 2024

Thank you for this contribution!

@Hackwar Hackwar added this to the Joomla! 5.2.0 milestone Aug 15, 2024
@laoneo laoneo deleted the phpstan branch August 15, 2024 06:54
@laoneo laoneo mentioned this pull request Aug 15, 2024
@heelc29 heelc29 mentioned this pull request Jul 15, 2025
2 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

Comments