Skip to content

Commit bc4a766

Browse files
chore(deps-dev): update friendsofphp/php-cs-fixer requirement from 3.40.0 to 3.49.0 (#255)
* chore(deps-dev): 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](PHP-CS-Fixer/PHP-CS-Fixer@v3.40.0...v3.49.0) --- updated-dependencies: - dependency-name: friendsofphp/php-cs-fixer dependency-type: direct:development ... Signed-off-by: dependabot[bot] <[email protected]> * refactor: apply php-cs-fixer --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: PedroTroller <[email protected]>
1 parent cc22341 commit bc4a766

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

Diff for: .php-cs-fixer.dist.php

+9-4
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,23 @@
22

33
declare(strict_types=1);
44

5-
$finder = PhpCsFixer\Finder::create()
5+
use PedroTroller\CS\Fixer\Fixers;
6+
use PedroTroller\CS\Fixer\RuleSetFactory;
7+
use PhpCsFixer\Config;
8+
use PhpCsFixer\Finder;
9+
10+
$finder = Finder::create()
611
->in(__DIR__)
712
->append([__FILE__, __DIR__.'/.symfony_checker'])
813
;
914

10-
$config = new PhpCsFixer\Config();
15+
$config = new Config();
1116
$config->setFinder($finder);
12-
$config->registerCustomFixers(new PedroTroller\CS\Fixer\Fixers());
17+
$config->registerCustomFixers(new Fixers());
1318
$config->setRiskyAllowed(true);
1419
$config->setUsingCache(true);
1520
$config->setRules(
16-
PedroTroller\CS\Fixer\RuleSetFactory::create()
21+
RuleSetFactory::create()
1722
->phpCsFixer(true)
1823
->php(8.1, true)
1924
->pedrotroller(true)

Diff for: composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"require-dev": {
3030
"fakerphp/faker": "1.23.1",
3131
"friends-of-phpspec/phpspec-code-coverage": "6.3.0",
32-
"friendsofphp/php-cs-fixer": "3.40.0",
32+
"friendsofphp/php-cs-fixer": "3.49.0",
3333
"pedrotroller/php-cs-custom-fixer": "2.33.0",
3434
"phpspec/phpspec": "7.5.0",
3535
"phpspec/prophecy": "1.18.0",

Diff for: spec/Knp/DictionaryBundle/Faker/Provider/DictionarySpec.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
final class DictionarySpec extends ObjectBehavior
1313
{
1414
/**
15-
* @var Dictionary\Collection
15+
* @var Collection
1616
*/
1717
private $dictionaries;
1818

0 commit comments

Comments
 (0)