Skip to content

Commit 8907ba3

Browse files
committed
code style fixes
1 parent b064b2e commit 8907ba3

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@
2828
"classmap": ["tests/"]
2929
},
3030
"scripts": {
31-
"cs:fix": "php-cs-fixer fix --config=./phpcs.php --verbose"
31+
"cs:fix": "~/.composer/vendor/bin/php-cs-fixer fix --config=./phpcs.php --verbose"
3232
}
3333
}

phpcs.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
<?php
2-
3-
declare(strict_types=1);
1+
<?php declare(strict_types=1);
42

53
use PhpCsFixer\Finder;
64
use PhpCsFixer\Config;
75

86
$finder = Finder::create()
9-
->in(__DIR__)
10-
->exclude(__DIR__ . '/vendor')
11-
->exclude(__DIR__ . '/logs')
12-
->exclude(__DIR__ . '/build');
7+
->in(__DIR__ . '/src')
8+
->in(__DIR__ . '/tests');
139

1410
$config = new Config();
1511
$config->setRules([

0 commit comments

Comments
 (0)