Skip to content

Commit 0ae8fe6

Browse files
committed
fix: Upgrade php cs fixer to latest
1 parent 7660882 commit 0ae8fe6

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-fixer.dist.php

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
@@ -33,7 +33,7 @@
3333
"icecave/parity": "^3.0"
3434
},
3535
"require-dev": {
36-
"friendsofphp/php-cs-fixer": "~2.2.20 || ~2.19.0",
36+
"friendsofphp/php-cs-fixer": "3.3.0",
3737
"json-schema/json-schema-test-suite": "1.2.0",
3838
"phpunit/phpunit": "^8.5",
3939
"phpspec/prophecy": "^1.19",

0 commit comments

Comments
 (0)