From bdd84f262297ebf8ea04eb4f4bb032b9a60ce7be Mon Sep 17 00:00:00 2001 From: jurgenhaas <juergen.haas@lakedrops.com> Date: Thu, 12 Oct 2023 09:25:35 +0200 Subject: [PATCH] Fix phpstan ahoy script --- ahoy.test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ahoy.test.yml b/ahoy.test.yml index 60eaabd..05ed015 100644 --- a/ahoy.test.yml +++ b/ahoy.test.yml @@ -56,7 +56,7 @@ commands: module=$1 shift config=/var/www/html/vendor/lakedrops/drupal-development-environment/defaults/phpstan.neon - if [[ -f web/modules/contrib/$module/.phpstan.neon ]]; then config=/var/www/html/web/modules/contrib/$module/.phpstan.neon; fi + if [[ -f web/modules/contrib/$module/phpstan.neon ]]; then config=/var/www/html/web/modules/contrib/$module/phpstan.neon; fi ahoy d4d exec vendor/bin/phpstan analyze --configuration=$config web/modules/contrib/$module $@ usage: PHPStan tests by module phplintmodule: -- GitLab