-
Notifications
You must be signed in to change notification settings - Fork 14
[FIX] CI - GH Actions #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
3 commits
Select commit
Hold shift + click to select a range
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,197 @@ | ||
| parameters: | ||
| ignoreErrors: | ||
| - | ||
| message: "#^Method Mouf\\\\Database\\\\QueryWriter\\\\QueryResult\\:\\:val\\(\\) should return array but returns Mouf\\\\Database\\\\QueryWriter\\\\ResultSet\\.$#" | ||
| count: 1 | ||
| path: src/Mouf/Database/QueryWriter/QueryResult.php | ||
|
|
||
| - | ||
| message: "#^Method Mouf\\\\Database\\\\QueryWriter\\\\Utils\\\\DbHelper\\:\\:getAll\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/Mouf/Database/QueryWriter/Utils/DbHelper.php | ||
|
|
||
| - | ||
| message: "#^Parameter \\#1 \\$rightOperand of method SQLParser\\\\Node\\\\AbstractInListOperator\\:\\:refactorParameterToExpression\\(\\) expects SQLParser\\\\Node\\\\NodeInterface, array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\|string given\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/AbstractInListOperator.php | ||
|
|
||
| - | ||
| message: "#^Cannot access offset 0 on array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/AbstractInListOperator.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\AbstractTwoOperandsOperator\\:\\:setLeftOperand\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/AbstractTwoOperandsOperator.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\AbstractTwoOperandsOperator\\:\\:setRightOperand\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/AbstractTwoOperandsOperator.php | ||
|
|
||
| - | ||
| message: "#^Cannot call method walk\\(\\) on array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\|string\\.$#" | ||
| count: 2 | ||
| path: src/SQLParser/Node/AbstractTwoOperandsOperator.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\Between\\:\\:setLeftOperand\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Between.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\Between\\:\\:setMinValueOperand\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Between.php | ||
|
|
||
| - | ||
| message: "#^Cannot call method walk\\(\\) on array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\|string\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Between.php | ||
|
|
||
| - | ||
| message: "#^Cannot call method walk\\(\\) on array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\|string\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/CaseOperation.php | ||
|
|
||
| - | ||
| message: "#^Cannot access offset mixed on array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\.$#" | ||
| count: 2 | ||
| path: src/SQLParser/Node/Expression.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\NodeFactory\\:\\:toObject\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Parameter \\#1 \\$refClause of method SQLParser\\\\Node\\\\SubQuery\\:\\:setRefClause\\(\\) expects array\\<SQLParser\\\\Node\\\\NodeInterface\\>, array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface given\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\NodeFactory\\:\\:buildFromSubtree\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\NodeFactory\\:\\:buildFromSubtree\\(\\) has parameter \\$subTree with no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\NodeFactory\\:\\:mapArrayToNodeObjectList\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Property SQLParser\\\\Node\\\\NodeFactory\\:\\:\\$PRECEDENCE has no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Property SQLParser\\\\Node\\\\NodeFactory\\:\\:\\$OPERATOR_TO_CLASS has no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Parameter \\#1 \\$var of function count expects array\\|Countable, array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface given\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Parameter \\#2 \\.\\.\\.\\$args of function array_merge expects array, array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface given\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\NodeFactory\\:\\:array_map_deep\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\NodeFactory\\:\\:array_map_deep\\(\\) has parameter \\$array with no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\NodeFactory\\:\\:array_map_deep\\(\\) has parameter \\$callback with no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/NodeFactory.php | ||
|
|
||
| - | ||
| message: "#^Property SQLParser\\\\Node\\\\Operator\\:\\:\\$value has no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Operator.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\Operator\\:\\:getValue\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Operator.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Node\\\\Operator\\:\\:setValue\\(\\) has no return typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Operator.php | ||
|
|
||
| - | ||
| message: "#^Strict comparison using \\=\\=\\= between mixed and null will always evaluate to false\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Parameter.php | ||
|
|
||
| - | ||
| message: "#^Argument of an invalid type array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface supplied for foreach, only iterables are supported\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/SimpleFunction.php | ||
|
|
||
| - | ||
| message: "#^Cannot access offset mixed on array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\.$#" | ||
| count: 2 | ||
| path: src/SQLParser/Node/SimpleFunction.php | ||
|
|
||
| - | ||
| message: "#^Cannot access offset mixed on array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\.$#" | ||
| count: 2 | ||
| path: src/SQLParser/Node/Table.php | ||
|
|
||
| - | ||
| message: "#^Elseif condition is always true\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Table.php | ||
|
|
||
| - | ||
| message: "#^Property SQLParser\\\\Node\\\\Table\\:\\:\\$refClause \\(array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface\\) does not accept null\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Node/Table.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Query\\\\Select\\:\\:overwriteInstanceDescriptor\\(\\) has parameter \\$name with no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Query/Select.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Query\\\\Select\\:\\:walkChildren\\(\\) has parameter \\$children with no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Query/Select.php | ||
|
|
||
| - | ||
| message: "#^Argument of an invalid type array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface supplied for foreach, only iterables are supported\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Query/StatementFactory.php | ||
|
|
||
| - | ||
| message: "#^Cannot access offset mixed on \\(array\\<SQLParser\\\\Node\\\\NodeInterface\\>&nonEmpty\\)\\|SQLParser\\\\Node\\\\NodeInterface\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Query/StatementFactory.php | ||
|
|
||
| - | ||
| message: "#^Parameter \\#1 \\$columns of method SQLParser\\\\Query\\\\Select\\:\\:setColumns\\(\\) expects array\\<SQLParser\\\\Node\\\\NodeInterface\\>, array\\<SQLParser\\\\Node\\\\NodeInterface\\>\\|SQLParser\\\\Node\\\\NodeInterface given\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Query/StatementFactory.php | ||
|
|
||
| - | ||
| message: "#^Method SQLParser\\\\Query\\\\Union\\:\\:overwriteInstanceDescriptor\\(\\) has parameter \\$name with no typehint specified\\.$#" | ||
| count: 1 | ||
| path: src/SQLParser/Query/Union.php | ||
|
|
This file contains hidden or 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,7 +1,14 @@ | ||
| includes: | ||
| - phpstan-baseline.neon | ||
|
|
||
| parameters: | ||
| level: 7 | ||
| paths: | ||
| - src | ||
| inferPrivatePropertyTypeFromConstructor: true | ||
| checkMissingIterableValueType: false | ||
| checkGenericClassInNonGenericObjectType: false | ||
| ignoreErrors: | ||
| - "#Mouf\\\\MoufManager#" | ||
| - "#Mouf\\\\MoufInstanceDescriptor#" | ||
| - '#Method Mouf\\Database\\QueryWriter\\Utils\\FindParametersService::findParameters\(\) should return array<string> but returns array<int, int\|string>#' | ||
| - '#Method Mouf\\Database\\QueryWriter\\Utils\\FindParametersService::findParameters\(\) should return array<string> but returns array<int, int\|string>#' |
This file contains hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If it is >=7.4.0, it is obviously compatible with ^8 :)