-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from samsonasik/bump-php82
Bump to PHP 8.2 and PHP 8.4 support
- Loading branch information
Showing
12 changed files
with
200 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
parameters: | ||
ignoreErrors: | ||
- | ||
message: '#^Cannot access offset ''enable'' on mixed\.$#' | ||
identifier: offsetAccess.nonOffsetAccessible | ||
count: 2 | ||
path: src/Listener/ForceHttps.php | ||
|
||
- | ||
message: '#^Cannot access offset ''value'' on mixed\.$#' | ||
identifier: offsetAccess.nonOffsetAccessible | ||
count: 2 | ||
path: src/Listener/ForceHttps.php | ||
|
||
- | ||
message: '#^Method ForceHttpsModule\\Listener\\ForceHttps\:\:isGoingToBeForcedToHttps\(\) should return bool but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Listener/ForceHttps.php | ||
|
||
- | ||
message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#' | ||
identifier: argument.type | ||
count: 2 | ||
path: src/Listener/ForceHttps.php | ||
|
||
- | ||
message: '#^Parameter \#2 \.\.\.\$values of function sprintf expects bool\|float\|int\|string\|null, mixed given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Listener/ForceHttps.php | ||
|
||
- | ||
message: '#^Property ForceHttpsModule\\Listener\\ForceHttps\:\:\$needsWwwPrefix \(bool\) does not accept mixed\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/Listener/ForceHttps.php | ||
|
||
- | ||
message: '#^Cannot access offset ''force\-https\-module'' on mixed\.$#' | ||
identifier: offsetAccess.nonOffsetAccessible | ||
count: 1 | ||
path: src/Listener/ForceHttpsFactory.php | ||
|
||
- | ||
message: '#^Parameter \#1 \$config of class ForceHttpsModule\\Listener\\ForceHttps constructor expects array\<mixed\>, mixed given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Listener/ForceHttpsFactory.php | ||
|
||
- | ||
message: '#^Cannot access offset ''enable'' on mixed\.$#' | ||
identifier: offsetAccess.nonOffsetAccessible | ||
count: 2 | ||
path: src/Middleware/ForceHttps.php | ||
|
||
- | ||
message: '#^Cannot access offset ''value'' on mixed\.$#' | ||
identifier: offsetAccess.nonOffsetAccessible | ||
count: 2 | ||
path: src/Middleware/ForceHttps.php | ||
|
||
- | ||
message: '#^Method ForceHttpsModule\\Middleware\\ForceHttps\:\:isGoingToBeForcedToHttps\(\) should return bool but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Middleware/ForceHttps.php | ||
|
||
- | ||
message: '#^Parameter \#2 \$haystack of function in_array expects array, mixed given\.$#' | ||
identifier: argument.type | ||
count: 2 | ||
path: src/Middleware/ForceHttps.php | ||
|
||
- | ||
message: '#^Parameter \#2 \$value of method Psr\\Http\\Message\\MessageInterface\:\:withHeader\(\) expects array\<string\>\|string, mixed given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Middleware/ForceHttps.php | ||
|
||
- | ||
message: '#^Property ForceHttpsModule\\Middleware\\ForceHttps\:\:\$needsWwwPrefix \(bool\) does not accept mixed\.$#' | ||
identifier: assign.propertyType | ||
count: 1 | ||
path: src/Middleware/ForceHttps.php | ||
|
||
- | ||
message: '#^Cannot access offset ''force\-https\-module'' on mixed\.$#' | ||
identifier: offsetAccess.nonOffsetAccessible | ||
count: 1 | ||
path: src/Middleware/ForceHttpsFactory.php | ||
|
||
- | ||
message: '#^Parameter \#1 \$config of class ForceHttpsModule\\Middleware\\ForceHttps constructor expects array\<mixed\>, mixed given\.$#' | ||
identifier: argument.type | ||
count: 1 | ||
path: src/Middleware/ForceHttpsFactory.php | ||
|
||
- | ||
message: '#^Method ForceHttpsModule\\Module\:\:getConfig\(\) should return array\<mixed\> but returns mixed\.$#' | ||
identifier: return.type | ||
count: 1 | ||
path: src/Module.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,3 @@ | ||
includes: | ||
- vendor/phpstan/phpstan-webmozart-assert/extension.neon | ||
|
||
parameters: | ||
checkMissingIterableValueType: false | ||
|
||
- phpstan-baseline.neon |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.