Skip to content

Commit 8c805a5

Browse files
committed
updated nette/coding-standard
1 parent 99aa58c commit 8c805a5

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/coding-style.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
- uses: actions/checkout@v2
1111
- uses: shivammathur/setup-php@v1
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

+2-3
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,6 @@ jobs:
3333

3434

3535
- name: Nette Code Checker
36-
php: 7.4
3736
install:
3837
- travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
3938
script:
@@ -43,9 +42,9 @@ jobs:
4342
- name: Nette Coding Standard
4443
php: 7.4
4544
install:
46-
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
45+
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^3 --no-progress
4746
script:
48-
- php temp/coding-standard/ecs check src tests --config temp/coding-standard/coding-standard-php71.yml
47+
- php temp/coding-standard/ecs check
4948

5049

5150
- stage: Static Analysis (informative)

0 commit comments

Comments
 (0)