Skip to content

Commit 84607f2

Browse files
committed
Added cs testing script to composer.json
1 parent eba19a1 commit 84607f2

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,12 @@
2929
"psr-4": {
3030
"Polymorphine\\Message\\Tests\\": "tests/"
3131
}
32+
},
33+
"scripts": {
34+
"test-cs": [
35+
"vendor/bin/php-cs-fixer --dry-run -v --config=cs-fixer.php.dist --path-mode=intersection fix src tests",
36+
"vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml src",
37+
"vendor/bin/phpcs --extensions=php --standard=vendor/polymorphine/dev/phpcs.xml --ignore=*/CodeSamples/* tests"
38+
]
3239
}
3340
}

0 commit comments

Comments
 (0)