Skip to content

Commit 1bc4116

Browse files
committed
chore(deps): update dev dependencies versions
- Update friendsofphp/php-cs-fixer from 3.48 to 3.51 - Update kubawerlos/php-cs-fixer-custom-fixers from 3.19 to 3.21 - Update rector/rector from 1.0 to 1.0 - Update vimeo/psalm from 5.21 to 5.23
1 parent 7830da7 commit 1bc4116

File tree

3 files changed

+12
-9
lines changed

3 files changed

+12
-9
lines changed

.php-cs-fixer.php

+3-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@
5555
return (new Config)
5656
->setFinder($finder)
5757
->setRiskyAllowed(true)
58-
->setUsingCache(false)
58+
->setUsingCache(true)
5959
->setCacheFile(__DIR__.'/.php-cs-fixer.cache')
6060
->registerCustomFixers(new PhpCsFixerCustomFixers\Fixers)
6161
->setRules([
@@ -258,6 +258,7 @@
258258
// ],
259259
'phpdoc_to_comment' => false,
260260
'phpdoc_param_order' => true,
261+
'phpdoc_array_type' => true,
261262

262263
// return_notation
263264
'simplified_null_return' => true,
@@ -374,7 +375,7 @@
374375
PhpCsFixerCustomFixers\Fixer\PhpUnitAssertArgumentsOrderFixer::name() => true,
375376
PhpCsFixerCustomFixers\Fixer\PhpUnitDedicatedAssertFixer::name() => true,
376377
PhpCsFixerCustomFixers\Fixer\PhpUnitNoUselessReturnFixer::name() => true,
377-
PhpCsFixerCustomFixers\Fixer\PhpdocArrayStyleFixer::name() => true,
378+
// PhpCsFixerCustomFixers\Fixer\PhpdocArrayStyleFixer::name() => true,
378379
PhpCsFixerCustomFixers\Fixer\PhpdocNoIncorrectVarAnnotationFixer::name() => true,
379380
PhpCsFixerCustomFixers\Fixer\PhpdocNoSuperfluousParamFixer::name() => true,
380381
// PhpCsFixerCustomFixers\Fixer\PhpdocOnlyAllowedAnnotationsFixer::name() => [

composer-updater

+3-1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ $status = (new SingleCommandApplication)
116116

117117
/**
118118
* @noinspection JsonEncodingApiUsageInspection
119+
*
120+
* @return $this|never-return
119121
*/
120122
private function updateOutdatedComposerPackages(): self
121123
{
@@ -130,7 +132,7 @@ $status = (new SingleCommandApplication)
130132
$outdatedComposerJsonContents
131133
)));
132134

133-
return $this;
135+
exit(0);
134136
}
135137

136138
file_put_contents($this->composerJsonPath, $outdatedComposerJsonContents);

composer.json

+6-6
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@
6969
"require-dev": {
7070
"brainmaestro/composer-git-hooks": "^2.8",
7171
"ergebnis/composer-normalize": "^2.42",
72-
"friendsofphp/php-cs-fixer": "^3.48",
72+
"friendsofphp/php-cs-fixer": "^3.51",
7373
"guanguans/ai-commit": "dev-main",
7474
"guanguans/monorepo-builder-worker": "^1.4",
75-
"kubawerlos/php-cs-fixer-custom-fixers": "^3.19",
75+
"kubawerlos/php-cs-fixer-custom-fixers": "^3.21",
7676
"laravel/lumen-framework": "^7.0 || ^8.0 || ^9.0 || ^10.0",
7777
"mockery/mockery": "^1.6",
7878
"orchestra/testbench": "^5.0 || ^6.0 || ^7.0 || ^8.0",
@@ -82,8 +82,8 @@
8282
"phpstan/extension-installer": "^1.3",
8383
"phpstan/phpstan": "^1.10",
8484
"phpstan/phpstan-deprecation-rules": "^1.1",
85-
"rector/rector": "^0.19 || ^1.0",
86-
"vimeo/psalm": "^5.21"
85+
"rector/rector": "^1.0",
86+
"vimeo/psalm": "^5.23"
8787
},
8888
"minimum-stability": "stable",
8989
"prefer-stable": true,
@@ -168,7 +168,7 @@
168168
"composer-require-checker": "@php ./vendor/bin/composer-require-checker check --config-file=composer-require-checker.json composer.json --ansi -v",
169169
"composer-unused": "@php ./vendor/bin/composer-unused --ansi -v",
170170
"composer-unused-checker": "@php ./vendor/bin/composer-unused --ansi -v",
171-
"composer-updater": "@php ./composer-updater --highest-php-binary=/opt/homebrew/opt/[email protected]/bin/php --except-packages=laravel/lumen-framework --except-packages=orchestra/testbench --except-packages=pestphp/pest-plugin-laravel --ansi",
171+
"composer-updater": "@php ./composer-updater --highest-php-binary=/opt/homebrew/opt/[email protected]/bin/php --except-packages=guanguans/notify --except-packages=laravel/lumen-framework --except-packages=orchestra/testbench --except-packages=pestphp/pest-plugin-laravel --ansi",
172172
"composer-updater-dry-run": "@composer-updater --dry-run",
173173
"composer-validate": "@composer validate --check-lock --strict --ansi -v",
174174
"facade-lint": "@facade-update --lint",
@@ -201,7 +201,7 @@
201201
"release-minor-dry-run": "@release-minor --dry-run",
202202
"release-patch": "@release patch",
203203
"release-patch-dry-run": "@release-patch --dry-run",
204-
"style-fix": "@php ./vendor/bin/php-cs-fixer fix --using-cache=yes --config=.php-cs-fixer.php --ansi -v",
204+
"style-fix": "@php ./vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php --show-progress=dots --diff --ansi -v",
205205
"style-lint": "@style-fix --diff --dry-run",
206206
"test": "@pest",
207207
"test-coverage": "@pest-coverage",

0 commit comments

Comments
 (0)