Skip to content

v5.11.0

Choose a tag to compare

@alies-dev alies-dev released this 11 Nov 11:44
1fef73d

Psalter now fixes InvalidConsoleArgumentValue, InvalidConsoleOptionValue and RepositoryStringShortcut:

vendor/bin/psalter --issues=InvalidConsoleArgumentValue,InvalidConsoleOptionValue,RepositoryStringShortcut
-$this->addArgument('files', 5);
+$this->addArgument('files', InputArgument::REQUIRED | InputArgument::IS_ARRAY);
-$this->addOption('format', null, 2);
+$this->addOption('format', null, InputOption::VALUE_REQUIRED);
-$entityManager->getRepository('App\Entity\Invoice');
+$entityManager->getRepository(Invoice::class);

Add --dry-run to preview the changes as a diff without writing them.

This release requires Psalm 7.3 or newer.

What's Changed

  • Let Psalter fix console mode and repository string issues by @alies-dev in #442

Full Changelog: v5.10.1...v5.11.0