forked from b13/container
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* do not register upgrade wizards if EXT:install is not installed * use PHP Attributes for upgrade wizards * adapt phpstan Fixes. b13#525
- Loading branch information
1 parent
be8abab
commit 29c2f39
Showing
7 changed files
with
104 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,61 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: "#^Method TYPO3\\\\CMS\\\\Core\\\\Domain\\\\Repository\\\\PageRepository\\:\\:getLanguageOverlay\\(\\) invoked with 3 parameters, 2 required\\.$#" | ||
count: 1 | ||
path: ../Classes/Domain/Factory/PageView/Frontend/ContainerFactory.php | ||
|
||
- | ||
message: "#^Constant LF not found\\.$#" | ||
count: 4 | ||
path: ../Classes/Tca/Registry.php | ||
|
||
- | ||
message: "#^PHPDoc tag @return has invalid value \\(\\)\\: Unexpected token \"\\\\n \\* \", expected type at offset 679$#" | ||
count: 1 | ||
path: ../Tests/Acceptance/Support/BackendTester.php | ||
|
||
- | ||
message: "#^PHPDoc tag @return has invalid value \\(\\)\\: Unexpected token \"\\\\n \\* \", expected type at offset 743$#" | ||
count: 1 | ||
path: ../Tests/Acceptance/Support/BackendTester.php | ||
|
||
- | ||
message: "#^PHPDoc tag @throws with type B13\\\\Container\\\\Tests\\\\Acceptance\\\\Support\\\\_generated\\\\ConfigurationException is not subtype of Throwable$#" | ||
count: 1 | ||
path: ../Tests/Acceptance/Support/BackendTester.php | ||
|
||
- | ||
message: "#^PHPDoc tag @throws with type B13\\\\Container\\\\Tests\\\\Acceptance\\\\Support\\\\_generated\\\\ModuleException is not subtype of Throwable$#" | ||
count: 1 | ||
path: ../Tests/Acceptance/Support/BackendTester.php | ||
|
||
- | ||
message: "#^Call to an undefined static method TYPO3\\\\TestingFramework\\\\Core\\\\Acceptance\\\\Extension\\\\BackendEnvironment\\:\\:_initialize\\(\\)\\.$#" | ||
count: 1 | ||
path: ../Tests/Acceptance/Support/Extension/BackendContainerEnvironment.php | ||
|
||
- | ||
message: "#^Call to an undefined static method TYPO3\\\\TestingFramework\\\\Core\\\\Acceptance\\\\Extension\\\\BackendEnvironment\\:\\:bootstrapTypo3Environment\\(\\)\\.$#" | ||
count: 1 | ||
path: ../Tests/Acceptance/Support/Extension/BackendContainerEnvironment.php | ||
|
||
- | ||
message: "#^Constant ORIGINAL_ROOT not found\\.$#" | ||
count: 1 | ||
path: ../Tests/Acceptance/Support/Extension/BackendContainerEnvironment.php | ||
|
||
- | ||
message: "#^Property TYPO3\\\\TestingFramework\\\\Core\\\\Acceptance\\\\Helper\\\\AbstractPageTree\\:\\:\\$tester \\(AcceptanceTester\\) does not accept B13\\\\Container\\\\Tests\\\\Acceptance\\\\Support\\\\BackendTester\\.$#" | ||
count: 1 | ||
path: ../Tests/Acceptance/Support/PageTree.php | ||
|
||
- | ||
message: "#^Constant ORIGINAL_ROOT not found\\.$#" | ||
count: 1 | ||
path: ../Tests/Functional/Datahandler/AbstractDatahandler.php | ||
|
||
- | ||
message: "#^Class TYPO3\\\\CMS\\\\Backend\\\\View\\\\PageLayoutContext constructor invoked with 5 parameters, 2 required\\.$#" | ||
count: 1 | ||
path: ../Tests/Functional/Integrity/IntegrityTest.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
includes: | ||
- phpstan-baseline-11-7.4.neon | ||
|
||
parameters: | ||
level: 5 | ||
|
||
paths: | ||
- %currentWorkingDirectory%/Classes | ||
- %currentWorkingDirectory%/Tests | ||
|
||
excludePaths: | ||
- %currentWorkingDirectory%/Classes/Listener/ModifyNewContentElementWizardItems.php | ||
- %currentWorkingDirectory%/Classes/Listener/ContentUsedOnPage.php | ||
- %currentWorkingDirectory%/Tests/Unit/Listener/ContentUsedOnPageTest.php | ||
- %currentWorkingDirectory%/Tests/Functional/Listener/ContentUsedOnPageTest.php | ||
- %currentWorkingDirectory%/Classes/Listener/RecordSummaryForLocalization.php | ||
- %currentWorkingDirectory%/Classes/Listener/PageTsConfig.php | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters