Problem/Motivation
Amongst the current suppressions found in the PHPStan level 1 baseline is: #pre_render/#lazy_builder callback '\Foo\Bar' at key 'n' is not trusted..
This issue exists to fix all of those.
Steps to reproduce
- Run PHPStan on level 1 and see the above issue amongst all others.
Proposed resolution
- Solve all of the reported issues for the above mentioned.
- Run PHPStan on level 1 and don't see the above issue any more.
Remaining tasks
User interface changes
API changes
Data model changes
Release notes snippet
Issue fork drupal-3352944
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3352944-fix-phpstan-l1
changes, plain diff MR !3798
Comments
Comment #3
spokjeComment #4
smustgrave commentedApplied MR and searched phpstan-baseline for "#pre_render callback " and all 3 instances have been addressed here.
Comment #6
longwaveCommitted and pushed e55cf5ca78 to 10.1.x. Thanks!