Skip to content

Commit 31e8c93

Browse files
committed
travis: uses NCS 2
1 parent e700fa5 commit 31e8c93

3 files changed

Lines changed: 10 additions & 10 deletions

File tree

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ jobs:
2929
# Install Nette Code Checker
3030
- travis_retry composer create-project nette/code-checker temp/code-checker ^3.0 --no-progress
3131
# Install Nette Coding Standard
32-
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-progress
32+
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
3333
# Install new Node.js and Eslint
3434
- . $HOME/.nvm/nvm.sh
3535
- nvm install stable
3636
- nvm use stable
3737
- npm install eslint
3838
script:
39-
- php temp/code-checker/src/code-checker.php --strict-types -i tests/Tracy/fixtures -i examples/assets
40-
- php temp/coding-standard/ecs check src tests examples tools --config tests/coding-standard.neon
39+
- php temp/code-checker/code-checker --strict-types -i tests/Tracy/fixtures -i examples/assets
40+
- php temp/coding-standard/ecs check src tests examples tools --config tests/coding-standard.yml
4141
- ./node_modules/.bin/eslint "src/**/*.js"
4242

4343

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\ClassNotation\OrderedClassElementsFixer:
7+
- src/Tracy/Debugger.php

0 commit comments

Comments
 (0)