-
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
Kaudaj
committed
Jul 14, 2023
1 parent
4b214b2
commit 66f9a8d
Showing
4 changed files
with
29 additions
and
39 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
parameters: | ||
paths: | ||
# We consider that the extension file will be stored the folder test/phpstan | ||
# From Phpstan 0.12, paths are relative to the .neon file. | ||
- %currentWorkingDirectory%/src | ||
- %currentWorkingDirectory%/kjblocks.php | ||
excludePaths: | ||
- %currentWorkingDirectory%/src/Grid/Position | ||
reportUnmatchedIgnoredErrors: true | ||
level: 8 | ||
|
||
includes: | ||
- %currentWorkingDirectory%/tests/php/.phpstan_bootstrap.neon | ||
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon |
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,23 +1,11 @@ | ||
parameters: | ||
paths: | ||
# We consider that the extension file will be stored the folder test/phpstan | ||
# From Phpstan 0.12, paths are relative to the .neon file. | ||
- %currentWorkingDirectory%/src | ||
- %currentWorkingDirectory%/kjblocks.php | ||
excludePaths: | ||
- %currentWorkingDirectory%/src/Grid/Position | ||
ignoreErrors: | ||
- | ||
message: '#^Negated boolean expression is always false.$#' | ||
path: %currentWorkingDirectory%/src/Block.php | ||
- | ||
message: "#^Parameter \#1 \$characterCleaner of class PrestaShop\\PrestaShop\\Core\\ConstraintValidator\\TypedRegexValidator | ||
constructor expects PrestaShop\\PrestaShop\\Core\\String\\CharacterCleaner, PrestaShop\\PrestaShop\\Adapter\\Configuration | ||
given\.$#" | ||
message: '#^Parameter \#1 \$characterCleaner of class PrestaShop\\PrestaShop\\Core\\ConstraintValidator\\TypedRegexValidator constructor expects PrestaShop\\PrestaShop\\Core\\String\\CharacterCleaner, PrestaShop\\PrestaShop\\Adapter\\Configuration given\.$#' | ||
path: %currentWorkingDirectory%/src/Constraint/ConstraintValidatorFactory.php | ||
- | ||
message: '#.*Doctrine\\Persistence\\Event\\LifecycleEventArgs but does not specify its types\: TObjectManager.*#' | ||
path: %currentWorkingDirectory%/src/EventListener/BlockGroupHooksUpdater.php | ||
reportUnmatchedIgnoredErrors: true | ||
level: 8 | ||
|
||
includes: | ||
- %currentWorkingDirectory%/tests/php/.phpstan_bootstrap.neon | ||
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon | ||
- %currentWorkingDirectory%/tests/php/phpstan.dist.neon |
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,18 +1,12 @@ | ||
parameters: | ||
paths: | ||
# We consider that the extension file will be stored the folder test/phpstan | ||
# From Phpstan 0.12, paths are relative to the .neon file. | ||
- %currentWorkingDirectory%/src | ||
- %currentWorkingDirectory%/kjblocks.php | ||
excludePaths: | ||
- %currentWorkingDirectory%/src/Grid/Position | ||
ignoreErrors: | ||
- | ||
message: '#^Parameter \#1 \$configuration of class PrestaShop\\PrestaShop\\Core\\ConstraintValidator\\TypedRegexValidator constructor expects PrestaShop\\PrestaShop\\Core\\ConfigurationInterface, PrestaShop\\PrestaShop\\Core\\String\\CharacterCleaner given\.$#' | ||
path: %currentWorkingDirectory%/src/Constraint/ConstraintValidatorFactory.php | ||
- | ||
message: '#.*Doctrine\\Persistence\\Event\\LifecycleEventArgs but does not specify its types\: TObjectManager.*#' | ||
path: %currentWorkingDirectory%/src/EventListener/BlockGroupHooksUpdater.php | ||
reportUnmatchedIgnoredErrors: true | ||
level: 8 | ||
|
||
includes: | ||
- %currentWorkingDirectory%/tests/php/.phpstan_bootstrap.neon | ||
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon | ||
- %currentWorkingDirectory%/tests/php/phpstan.dist.neon | ||
|
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,18 +1,12 @@ | ||
parameters: | ||
paths: | ||
# We consider that the extension file will be stored the folder test/phpstan | ||
# From Phpstan 0.12, paths are relative to the .neon file. | ||
- %currentWorkingDirectory%/src | ||
- %currentWorkingDirectory%/kjblocks.php | ||
excludePaths: | ||
- %currentWorkingDirectory%/src/Grid/Position | ||
ignoreErrors: | ||
- | ||
message: '#^Parameter \#1 \$configuration of class PrestaShop\\PrestaShop\\Core\\ConstraintValidator\\TypedRegexValidator constructor expects PrestaShop\\PrestaShop\\Core\\ConfigurationInterface, PrestaShop\\PrestaShop\\Core\\String\\CharacterCleaner given\.$#' | ||
path: %currentWorkingDirectory%/src/Constraint/ConstraintValidatorFactory.php | ||
- | ||
message: '#.*Doctrine\\Persistence\\Event\\LifecycleEventArgs but does not specify its types\: TObjectManager.*#' | ||
path: %currentWorkingDirectory%/src/EventListener/BlockGroupHooksUpdater.php | ||
reportUnmatchedIgnoredErrors: true | ||
level: 8 | ||
|
||
includes: | ||
- %currentWorkingDirectory%/tests/php/.phpstan_bootstrap.neon | ||
- %currentWorkingDirectory%/vendor/prestashop/php-dev-tools/phpstan/ps-module-extension.neon | ||
- %currentWorkingDirectory%/tests/php/phpstan.dist.neon | ||
|