Commit b50ba1f4 authored by catch's avatar catch
Browse files

Issue #3383316 by Spokje: Replace deprecated getComposer() of class...

Issue #3383316 by Spokje: Replace deprecated getComposer() of class Composer\Command\BaseCommand in ComposerScaffoldCommand
parent 70e2c380
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;
  }
+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