Skip to content

Commit 39fa142

Browse files
committed
🚿 phpstan happy
1 parent 39af8df commit 39fa142

File tree

2 files changed

+19
-19
lines changed

2 files changed

+19
-19
lines changed

.phpstan/baseline-lt-8.4.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
parameters:
22
excludePaths:
3-
- ../tests/PropertyHooksContainer.php
3+
- ../tests/Subjects/PropertyHooksContainer.php
44

55
ignoreErrors:
66
-

phpstan-baseline.neon

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,25 @@
11
parameters:
22
ignoreErrors:
33
-
4-
rawMessage: Access to an undefined property chillerlan\SettingsTest\TestContainer::$foo.
4+
rawMessage: Access to an undefined property chillerlan\SettingsTest\Subjects\TestContainer::$foo.
55
identifier: property.notFound
66
count: 1
77
path: tests/ContainerTest.php
88

99
-
10-
rawMessage: Access to private property chillerlan\SettingsTest\ExceptionTestContainer::$inaccessible.
10+
rawMessage: Access to private property chillerlan\SettingsTest\Subjects\ExceptionTestContainer::$inaccessible.
1111
identifier: property.private
1212
count: 2
1313
path: tests/ContainerTest.php
1414

1515
-
16-
rawMessage: Access to private property chillerlan\SettingsTest\TestContainer::$test3.
16+
rawMessage: Access to private property chillerlan\SettingsTest\Subjects\TestContainer::$test3.
1717
identifier: property.private
1818
count: 6
1919
path: tests/ContainerTest.php
2020

2121
-
22-
rawMessage: Access to protected property chillerlan\SettingsTest\ExceptionTestContainer::$accessible.
22+
rawMessage: Access to protected property chillerlan\SettingsTest\Subjects\ExceptionTestContainer::$accessible.
2323
identifier: property.protected
2424
count: 3
2525
path: tests/ContainerTest.php
@@ -55,49 +55,49 @@ parameters:
5555
path: tests/ContainerTest.php
5656

5757
-
58-
rawMessage: 'Property chillerlan\SettingsTest\TestContainer::$test1 (string) in isset() is not nullable.'
58+
rawMessage: 'Property chillerlan\SettingsTest\Subjects\TestContainer::$test1 (string) in isset() is not nullable.'
5959
identifier: isset.property
6060
count: 2
6161
path: tests/ContainerTest.php
6262

6363
-
64-
rawMessage: 'Property chillerlan\SettingsTest\TestContainer::$test3 (string) in isset() is not nullable.'
64+
rawMessage: 'Property chillerlan\SettingsTest\Subjects\TestContainer::$test3 (string) in isset() is not nullable.'
6565
identifier: isset.property
6666
count: 1
6767
path: tests/ContainerTest.php
6868

6969
-
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-
75-
-
76-
rawMessage: Access to protected property chillerlan\SettingsTest\PropertyHooksContainer::$test1.
70+
rawMessage: Access to protected property chillerlan\SettingsTest\Subjects\PropertyHooksContainer::$test1.
7771
identifier: property.protected
7872
count: 4
7973
path: tests/PropertyHooksTest.php
8074

8175
-
82-
rawMessage: Access to protected property chillerlan\SettingsTest\PropertyHooksContainer::$test2.
76+
rawMessage: Access to protected property chillerlan\SettingsTest\Subjects\PropertyHooksContainer::$test2.
8377
identifier: property.protected
8478
count: 4
8579
path: tests/PropertyHooksTest.php
8680

8781
-
88-
rawMessage: Access to protected property chillerlan\SettingsTest\PropertyHooksContainer::$test3.
82+
rawMessage: Access to protected property chillerlan\SettingsTest\Subjects\PropertyHooksContainer::$test3.
8983
identifier: property.protected
9084
count: 5
9185
path: tests/PropertyHooksTest.php
9286

9387
-
94-
rawMessage: Access to protected property chillerlan\SettingsTest\PropertyHooksContainer::$test4.
88+
rawMessage: Access to protected property chillerlan\SettingsTest\Subjects\PropertyHooksContainer::$test4.
9589
identifier: property.protected
9690
count: 5
9791
path: tests/PropertyHooksTest.php
9892

9993
-
100-
rawMessage: 'Property chillerlan\SettingsTest\TestContainer::$test3 is never read, only written.'
94+
rawMessage: 'Property chillerlan\SettingsTest\Subjects\ExceptionTestContainer::$inaccessible is never read, only written.'
95+
identifier: property.onlyWritten
96+
count: 1
97+
path: tests/Subjects/ExceptionTestContainer.php
98+
99+
-
100+
rawMessage: 'Property chillerlan\SettingsTest\Subjects\TestContainer::$test3 is never read, only written.'
101101
identifier: property.onlyWritten
102102
count: 1
103-
path: tests/TestContainer.php
103+
path: tests/Subjects/TestContainer.php

0 commit comments

Comments
 (0)