Closed emteknetnz closed 9 months ago
In order for the types to correctly resolve with PHPStan analysis of the existing @method
annotations, we need generics in place. This is necessary to validate that the existing annotations are correct.
@emteknetnz seems like you're reviewing this so assigning to you
Split off from https://github.com/silverstripe/.github/issues/163
Acceptance criteria
Notes
get_extra_config()
in extensions (see https://github.com/silverstripe/silverstripe-framework/pull/11092#discussion_r1424737200)PRs
Note: After merging the below, reassign to Guy so they can add this to packagist and roll it out to all the CMS 5 supported modules
Module Standardiser PRs
Note: For any PR that had outstanding PHPLint issues, I've manually fixed whatever needed to be fixed as a separate commit. Note that these had to be run against the
5
(or equivalent) branches because the@method
annotation rule doesn't work correctly against the codebase if the generic types aren't available - and those were merged into the5
(or equivalent) branches.