-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
129 additions
and
27 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 |
---|---|---|
|
@@ -27,7 +27,8 @@ | |
"ext-dom": "*" | ||
}, | ||
"require-dev": { | ||
"friendsofphp/php-cs-fixer": "~2.0", | ||
"friendsofphp/php-cs-fixer": "~3.0", | ||
"phpstan/phpstan": "^1.4", | ||
"phpunit/phpunit": "^9" | ||
}, | ||
"config": { | ||
|
@@ -45,7 +46,8 @@ | |
}, | ||
"scripts": { | ||
"test": "vendor/bin/phpunit", | ||
"lint": "vendor/bin/php-cs-fixer fix --ansi --diff --verbose" | ||
"lint": "vendor/bin/php-cs-fixer fix --ansi --diff --verbose", | ||
"phpstan": "vendor/bin/phpstan analyze src --level=7" | ||
}, | ||
"support": { | ||
"email": "[email protected]" | ||
|
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,33 @@ | ||
parameters: | ||
treatPhpDocTypesAsCertain: false | ||
|
||
ignoreErrors: | ||
- | ||
message: "#^Method WsdlToPhp\\\\DomHandler\\\\AbstractAttributeHandler\\:\\:getAttribute\\(\\) should return DOMAttr but returns DOMNode\\.$#" | ||
count: 1 | ||
path: src/AbstractAttributeHandler.php | ||
|
||
- | ||
message: "#^Method WsdlToPhp\\\\DomHandler\\\\AbstractElementHandler\\:\\:getAttribute\\(\\) should return WsdlToPhp\\\\DomHandler\\\\AttributeHandler\\|null but returns WsdlToPhp\\\\DomHandler\\\\AbstractNodeHandler\\|null\\.$#" | ||
count: 1 | ||
path: src/AbstractElementHandler.php | ||
|
||
- | ||
message: "#^Method WsdlToPhp\\\\DomHandler\\\\AbstractElementHandler\\:\\:getElement\\(\\) should return DOMElement but returns DOMNode\\.$#" | ||
count: 1 | ||
path: src/AbstractElementHandler.php | ||
|
||
- | ||
message: "#^Method WsdlToPhp\\\\DomHandler\\\\AbstractElementHandler\\:\\:getChildByNameAndAttributes\\(\\) should return WsdlToPhp\\\\DomHandler\\\\ElementHandler\\|null but returns WsdlToPhp\\\\DomHandler\\\\AbstractNodeHandler\\|null\\.$#" | ||
count: 1 | ||
path: src/AbstractElementHandler.php | ||
|
||
- | ||
message: "#^Strict comparison using === between 1 and mixed will always evaluate to false.$#" | ||
count: 1 | ||
path: src/AbstractAttributeHandler.php | ||
|
||
- | ||
message: "#^Method WsdlToPhp\\\\DomHandler\\\\AbstractDomDocumentHandler\\:\\:getElementByNameAndAttributes\\(\\) should return WsdlToPhp\\\\DomHandler\\\\ElementHandler\\|null but returns WsdlToPhp\\\\DomHandler\\\\AbstractNodeHandler\\|null\\.$#" | ||
count: 1 | ||
path: src/AbstractDomDocumentHandler.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
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