Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dpfaffenbauer committed Apr 6, 2022
1 parent fcc5875 commit 03603e9
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,8 @@
"symplify/easy-coding-standard": "^9.4"
},
"conflict": {
"pimcore/pimcore": "10.2.0 || 10.2.1"
"pimcore/pimcore": "10.2.0 || 10.2.1",
"thecodingmachine/safe": "< 2.0.0"
},
"suggest": {
"dpfaffenbauer/process-manager": "Allows to start Processes from within Pimcore UI and also tracks the status."
Expand Down
1 change: 1 addition & 0 deletions phpstan-package.neon
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ parameters:
- '/Method Pimcore\\Model\\DataObject\\Concrete::getLatestVersion\(\)\(.*\)/'
- '/Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface::dispatch\(\)/'
- '/Method CoreShop\\Bundle\\ResourceBundle\\Routing\\ResourceLoader::getResolver\(\) should return Symfony\\Component\\Config\\Loader\\LoaderResolverInterface but return statement is missing./'
- '/PHPDoc type string of property CoreShop\\Bundle\\PayumBundle\\Request\\GetStatus::\$status is not covariant with PHPDoc type int of overridden property Payum\\Core\\Request\\BaseGetStatus::\$status./'

# Pimcore BC Breaks
- '/Class Pimcore\\Model\\DataObject\\ClassDefinition\\Data\\Href not found/'
Expand Down
5 changes: 5 additions & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,11 @@

<issueHandlers>
<!-- level 3 issues - slightly lazy code writing, but probably low false-negatives -->
<UndefinedDocblockClass>
<errorLevel type="suppress">
<referencedClass name="UnitEnum" />
</errorLevel>
</UndefinedDocblockClass>

<DeprecatedClass>
<errorLevel type="info">
Expand Down

0 comments on commit 03603e9

Please sign in to comment.