Skip to content

Commit ccdd08c

Browse files
committed
update stan
1 parent 91d32be commit ccdd08c

File tree

7 files changed

+3
-50
lines changed

7 files changed

+3
-50
lines changed

.phive/phars.xml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<phive xmlns="https://phar.io/phive">
3-
<phar name="phpstan" version="2.1.0" installed="2.1.0" location="./tools/phpstan" copy="false"/>
4-
<phar name="psalm" version="5.26.1" installed="5.26.1" location="./tools/psalm" copy="false"/>
3+
<phar name="phpstan" version="2.1.17" installed="2.1.17" location="./tools/phpstan" copy="false"/>
54
</phive>

composer.json

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,7 @@
6161
"cs-check": "phpcs --parallel=16 -p src/ tests/",
6262
"cs-fix": "phpcbf --parallel=16 -p src/ tests/",
6363
"phpstan": "tools/phpstan analyse",
64-
"psalm": "tools/psalm --show-info=false",
65-
"psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml",
66-
"stan": [
67-
"@phpstan",
68-
"@psalm"
69-
],
64+
"stan": "@phpstan",
7065
"stan-baseline": "tools/phpstan --generate-baseline",
7166
"stan-setup": "phive install",
7267
"test": "phpunit",

psalm-baseline.xml

Lines changed: 0 additions & 19 deletions
This file was deleted.

psalm.xml

Lines changed: 0 additions & 20 deletions
This file was deleted.

src/BakePlugin.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ protected function discoverCommands(CommandCollection $commands): CommandCollect
115115
* @param string $namespace The namespace classes are expected to be in.
116116
* @param string $path The path to look in.
117117
* @return array<string>
118-
* @psalm-return array<string, class-string<\Bake\Command\BakeCommand>>
118+
* @phpstan-return array<string, class-string<\Bake\Command\BakeCommand>>
119119
*/
120120
protected function findInPath(string $namespace, string $path): array
121121
{

src/Command/EntryCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ public function execute(Arguments $args, ConsoleIo $io): ?int
130130
public function buildOptionParser(ConsoleOptionParser $parser): ConsoleOptionParser
131131
{
132132
$this->help = new HelpCommand();
133-
/** @psalm-suppress InaccessibleMethod Protected methods as class based */
134133
$parser = $this->help->buildOptionParser($parser);
135134
$parser
136135
->setDescription(

src/Command/TestCommand.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ public function generateFixtureList(Table|Controller $subject): array
446446
$this->_processController($subject);
447447
}
448448

449-
/** @psalm-suppress RedundantFunctionCall */
450449
return array_values($this->_fixtures);
451450
}
452451

0 commit comments

Comments
 (0)