We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b064b2e commit 8907ba3Copy full SHA for 8907ba3
composer.json
@@ -28,6 +28,6 @@
28
"classmap": ["tests/"]
29
},
30
"scripts": {
31
- "cs:fix": "php-cs-fixer fix --config=./phpcs.php --verbose"
+ "cs:fix": "~/.composer/vendor/bin/php-cs-fixer fix --config=./phpcs.php --verbose"
32
}
33
phpcs.php
@@ -1,15 +1,11 @@
1
-<?php
2
-
3
-declare(strict_types=1);
+<?php declare(strict_types=1);
4
5
use PhpCsFixer\Finder;
6
use PhpCsFixer\Config;
7
8
$finder = Finder::create()
9
- ->in(__DIR__)
10
- ->exclude(__DIR__ . '/vendor')
11
- ->exclude(__DIR__ . '/logs')
12
- ->exclude(__DIR__ . '/build');
+ ->in(__DIR__ . '/src')
+ ->in(__DIR__ . '/tests');
13
14
$config = new Config();
15
$config->setRules([
0 commit comments