Skip to content

Commit

Permalink
Merge pull request #4 from ilovepdf/feature/add_phpstan
Browse files Browse the repository at this point in the history
add phpstan
  • Loading branch information
diegocrombie authored Oct 12, 2023
2 parents 5052ccc + 4daa4a5 commit f8a4254
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
3 changes: 3 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
"@phpcs",
"@phpcbf"
],
"stan": [
"vendor/bin/phpstan analyse --memory-limit=-1 --error-format=table > ../../../phpstan-report-iloveimg.txt"
],
"phpcs": [
"phpcs -s --ignore=*/vendor/*,*/lib/*,*/.github/* --report-file=../../../condesniffer-report-iloveimg.txt ./"
],
Expand Down
10 changes: 10 additions & 0 deletions phpstan.neon
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
parameters:
level: 5
paths:
- ./
excludePaths:
analyseAndScan:
- vendor
- node_modules
analyse:
- iloveimg-php

0 comments on commit f8a4254

Please sign in to comment.