diff --git a/.phive/phars.xml b/.phive/phars.xml index a655ee46..f5aa3300 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,4 @@ - - + diff --git a/composer.json b/composer.json index d41d0d33..fedab7a3 100644 --- a/composer.json +++ b/composer.json @@ -61,12 +61,7 @@ "cs-check": "phpcs --parallel=16 -p src/ tests/", "cs-fix": "phpcbf --parallel=16 -p src/ tests/", "phpstan": "tools/phpstan analyse", - "psalm": "tools/psalm --show-info=false", - "psalm-baseline": "tools/psalm --set-baseline=psalm-baseline.xml", - "stan": [ - "@phpstan", - "@psalm" - ], + "stan": "@phpstan", "stan-baseline": "tools/phpstan --generate-baseline", "stan-setup": "phive install", "test": "phpunit", diff --git a/psalm-baseline.xml b/psalm-baseline.xml deleted file mode 100644 index e510fb81..00000000 --- a/psalm-baseline.xml +++ /dev/null @@ -1,19 +0,0 @@ - - - - - new Filesystem() - - - findRecursive - - - - - new Filesystem() - - - find - - - diff --git a/psalm.xml b/psalm.xml deleted file mode 100644 index 1b5062a7..00000000 --- a/psalm.xml +++ /dev/null @@ -1,20 +0,0 @@ - - - - - - - - - diff --git a/src/BakePlugin.php b/src/BakePlugin.php index bb91af0d..0b02eaad 100644 --- a/src/BakePlugin.php +++ b/src/BakePlugin.php @@ -115,7 +115,7 @@ protected function discoverCommands(CommandCollection $commands): CommandCollect * @param string $namespace The namespace classes are expected to be in. * @param string $path The path to look in. * @return array - * @psalm-return array> + * @phpstan-return array> */ protected function findInPath(string $namespace, string $path): array { diff --git a/src/Command/EntryCommand.php b/src/Command/EntryCommand.php index b950ef3d..87b9dd75 100644 --- a/src/Command/EntryCommand.php +++ b/src/Command/EntryCommand.php @@ -130,7 +130,6 @@ public function execute(Arguments $args, ConsoleIo $io): ?int public function buildOptionParser(ConsoleOptionParser $parser): ConsoleOptionParser { $this->help = new HelpCommand(); - /** @psalm-suppress InaccessibleMethod Protected methods as class based */ $parser = $this->help->buildOptionParser($parser); $parser ->setDescription( diff --git a/src/Command/TestCommand.php b/src/Command/TestCommand.php index e39a3067..dd5e6c30 100644 --- a/src/Command/TestCommand.php +++ b/src/Command/TestCommand.php @@ -446,7 +446,6 @@ public function generateFixtureList(Table|Controller $subject): array $this->_processController($subject); } - /** @psalm-suppress RedundantFunctionCall */ return array_values($this->_fixtures); }