-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[TASK] Use better suiting typing in
SiteBasedTestTrait
The `SiteBasedTestTrait` uses `AbstractInstruction` to declare native types for method arguments and return types and PHPStan complains about this because `typo3/testing-framework` methods uses the `InstructionInterface` instead. This change adopts `InstructionInterface` type hints to be in line with the `typo3/testing-framework` and satisfy PHPStan, which allows us to remove no longer matched ignored errors from the PHPStan baseline. Used command(s): ```shell Build/Scripts/runTests.sh -t 12 -p 8.1 -s phpstanGenerateBaseline ```
- Loading branch information
Showing
2 changed files
with
5 additions
and
30 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