Skip to content

Commit 1788f68

Browse files
Add ECS script to composer.json and update testing.md. (#11)
1 parent 8d8e1e4 commit 1788f68

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

composer.json

+1
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@
4242
},
4343
"scripts": {
4444
"check-dependencies": "composer-require-checker",
45+
"ecs": "ecs check",
4546
"phpstan": "phpstan",
4647
"test": "phpunit"
4748
},

docs/testing.md

+9
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ To run the checker, execute the following command:
1010
composer run check-dependencies
1111
```
1212

13+
## Easy coding standard
14+
15+
The code is checked with [Easy Coding Standard](https://github.com/easy-coding-standard/easy-coding-standard) and
16+
[PHP CS Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer). To run it:
17+
18+
```shell
19+
composer run ecs
20+
```
21+
1322
## Static analysis
1423

1524
The code is statically analyzed with [Phpstan](https://phpstan.org/). To run static analysis:

0 commit comments

Comments
 (0)