- Issue created by @lostcarpark
- Merge request !31Add before script to remove attributes for phpstan (previous major). → (Open) created by lostcarpark
Currently @phpstan-ignore-next-line
statements are used to prevent Hook attributes from causing errors for phpstan (previous minor).
However, this seems suboptimal. It requires "ignore" statements, which are only needed for the previous version checks, and these could be causing actual problems to be overlooked for current versions.
N/A
Add a before script to .gitlab-ci.yml
to use sed
to delete the attribute lines, only for phpstan (previous major).
Active
1.4
Code