mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2025-01-08 08:26:10 +01:00

[Dependabot] Update friendsofphp/php-cs-fixer requirement from 3.65.0 to 3.66.0 (#1533)

* [Dependabot] Update friendsofphp/php-cs-fixer requirement

Updates the requirements on [friendsofphp/php-cs-fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) to permit the latest version.
- [Release notes](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/releases)
- [Changelog](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/compare/v3.65.0...v3.66.0)

---
updated-dependencies:
- dependency-name: friendsofphp/php-cs-fixer
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>

* [BUGFIX] Make PHP-CS-Fixer >= 3.66 compatible with PHPUnit 9.x

@see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8337

---------

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Oliver Klee <typo3-coding@oliverklee.de>
This commit is contained in:
dependabot[bot] 2024-12-30 14:07:23 +00:00 committed by GitHub
parent ab78468925
commit 1766a46f98
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 9 additions and 1 deletions

View file

@ -4,6 +4,14 @@ use PhpCsFixer\Runner\Parallel\ParallelConfigFactory;
use TYPO3\CodingStandards\CsFixerConfig;
$config = CsFixerConfig::create();
// This is required as long as we are on PHPUnit 9.x. It can be removed after the switch to PHPUnit 10.x.
// @see https://github.com/PHP-CS-Fixer/PHP-CS-Fixer/issues/8337
$config->setRules(
[
'php_unit_test_case_static_method_calls' => ['call_type' => 'self', 'methods' => ['createStub' => 'this']],
]
);
// @TODO 4.0 no need to call this manually
$config->setParallelConfig(ParallelConfigFactory::detect());
$config->getFinder()->in('Classes')->in('Configuration')->in('Tests');

View file

@ -48,7 +48,7 @@
},
"require-dev": {
"ergebnis/composer-normalize": "2.45.0",
"friendsofphp/php-cs-fixer": "3.65.0",
"friendsofphp/php-cs-fixer": "3.66.0",
"helmich/typo3-typoscript-lint": "3.1.1",
"icanhazstring/composer-unused": "0.8.11",
"php-parallel-lint/php-parallel-lint": "1.4.0",