Loading composer/Plugin/Scaffold/ComposerScaffoldCommand.php +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ protected function configure() { * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output): int { $handler = new Handler($this->getComposer(), $this->getIO()); $handler = new Handler($this->requireComposer(), $this->getIO()); $handler->scaffold(); return 0; } Loading core/phpstan-baseline.neon +0 −8 Original line number Diff line number Diff line parameters: ignoreErrors: - message: """ #^Call to deprecated method getComposer\\(\\) of class Composer\\\\Command\\\\BaseCommand\\: since Composer 2\\.3\\.0 use requireComposer or tryComposer depending on whether you have \\$required set to true or false$# """ count: 1 path: ../composer/Plugin/Scaffold/ComposerScaffoldCommand.php - message: "#^Variable \\$data_path in empty\\(\\) always exists and is not falsy\\.$#" count: 1 Loading Loading
composer/Plugin/Scaffold/ComposerScaffoldCommand.php +1 −1 Original line number Diff line number Diff line Loading @@ -48,7 +48,7 @@ protected function configure() { * {@inheritdoc} */ protected function execute(InputInterface $input, OutputInterface $output): int { $handler = new Handler($this->getComposer(), $this->getIO()); $handler = new Handler($this->requireComposer(), $this->getIO()); $handler->scaffold(); return 0; } Loading
core/phpstan-baseline.neon +0 −8 Original line number Diff line number Diff line parameters: ignoreErrors: - message: """ #^Call to deprecated method getComposer\\(\\) of class Composer\\\\Command\\\\BaseCommand\\: since Composer 2\\.3\\.0 use requireComposer or tryComposer depending on whether you have \\$required set to true or false$# """ count: 1 path: ../composer/Plugin/Scaffold/ComposerScaffoldCommand.php - message: "#^Variable \\$data_path in empty\\(\\) always exists and is not falsy\\.$#" count: 1 Loading