Skip to content

Commit db74997

Browse files
committed
updated nette/coding-standard
1 parent 7d7fce8 commit db74997

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/coding-style.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: shivammathur/setup-php@v2
1212
with:
13-
php-version: 7.4
13+
php-version: 7.1
1414
coverage: none
1515

1616
- run: composer create-project nette/code-checker temp/code-checker ^3 --no-progress
@@ -27,5 +27,5 @@ jobs:
2727
php-version: 7.4
2828
coverage: none
2929

30-
- run: composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
31-
- run: php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
30+
- run: composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
31+
- run: php temp/coding-standard/ecs check

.travis.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ jobs:
3131

3232

3333
- name: Nette Code Checker
34-
php: 7.4
3534
install:
3635
- travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
3736
script:
@@ -41,9 +40,9 @@ jobs:
4140
- name: Nette Coding Standard
4241
php: 7.4
4342
install:
44-
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
43+
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
4544
script:
46-
- php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
45+
- php temp/coding-standard/ecs check
4746

4847

4948
- stage: Static Analysis (informative)

0 commit comments

Comments
 (0)