Skip to content

Commit

Permalink
travis: uses NCS 2
Browse files Browse the repository at this point in the history
  • Loading branch information
dg committed Sep 13, 2018
1 parent 2286131 commit 5cf51a0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ jobs:
# Install Nette Code Checker
- travis_retry composer create-project nette/code-checker temp/code-checker ^3.0 --no-progress
# Install Nette Coding Standard
- travis_retry composer create-project nette/coding-standard temp/coding-standard --no-progress
- travis_retry composer create-project nette/coding-standard temp/coding-standard ^2 --no-progress
script:
- php temp/code-checker/src/code-checker.php --strict-types -i "tests/*/fixtures*" -i tests/Runner/find-tests
- php temp/coding-standard/ecs check src tests --config tests/coding-standard.neon;
- php temp/coding-standard/ecs check src tests --config tests/coding-standard.yml


- stage: Code Coverage
Expand Down
8 changes: 0 additions & 8 deletions tests/coding-standard.neon

This file was deleted.

8 changes: 8 additions & 0 deletions tests/coding-standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
imports:
- { resource: '../temp/coding-standard/coding-standard-php71.yml' }

parameters:
skip:
PHP_CodeSniffer\Standards\PSR1\Sniffs\Methods\CamelCapsMethodNameSniff:
- src/Framework/FileMock.php
- src/Framework/FileMutator.php

0 comments on commit 5cf51a0

Please sign in to comment.