Skip to content
Permalink
Browse files

tests: Enabled PHP CodeSniffer and changed Psalm options.

  • Loading branch information...
tarlepp committed May 1, 2019
1 parent 18ba7b2 commit d3c3443cfd2a8ac01ff60a9108db993011823c73
Showing with 2 additions and 2 deletions.
  1. +1 −1 .travis.yml
  2. +1 −1 Makefile
@@ -70,7 +70,7 @@ before_script:
- if [[ $COVERAGE == true ]]; then ./cc-test-reporter before-build; fi

script:
# - make phpcs
- make phpcs
- make ecs
- make psalm
# - make phpstan
@@ -170,7 +170,7 @@ ecs-fix: ## Runs The Easiest Way to Use Any Coding Standard to fix issues
psalm: ## Runs Psalm static analysis tool
@echo "\033[32mRunning Psalm - A static analysis tool for PHP\033[39m"
@php ./vendor/bin/psalm --version
@php ./vendor/bin/psalm --no-cache --shepherd
@php ./vendor/bin/psalm --no-cache --shepherd --stats --report=./build/psalm.json
###< psalm ###

###> phpstan ###

0 comments on commit d3c3443

Please sign in to comment.
You can’t perform that action at this time.