Skip to content

Commit 4b85f0a

Browse files
committed
travis: uses NCS 2
1 parent e753910 commit 4b85f0a

3 files changed

Lines changed: 11 additions & 11 deletions

File tree

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@ jobs:
2929
php: 7.1
3030
install:
3131
# Install Nette Code Checker
32-
- travis_retry composer create-project nette/code-checker temp/code-checker ~2 --no-progress
32+
- travis_retry composer create-project nette/code-checker temp/code-checker ^3 --no-progress
3333
# Install Nette Coding Standard
34-
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-progress
34+
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
3535
script:
36-
- php temp/code-checker/src/code-checker.php --short-arrays --strict-types
37-
- php temp/coding-standard/ecs check src tests examples --config tests/coding-standard.neon
36+
- php temp/code-checker/code-checker --strict-types
37+
- php temp/coding-standard/ecs check src tests examples --config tests/coding-standard.yml
3838

3939

4040
- stage: Code Coverage

tests/coding-standard.neon

Lines changed: 0 additions & 7 deletions
This file was deleted.

tests/coding-standard.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
imports:
2+
- { resource: '../temp/coding-standard/coding-standard-php71.yml' }
3+
4+
parameters:
5+
skip:
6+
PhpCsFixer\Fixer\Operator\TernaryToNullCoalescingFixer:
7+
- src/Dibi/HashMap.php # issue #260

0 commit comments

Comments
 (0)