[TASK] Port exception code integrity checker into php integrity task
Port the duplicate exception code integrity check into the PhpParser based integrity suite. This allows for improvements compared with the older regex based search, that missed quite some occurences. We can now detect non-standard parameter position, named arguments and also missing exception codes. Resolves: #104275 Related: #103465 Releases: main Change-Id: Ifcb1176b6803108a2c1668f090039fb0627d7d4e Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/85033 Reviewed-by:Christian Kuhn <lolli@schwarzbu.ch> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
Christian Kuhn <lolli@schwarzbu.ch>
Showing
- Build/Scripts/phpIntegrityChecker.php 28 additions, 7 deletionsBuild/Scripts/phpIntegrityChecker.php
- Build/Scripts/phpIntegrityChecks/ExceptionCodeChecker.php 132 additions, 0 deletionsBuild/Scripts/phpIntegrityChecks/ExceptionCodeChecker.php
- Build/Scripts/phpIntegrityChecks/NodeResolver/ExceptionConstructorResolver.php 47 additions, 0 deletions...grityChecks/NodeResolver/ExceptionConstructorResolver.php
- Build/Scripts/runTests.sh 0 additions, 5 deletionsBuild/Scripts/runTests.sh
- Build/gitlab-ci/nightly/integrity.yml 0 additions, 1 deletionBuild/gitlab-ci/nightly/integrity.yml
- Build/gitlab-ci/pre-merge/integrity.yml 0 additions, 1 deletionBuild/gitlab-ci/pre-merge/integrity.yml
- typo3/sysext/core/Classes/Compatibility/PublicMethodDeprecationTrait.php 2 additions, 2 deletions...re/Classes/Compatibility/PublicMethodDeprecationTrait.php
Please register or sign in to comment