Skip to content

Commit 48abb26

Browse files
committed
phpstan baseline
1 parent db3564a commit 48abb26

File tree

3 files changed

+28
-3
lines changed

3 files changed

+28
-3
lines changed

utils/phpstan-baseline/loader.neon

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 2172 errors
1+
# total 2179 errors
22

33
includes:
44
- argument.type.neon

utils/phpstan-baseline/missingType.iterableValue.neon

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 1312 errors
1+
# total 1315 errors
22

33
parameters:
44
ignoreErrors:
@@ -2167,6 +2167,21 @@ parameters:
21672167
count: 1
21682168
path: ../../system/Encryption/Handlers/SodiumHandler.php
21692169

2170+
-
2171+
message: '#^Method CodeIgniter\\Encryption\\KeyRotationDecorator\:\:__get\(\) return type has no value type specified in iterable type array\.$#'
2172+
count: 1
2173+
path: ../../system/Encryption/KeyRotationDecorator.php
2174+
2175+
-
2176+
message: '#^Method CodeIgniter\\Encryption\\KeyRotationDecorator\:\:decrypt\(\) has parameter \$params with no value type specified in iterable type array\.$#'
2177+
count: 1
2178+
path: ../../system/Encryption/KeyRotationDecorator.php
2179+
2180+
-
2181+
message: '#^Method CodeIgniter\\Encryption\\KeyRotationDecorator\:\:encrypt\(\) has parameter \$params with no value type specified in iterable type array\.$#'
2182+
count: 1
2183+
path: ../../system/Encryption/KeyRotationDecorator.php
2184+
21702185
-
21712186
message: '#^Method CodeIgniter\\Entity\\Cast\\ArrayCast\:\:get\(\) has parameter \$value with no value type specified in iterable type array\.$#'
21722187
count: 1

utils/phpstan-baseline/property.notFound.neon

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# total 47 errors
1+
# total 49 errors
22

33
parameters:
44
ignoreErrors:
@@ -92,6 +92,16 @@ parameters:
9292
count: 2
9393
path: ../../tests/system/Encryption/Handlers/SodiumHandlerTest.php
9494

95+
-
96+
message: '#^Access to an undefined property CodeIgniter\\Encryption\\EncrypterInterface\:\:\$cipher\.$#'
97+
count: 1
98+
path: ../../tests/system/Encryption/KeyRotationDecoratorTest.php
99+
100+
-
101+
message: '#^Access to an undefined property CodeIgniter\\Encryption\\EncrypterInterface\:\:\$key\.$#'
102+
count: 1
103+
path: ../../tests/system/Encryption/KeyRotationDecoratorTest.php
104+
95105
-
96106
message: '#^Access to an undefined property CodeIgniter\\I18n\\TimeLegacy\:\:\$foobar\.$#'
97107
count: 1

0 commit comments

Comments
 (0)