Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use specific prestashop version for phpstan
- Loading branch information
1 parent
59db472
commit 31dbc9e
Showing
6 changed files
with
98 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
parameters: | ||
reportUnmatchedIgnoredErrors: false | ||
bootstrap: /var/www/html/modules/ps_facetedsearch/tests/php/phpstan/bootstrap.php | ||
paths: | ||
- /var/www/html/modules/ps_facetedsearch/src | ||
ignoreErrors: | ||
# module specific | ||
- '~Constant _THEME_COL_DIR_ not found.~' | ||
- '~Iterating over an object of an unknown class mysqli_result\.~' | ||
- '~Access to offset mixed on an unknown class mysqli_result\.~' | ||
- '~Parameter #1 \$master of static method DbCore::getInstance\(\) expects bool, int given\.~' | ||
- '~Parameter #1 \$string of method PrestaShop\\PrestaShop\\Core\\Product\\Search\\URLFragmentSerializer::unserialize\(\) expects string, array given\.~' | ||
- '~Parameter #\d+ \$(.+?) of class Category constructor expects null, int given\.~' | ||
- '~constant NUMBERING_SYSTEM_LATIN on an unknown class~' | ||
- '~PrestaShopBundle\\Form\\Admin\\Type\\(TranslatableType|SwitchType) not found~' | ||
|
||
level: 5 |
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,17 @@ | ||
parameters: | ||
reportUnmatchedIgnoredErrors: false | ||
bootstrap: /var/www/html/modules/ps_facetedsearch/tests/php/phpstan/bootstrap.php | ||
paths: | ||
- /var/www/html/modules/ps_facetedsearch/src | ||
ignoreErrors: | ||
# module specific | ||
- '~Constant _THEME_COL_DIR_ not found.~' | ||
- '~Iterating over an object of an unknown class mysqli_result\.~' | ||
- '~Access to offset mixed on an unknown class mysqli_result\.~' | ||
- '~Parameter #1 \$master of static method DbCore::getInstance\(\) expects bool, int given\.~' | ||
- '~Parameter #1 \$string of method PrestaShop\\PrestaShop\\Core\\Product\\Search\\URLFragmentSerializer::unserialize\(\) expects string, array given\.~' | ||
- '~Parameter #\d+ \$(.+?) of class Category constructor expects null, int given\.~' | ||
- '~constant NUMBERING_SYSTEM_LATIN on an unknown class~' | ||
- '~PrestaShopBundle\\Form\\Admin\\Type\\(TranslatableType|SwitchType) not found~' | ||
|
||
level: 5 |
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,17 @@ | ||
parameters: | ||
reportUnmatchedIgnoredErrors: false | ||
bootstrap: /var/www/html/modules/ps_facetedsearch/tests/php/phpstan/bootstrap.php | ||
paths: | ||
- /var/www/html/modules/ps_facetedsearch/src | ||
ignoreErrors: | ||
# module specific | ||
- '~Constant _THEME_COL_DIR_ not found.~' | ||
- '~Iterating over an object of an unknown class mysqli_result\.~' | ||
- '~Access to offset mixed on an unknown class mysqli_result\.~' | ||
- '~Parameter #1 \$master of static method DbCore::getInstance\(\) expects bool, int given\.~' | ||
- '~Parameter #1 \$string of method PrestaShop\\PrestaShop\\Core\\Product\\Search\\URLFragmentSerializer::unserialize\(\) expects string, array given\.~' | ||
- '~Parameter #\d+ \$(.+?) of class Category constructor expects null, int given\.~' | ||
- '~constant NUMBERING_SYSTEM_LATIN on an unknown class~' | ||
- '~PrestaShopBundle\\Form\\Admin\\Type\\(TranslatableType|SwitchType) not found~' | ||
|
||
level: 5 |
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,16 @@ | ||
parameters: | ||
reportUnmatchedIgnoredErrors: false | ||
bootstrap: /var/www/html/modules/ps_facetedsearch/tests/php/phpstan/bootstrap.php | ||
paths: | ||
- /var/www/html/modules/ps_facetedsearch/src | ||
ignoreErrors: | ||
# module specific | ||
- '~Constant _THEME_COL_DIR_ not found.~' | ||
- '~Iterating over an object of an unknown class mysqli_result\.~' | ||
- '~Access to offset mixed on an unknown class mysqli_result\.~' | ||
- '~Parameter #1 \$master of static method DbCore::getInstance\(\) expects bool, int given\.~' | ||
- '~Parameter #1 \$string of method PrestaShop\\PrestaShop\\Core\\Product\\Search\\URLFragmentSerializer::unserialize\(\) expects string, array given\.~' | ||
- '~Parameter #\d+ \$(.+?) of class Category constructor expects null, int given\.~' | ||
- '~PrestaShopBundle\\Form\\Admin\\Type\\(TranslatableType|SwitchType) not found~' | ||
|
||
level: 5 |
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,16 @@ | ||
parameters: | ||
reportUnmatchedIgnoredErrors: false | ||
bootstrap: /var/www/html/modules/ps_facetedsearch/tests/php/phpstan/bootstrap.php | ||
paths: | ||
- /var/www/html/modules/ps_facetedsearch/src | ||
ignoreErrors: | ||
# module specific | ||
- '~Constant _THEME_COL_DIR_ not found.~' | ||
- '~Iterating over an object of an unknown class mysqli_result\.~' | ||
- '~Access to offset mixed on an unknown class mysqli_result\.~' | ||
- '~Parameter #1 \$master of static method DbCore::getInstance\(\) expects bool, int given\.~' | ||
- '~Parameter #1 \$string of method PrestaShop\\PrestaShop\\Core\\Product\\Search\\URLFragmentSerializer::unserialize\(\) expects string, array given\.~' | ||
- '~Parameter #\d+ \$(.+?) of class Category constructor expects null, int given\.~' | ||
- '~PrestaShopBundle\\Form\\Admin\\Type\\(TranslatableType|SwitchType) not found~' | ||
|
||
level: 5 |