Skip to content

Commit

Permalink
chore: add errors to ignore to phpstan
Browse files Browse the repository at this point in the history
  • Loading branch information
guillaume-infernal committed Jul 31, 2023
1 parent f4ed658 commit ce0eeb4
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions composer.json
Expand Up @@ -49,6 +49,7 @@
"scripts": {
"post-autoload-dump": "@php ./vendor/bin/testbench package:discover --ansi",
"analyse": "vendor/bin/phpstan analyse",
"analyse-with-baseline": "vendor/bin/phpstan analyse --generate-baseline",
"test": "vendor/bin/pest",
"test-coverage": "vendor/bin/pest --coverage",
"format": "vendor/bin/pint"
Expand Down
5 changes: 5 additions & 0 deletions phpstan-baseline.neon
Expand Up @@ -19,3 +19,8 @@ parameters:
message: "#^Expression \"self\\:\\:SUCCESS\" on a separate line does not do anything\\.$#"
count: 1
path: src/Commands/GenerateResponsiveImages.php

-
message: "#^Function ressource_path not found\\.$#"
count: 1
path: src/ResponsiveImageCraftServiceProvider.php

0 comments on commit ce0eeb4

Please sign in to comment.