Skip to content

Commit ec0eab0

Browse files
fix: Upgrade php cs fixer to latest (#783)
Fixes #598
1 parent f84193e commit ec0eab0

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-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

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1111

1212
### Fixed
1313
- Add required permissions for welcome action ([#789](https://github.com/jsonrainbow/json-schema/pull/789))
14+
- Upgrade php cs fixer to latest ([#783](https://github.com/jsonrainbow/json-schema/pull/783))
1415

1516
### Changed
1617
- Used PHPStan's int-mask-of<T> type where applicable ([#779](https://github.com/jsonrainbow/json-schema/pull/779))

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)