Skip to content

Commit 374c54a

Browse files
committed
phpstan baseline
1 parent 90f8577 commit 374c54a

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 2639 errors
1+
# total 2644 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 1314 errors
1+
# total 1317 errors
22

33
parameters:
44
ignoreErrors:
@@ -2147,6 +2147,21 @@ parameters:
21472147
count: 1
21482148
path: ../../system/Encryption/Handlers/SodiumHandler.php
21492149

2150+
-
2151+
message: '#^Method CodeIgniter\\Encryption\\KeyRotationDecorator\:\:__get\(\) return type has no value type specified in iterable type array\.$#'
2152+
count: 1
2153+
path: ../../system/Encryption/KeyRotationDecorator.php
2154+
2155+
-
2156+
message: '#^Method CodeIgniter\\Encryption\\KeyRotationDecorator\:\:decrypt\(\) has parameter \$params with no value type specified in iterable type array\.$#'
2157+
count: 1
2158+
path: ../../system/Encryption/KeyRotationDecorator.php
2159+
2160+
-
2161+
message: '#^Method CodeIgniter\\Encryption\\KeyRotationDecorator\:\:encrypt\(\) has parameter \$params with no value type specified in iterable type array\.$#'
2162+
count: 1
2163+
path: ../../system/Encryption/KeyRotationDecorator.php
2164+
21502165
-
21512166
message: '#^Method CodeIgniter\\Entity\\Cast\\ArrayCast\:\:get\(\) has parameter \$value with no value type specified in iterable type array\.$#'
21522167
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)