Skip to content

Commit 9aaf14e

Browse files
committed
:octocat: dependency update
1 parent fa3d964 commit 9aaf14e

2 files changed

Lines changed: 38 additions & 12 deletions

File tree

composer.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,13 @@
2424
"ext-json": "*"
2525
},
2626
"require-dev": {
27-
"phan/phan": "^5.5.0",
27+
"phan/phan": "^5.5.2",
2828
"phpmd/phpmd": "^2.15",
29-
"phpstan/phpstan": "^2.1.18",
29+
"phpstan/phpstan": "^2.1.31",
3030
"phpstan/phpstan-deprecation-rules": "^2.0.3",
3131
"phpunit/phpunit": "^10.5",
32-
"slevomat/coding-standard": "^8.19",
33-
"squizlabs/php_codesniffer": "^3.13"
32+
"slevomat/coding-standard": "^8.22",
33+
"squizlabs/php_codesniffer": "^4.0"
3434
},
3535
"autoload": {
3636
"psr-4": {
@@ -44,8 +44,10 @@
4444
},
4545
"scripts": {
4646
"phan": "@php vendor/bin/phan",
47-
"phpcs": "@php vendor/bin/phpcs",
47+
"phpcs": "@php vendor/bin/phpcs -v",
48+
"phpmd": "@php vendor/bin/phpmd src text ./phpmd.xml.dist",
4849
"phpstan": "@php vendor/bin/phpstan",
50+
"phpstan-baseline": "@php vendor/bin/phpstan --generate-baseline",
4951
"phpunit": "@php vendor/bin/phpunit"
5052
},
5153
"config": {

phpstan-baseline.neon

Lines changed: 31 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,55 @@
11
parameters:
22
ignoreErrors:
33
-
4-
message: "#^Access to an undefined property chillerlan\\\\SettingsTest\\\\TestContainer\\:\\:\\$foo\\.$#"
4+
rawMessage: Access to an undefined property chillerlan\SettingsTest\TestContainer::$foo.
5+
identifier: property.notFound
56
count: 1
67
path: tests/ContainerTest.php
78

89
-
9-
message: "#^Access to private property chillerlan\\\\SettingsTest\\\\TestContainer\\:\\:\\$test3\\.$#"
10-
count: 4
10+
rawMessage: Access to private property chillerlan\SettingsTest\TestContainer::$test3.
11+
identifier: property.private
12+
count: 5
1113
path: tests/ContainerTest.php
1214

1315
-
14-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertFalse\\(\\) with true will always evaluate to false\\.$#"
16+
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertFalse() with true will always evaluate to false.'
17+
identifier: staticMethod.impossibleType
1518
count: 1
1619
path: tests/ContainerTest.php
1720

1821
-
19-
message: "#^Call to static method PHPUnit\\\\Framework\\\\Assert\\:\\:assertNull\\(\\) with string will always evaluate to false\\.$#"
22+
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertFalse() with true will always evaluate to true.'
23+
identifier: staticMethod.alreadyNarrowedType
24+
count: 1
25+
path: tests/ContainerTest.php
26+
27+
-
28+
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertNull() with string will always evaluate to false.'
29+
identifier: staticMethod.impossibleType
30+
count: 2
31+
path: tests/ContainerTest.php
32+
33+
-
34+
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertTrue() with true will always evaluate to true.'
35+
identifier: staticMethod.alreadyNarrowedType
36+
count: 1
37+
path: tests/ContainerTest.php
38+
39+
-
40+
rawMessage: 'Property chillerlan\SettingsTest\TestContainer::$test1 (string) in isset() is not nullable.'
41+
identifier: isset.property
2042
count: 2
2143
path: tests/ContainerTest.php
2244

2345
-
24-
message: "#^Property chillerlan\\\\SettingsTest\\\\TestContainer\\:\\:\\$test3 \\(string\\) in isset\\(\\) is not nullable\\.$#"
46+
rawMessage: 'Property chillerlan\SettingsTest\TestContainer::$test3 (string) in isset() is not nullable.'
47+
identifier: isset.property
2548
count: 1
2649
path: tests/ContainerTest.php
2750

2851
-
29-
message: "#^Property chillerlan\\\\SettingsTest\\\\TestContainer\\:\\:\\$test3 is never read, only written\\.$#"
52+
rawMessage: 'Property chillerlan\SettingsTest\TestContainer::$test3 is never read, only written.'
53+
identifier: property.onlyWritten
3054
count: 1
3155
path: tests/TestContainer.php

0 commit comments

Comments
 (0)