-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bumping travis php versions, composer deps, fixing phpstan errors
- Loading branch information
Showing
6 changed files
with
54 additions
and
23 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 |
---|---|---|
@@ -1,8 +1,28 @@ | ||
parameters: | ||
level: 7 | ||
paths: | ||
- ./ | ||
excludes_analyse: | ||
- %rootDir%/../../../tests/* | ||
- %rootDir%/../../../vendor/* | ||
bootstrap: %rootDir%/../../../phpstan-bootstrap.php | ||
ignoreErrors: | ||
- '#Casting to string something that.s already string\.#' | ||
- '#Strict comparison using !== between null and array\|Zend_Config will always evaluate to true\.#' | ||
# These seem like they need to be updated in phpstan (function signature stuff) | ||
- '#Parameter \#3 \$severe of function monitor_custom_event expects severe, int given\.#' | ||
- '#Parameter \#4 \$user_data of function monitor_custom_event expects user_data, array given\.#' | ||
# Zend_Config has an __isset overload defined so that these array-like calls will work | ||
- '#Cannot assign offset .+ to .?array.?\|Zend_Config\.#' | ||
# call_user_func does accept an array as the callable | ||
- '#Parameter \#1 \$function of function call_user_func expects callable\(\): mixed, array\(string, .factory.\) given\.#' | ||
- | ||
message: '#Parameter \#2 \$priority of method Zend_Log::log\(\) expects int, int\|string\|false given\.#' | ||
path: %currentWorkingDirectory%/src/Zend/Log.php | ||
- | ||
message: '#Cannot assign offset int to array\|bool\.#' | ||
path: %currentWorkingDirectory%/src/Zend/Log.php | ||
- | ||
message: '#Property Zend_Log_Writer_Stream::\$_stream \(resource\|null\) does not accept resource\|false\.#' | ||
path: %currentWorkingDirectory%/src/Zend/Log/Writer/Stream.php | ||
- | ||
message: '#Parameter \#1 \$fp of function fwrite expects resource, resource\|null given\.#' | ||
path: %currentWorkingDirectory%/src/Zend/Log/Writer/Stream.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 |
---|---|---|
|
@@ -89,7 +89,7 @@ class Zend_Log | |
|
||
/** | ||
* | ||
* @var callable | ||
* @var callable|null | ||
*/ | ||
protected $_origErrorHandler = null; | ||
|
||
|
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