From 492e722bb2d09e3fea362bb5a8cf969f87f7318b Mon Sep 17 00:00:00 2001 From: David Grudl Date: Thu, 29 Oct 2020 01:11:45 +0100 Subject: [PATCH] updated nette/coding-standard --- .github/workflows/coding-style.yml | 10 +++++----- .travis.yml | 5 ++--- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/coding-style.yml b/.github/workflows/coding-style.yml index 4a708c531..39afa89a3 100644 --- a/.github/workflows/coding-style.yml +++ b/.github/workflows/coding-style.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: shivammathur/setup-php@v1 + - uses: shivammathur/setup-php@v2 with: - php-version: 7.4 + php-version: 7.1 coverage: none - run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress @@ -22,10 +22,10 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - - uses: shivammathur/setup-php@v1 + - uses: shivammathur/setup-php@v2 with: php-version: 7.4 coverage: none - - run: composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress - - run: php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml + - run: composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress + - run: php temp/coding-standard/ecs check diff --git a/.travis.yml b/.travis.yml index c32961fa8..340b89ec2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,6 @@ after_failure: jobs: include: - name: Nette Code Checker - php: 7.4 install: - travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress script: @@ -32,9 +31,9 @@ jobs: - name: Nette Coding Standard php: 7.4 install: - - travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress + - travis_retry composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress script: - - php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml + - php temp/coding-standard/ecs check - stage: Static Analysis (informative)