Skip to content

Commit 0231882

Browse files
committed
🚿 ok, fine.
1 parent df2f23d commit 0231882

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

phpstan-baseline.neon

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,24 @@ parameters:
66
count: 1
77
path: tests/ContainerTest.php
88

9+
-
10+
rawMessage: Access to private property chillerlan\SettingsTest\ExceptionTestContainer::$inaccessible.
11+
identifier: property.private
12+
count: 2
13+
path: tests/ContainerTest.php
14+
915
-
1016
rawMessage: Access to private property chillerlan\SettingsTest\TestContainer::$test3.
1117
identifier: property.private
1218
count: 6
1319
path: tests/ContainerTest.php
1420

21+
-
22+
rawMessage: Access to protected property chillerlan\SettingsTest\ExceptionTestContainer::$accessible.
23+
identifier: property.protected
24+
count: 3
25+
path: tests/ContainerTest.php
26+
1527
-
1628
rawMessage: 'Call to static method PHPUnit\Framework\Assert::assertFalse() with true will always evaluate to false.'
1729
identifier: staticMethod.impossibleType
@@ -36,6 +48,12 @@ parameters:
3648
count: 1
3749
path: tests/ContainerTest.php
3850

51+
-
52+
rawMessage: Expression "$container->inaccessible" on a separate line does not do anything.
53+
identifier: expr.resultUnused
54+
count: 1
55+
path: tests/ContainerTest.php
56+
3957
-
4058
rawMessage: 'Property chillerlan\SettingsTest\TestContainer::$test1 (string) in isset() is not nullable.'
4159
identifier: isset.property
@@ -48,6 +66,12 @@ parameters:
4866
count: 1
4967
path: tests/ContainerTest.php
5068

69+
-
70+
rawMessage: 'Property chillerlan\SettingsTest\ExceptionTestContainer::$inaccessible is never read, only written.'
71+
identifier: property.onlyWritten
72+
count: 1
73+
path: tests/ExceptionTestContainer.php
74+
5175
-
5276
rawMessage: Access to protected property chillerlan\SettingsTest\PropertyHooksContainer::$test1.
5377
identifier: property.protected

0 commit comments

Comments
 (0)