Skip to content
Snippets Groups Projects
Commit 55b7619b authored by jurgenhaas's avatar jurgenhaas
Browse files

Merge branch 'develop' into 'main'

Merging develop into main

See merge request !7
parents 42049cc5 3809f7db
No related branches found
No related tags found
1 merge request!7Merging develop into main
Pipeline #757573 passed
......@@ -54,5 +54,13 @@ commands:
cmd: |
module=$1
shift
ahoy d4d exec vendor/bin/phpstan analyze --configuration=/var/www/html/tests/phpstan.neon web/modules/contrib/$module $@
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
ahoy d4d exec vendor/bin/phpstan analyze --configuration=$config web/modules/contrib/$module $@
usage: PHPStan tests by module
phplintmodule:
cmd: |
module=$1
shift
ahoy d4d exec vendor/bin/parallel-lint web/modules/contrib/$module $@
usage: PHP lint tests by module
parameters:
level: 4
reportUnmatchedIgnoredErrors: false
customRulesetUsed: true
checkMissingIterableValueType: false
fileExtensions:
- module
- theme
- inc
- install
- profile
- engine
ignoreErrors:
- '#Plugin definitions cannot be altered.#'
excludePaths:
- '*/tests/*.php'
includes:
- /var/www/html/vendor/mglaman/phpstan-drupal/extension.neon
- /var/www/html/vendor/phpstan/phpstan-deprecation-rules/rules.neon
parameters:
level: 4
reportUnmatchedIgnoredErrors: false
customRulesetUsed: true
checkMissingIterableValueType: false
fileExtensions:
- module
- theme
- inc
- install
- profile
- engine
ignoreErrors:
- '#Plugin definitions cannot be altered.#'
excludePaths:
- '*/tests/*.php'
includes:
- /var/www/html/vendor/mglaman/phpstan-drupal/extension.neon
- /var/www/html/vendor/phpstan/phpstan-deprecation-rules/rules.neon
- /var/www/html/vendor/lakedrops/drupal-development-environment/defaults/phpstan.neon
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment