Skip to content

Commit

Permalink
fix: Upgrade php cs fixer to latest
Browse files Browse the repository at this point in the history
  • Loading branch information
DannyvdSluijs committed Feb 11, 2025
1 parent afee666 commit 971f205
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ coverage
.project
.settings
.php_cs
.php_cs.cache
.php-cs-fixer.cache
composer.lock
docs-api
phpunit.xml
Expand Down
2 changes: 1 addition & 1 deletion .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

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

/* Based on ^2.1 of php-cs-fixer */
$config
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"icecave/parity": "^3.0"
},
"require-dev": {
"friendsofphp/php-cs-fixer": "~2.2.20 || ~2.19.0",
"friendsofphp/php-cs-fixer": "3.3.0",
"json-schema/json-schema-test-suite": "1.2.0",
"phpunit/phpunit": "^8.5",
"phpspec/prophecy": "^1.19",
Expand Down

0 comments on commit 971f205

Please sign in to comment.