[TASK] Provide common base for PHP-based integrity checker
With one traverser class and several checkers all necessary checks can be executed within one CI job, which saves time and resources. By feeding all checkers with the same set of files, we can be safe not to lose any files that should be checked. Resolves: #103465 Releases: main Change-Id: I4a2f54c6fac37177c8387a999f5e60102951eba5 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/83568 Reviewed-by:Anja Leichsenring <aleichsenring@ab-softlab.de> 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:
Andreas Kienast <a.fernandez@scripting-base.de> Reviewed-by:
Andreas Kienast <a.fernandez@scripting-base.de>
Showing
- Build/Scripts/phpIntegrityChecker.php 217 additions, 0 deletionsBuild/Scripts/phpIntegrityChecker.php
- Build/Scripts/phpIntegrityChecks/AbstractPhpIntegrityChecker.php 91 additions, 0 deletions...cripts/phpIntegrityChecks/AbstractPhpIntegrityChecker.php
- Build/Scripts/phpIntegrityChecks/AnnotationChecker.php 43 additions, 72 deletionsBuild/Scripts/phpIntegrityChecks/AnnotationChecker.php
- Build/Scripts/phpIntegrityChecks/NamespaceChecker.php 255 additions, 0 deletionsBuild/Scripts/phpIntegrityChecks/NamespaceChecker.php
- Build/Scripts/phpIntegrityChecks/TestClassFinalChecker.php 72 additions, 0 deletionsBuild/Scripts/phpIntegrityChecks/TestClassFinalChecker.php
- Build/Scripts/phpIntegrityChecks/TestMethodPrefixChecker.php 73 additions, 0 deletionsBuild/Scripts/phpIntegrityChecks/TestMethodPrefixChecker.php
- Build/Scripts/runTests.sh 3 additions, 18 deletionsBuild/Scripts/runTests.sh
- Build/Scripts/testClassFinalChecker.php 0 additions, 88 deletionsBuild/Scripts/testClassFinalChecker.php
- Build/Scripts/testMethodPrefixChecker.php 0 additions, 92 deletionsBuild/Scripts/testMethodPrefixChecker.php
- Build/gitlab-ci/nightly/integrity.yml 2 additions, 5 deletionsBuild/gitlab-ci/nightly/integrity.yml
- Build/gitlab-ci/pre-merge/integrity.yml 2 additions, 5 deletionsBuild/gitlab-ci/pre-merge/integrity.yml
- composer.json 1 addition, 0 deletionscomposer.json
Please register or sign in to comment