Add run-tests.sh
This commit is contained in:
parent
cb781a8583
commit
418b056cd2
18
bin/run-tests.sh
Executable file
18
bin/run-tests.sh
Executable file
|
@ -0,0 +1,18 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
|
||||||
|
symfony php vendor/bin/phpcs -n \
|
||||||
|
--standard="Drupal,DrupalPractice" \
|
||||||
|
--extensions="php,module,inc,install,test,profile,theme" \
|
||||||
|
--ignore=*/tests/* \
|
||||||
|
--exclude="Drupal.Commenting.ClassComment,Drupal.Commenting.FunctionComment" \
|
||||||
|
web/modules/custom
|
||||||
|
|
||||||
|
# symfony php vendor/bin/phpcs -ns \
|
||||||
|
# --standard="Drupal,DrupalPractice" \
|
||||||
|
# --extensions="php,module,inc,install,test,profile,theme" \
|
||||||
|
# --exclude="Drupal.Commenting.ClassComment,Drupal.Commenting.DocComment,Drupal.Commenting.FunctionComment,Drupal.NamingConventions.ValidFunctionName" \
|
||||||
|
# web/modules/custom/**/tests
|
||||||
|
|
||||||
|
vendor/bin/phpstan analyze
|
Loading…
Reference in a new issue