Skip to content

Commit 3204de4

Browse files
authored
Upgrade phpstan / php-cs-fixer (#1707)
Update dependencies
1 parent 828ba2c commit 3204de4

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
"symfony/service-contracts": "^1.0 || ^2.0 || ^3.0"
1818
},
1919
"require-dev": {
20-
"friendsofphp/php-cs-fixer": "~3.52.0",
20+
"friendsofphp/php-cs-fixer": "~3.54.0",
2121
"illuminate/cache": "^6.18.13 || ^7.10 || ^8.0 || ^9.0",
2222
"illuminate/queue": "^6.18.13 || ^7.10 || ^8.0 || ^9.0",
2323
"illuminate/support": "^6.18.13 || ^7.10 || ^8.0 || ^9.0",
@@ -27,8 +27,8 @@
2727
"nette/utils": "^3.0 || ^4.0",
2828
"nikic/php-parser": "^4.0",
2929
"nyholm/symfony-bundle-test": "^3.0",
30-
"phpstan/phpstan": "1.10.63",
31-
"psalm/phar": "5.14.1",
30+
"phpstan/phpstan": "~1.10.67",
31+
"psalm/phar": "~5.14.1",
3232
"psr/cache": "^1.0 || ^2.0 || ^3.0",
3333
"swaggest/json-diff": "^3.7",
3434
"symfony/cache": "^4.4 || ^5.0 || ^6.0 || ^7.0",

src/CodeGenerator/src/Command/GenerateCommand.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,6 @@
3737
#[AsCommand(name: 'generate', description: 'Create or update API client methods.', aliases: ['update'])]
3838
class GenerateCommand extends Command
3939
{
40-
protected static $defaultName = 'generate';
41-
4240
/**
4341
* @var array|null
4442
*/
@@ -83,7 +81,7 @@ public function __construct(string $manifestFile, Cache $cache, ClassWriter $cla
8381
$this->composerWriter = $composerWriter;
8482
$this->unusedClassCleaner = $unusedClassCleaner;
8583

86-
parent::__construct();
84+
parent::__construct('generate');
8785
}
8886

8987
protected function configure(): void

0 commit comments

Comments
 (0)