fix: Upgrade php cs fixer to latest (#783)

Fixes #598
This commit is contained in:
Danny van der Sluijs 2025-02-21 10:50:06 +01:00 committed by GitHub
parent f84193ea05
commit ec0eab03f2
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 4 additions and 3 deletions

2
.gitignore vendored
View File

@ -6,7 +6,7 @@ coverage
.project
.settings
.php_cs
.php_cs.cache
.php-cs-fixer.cache
composer.lock
docs-api
phpunit.xml

View File

@ -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

View File

@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
### Fixed
- Add required permissions for welcome action ([#789](https://github.com/jsonrainbow/json-schema/pull/789))
- Upgrade php cs fixer to latest ([#783](https://github.com/jsonrainbow/json-schema/pull/783))
### Changed
- Used PHPStan's int-mask-of<T> type where applicable ([#779](https://github.com/jsonrainbow/json-schema/pull/779))

View File

@ -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",