Skip to content

Commit e448c71

Browse files
committed
[TASK] Update phpstan and adjust baseline
Used command(s): > composer require --dev \ "phpstan/phpstan":"^1.12.5" \ "phpstan/phpstan-phpunit":"^1.4.0" > Build/Scripts/runTests.sh -s phpstanGenerateBaseline
1 parent ddf7631 commit e448c71

File tree

2 files changed

+9
-4
lines changed

2 files changed

+9
-4
lines changed

Build/phpstan/phpstan-baseline.neon

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,13 @@ parameters:
3131
path: ../../Classes/Composer/ExtensionTestEnvironment.php
3232

3333
-
34-
message: "#^Strict comparison using \\=\\=\\= between class\\-string\\<T of object\\> and '' will always evaluate to false\\.$#"
35-
count: 2
34+
message: "#^Strict comparison using \\=\\=\\= between class\\-string\\<T of object \\(method TYPO3\\\\TestingFramework\\\\Core\\\\BaseTestCase\\:\\:getAccessibleMock\\(\\), argument\\)\\> and '' will always evaluate to false\\.$#"
35+
count: 1
36+
path: ../../Classes/Core/BaseTestCase.php
37+
38+
-
39+
message: "#^Strict comparison using \\=\\=\\= between class\\-string\\<T of object \\(method TYPO3\\\\TestingFramework\\\\Core\\\\BaseTestCase\\:\\:getAccessibleMockForAbstractClass\\(\\), argument\\)\\> and '' will always evaluate to false\\.$#"
40+
count: 1
3641
path: ../../Classes/Core/BaseTestCase.php
3742

3843
-

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@
6666
},
6767
"require-dev": {
6868
"friendsofphp/php-cs-fixer": "^3.4.0",
69-
"phpstan/phpstan": "^1.8.0",
70-
"phpstan/phpstan-phpunit": "^1.1.1",
69+
"phpstan/phpstan": "^1.12.5",
70+
"phpstan/phpstan-phpunit": "^1.4.0",
7171
"typo3/cms-workspaces": "10.*.*@dev || 11.*.*@dev"
7272
}
7373
}

0 commit comments

Comments
 (0)