Permalink
Browse files

Updated ECS to 4.7.0 (#32)

  • Loading branch information...
foxycode authored and dg committed Sep 12, 2018
1 parent 0535777 commit 9dc4d4d75dd0562d03521dd676f3945d0f8508fd
@@ -15,7 +15,7 @@ install:

script:
- composer test
- if [[ $COMPOSER_PROJECT != "" ]]; then temp/nette-coding-standard/ecs check src examples --config temp/nette-coding-standard/coding-standard-php71.neon; fi
- if [[ $COMPOSER_PROJECT != "" ]]; then temp/nette-coding-standard/ecs check src examples --config temp/nette-coding-standard/coding-standard-php71.yml; fi

notifications:
email: false
@@ -15,7 +15,7 @@ This package covers **part of [official rules](https://nette.org/en/coding-stand

When you open [`/examples`](/examples) directory, all files you'll see are checked by this coding standard. The code might look invalid compared to Nette code you know, but it's only because this tool doesn't check it (yet).

All **general rules** you can find in [`coding-standard-php56.neon`](/coding-standard-php56.neon) file.
All **general rules** you can find in [`coding-standard-php56.yml`](/coding-standard-php56.yml) file.


## Install and Use
@@ -32,13 +32,13 @@ composer create-project nette/coding-standard nette-coding-standard
Check coding standard:

```bash
nette-coding-standard/ecs check src tests --config nette-coding-standard/coding-standard-php56.neon
nette-coding-standard/ecs check src tests --config nette-coding-standard/coding-standard-php56.yml
```

And fix it:

```bash
nette-coding-standard/ecs check src tests --config nette-coding-standard/coding-standard-php56.neon --fix
nette-coding-standard/ecs check src tests --config nette-coding-standard/coding-standard-php56.yml --fix
```

### Travis Setup
@@ -49,5 +49,5 @@ install:
- composer create-project nette/coding-standard temp/nette-coding-standard
script:
- temp/nette-coding-standard/ecs check src tests --config temp/nette-coding-standard/coding-standard-php56.neon
- temp/nette-coding-standard/ecs check src tests --config temp/nette-coding-standard/coding-standard-php56.yml
```

This file was deleted.

Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 9dc4d4d

Please sign in to comment.