Skip to content

Commit

Permalink
ci: add phpstan updates
Browse files Browse the repository at this point in the history
  • Loading branch information
millnut committed Aug 10, 2024
1 parent 2fd9df3 commit 5d25dca
Show file tree
Hide file tree
Showing 4 changed files with 585 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .lando.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ tooling:
composer:
service: appserver
cmd: /usr/local/bin/composer
deprecated:
sca:
service: appserver
cmd: 'bash -c "/app/bin/phpstan analyse -c /app/phpstan.neon /app/web/profiles/contrib/localgov_*/ /app/web/modules/contrib/localgov_*/ /app/web/themes/contrib/localgov_*"'
drush:
Expand Down
4 changes: 3 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@
"mglaman/phpstan-drupal": "^1.1",
"phpspec/prophecy-phpunit": "^2",
"phpstan/phpstan": "^1.5",
"phpstan/phpstan-deprecation-rules": "^1.0"
"phpstan/phpstan-deprecation-rules": "^1.0",
"phpstan/phpstan-strict-rules": "^1.5",
"spaze/phpstan-disallowed-calls": "^3.4"
},
"conflict": {
"drupal/drupal": "*"
Expand Down
Loading

0 comments on commit 5d25dca

Please sign in to comment.