Skip to content

Commit acb4d94

Browse files
DannyvdSluijsreedy
authored andcommitted
fix: Upgrade php cs fixer to latest (#783)
Fixes #598
1 parent 7e81a49 commit acb4d94

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ coverage
66
.project
77
.settings
88
.php_cs
9-
.php_cs.cache
9+
.php-cs-fixer.cache
1010
composer.lock
1111
docs-api
1212
phpunit.xml

.php_cs.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$finder = new PhpCsFixer\Finder();
44
$config = new PhpCsFixer\Config('json-schema');
5-
$finder->in(__DIR__);
5+
$finder->in([__DIR__ . '/src', __DIR__ . '/tests']);
66

77
/* Based on ^2.1 of php-cs-fixer */
88
$config

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"php": ">=7.1"
3131
},
3232
"require-dev": {
33-
"friendsofphp/php-cs-fixer": "~2.2.20||~2.15.1",
33+
"friendsofphp/php-cs-fixer": "3.3.0",
3434
"json-schema/json-schema-test-suite": "1.2.0",
3535
"phpunit/phpunit": "^4.8.35"
3636
},

0 commit comments

Comments
 (0)