Issue #3383316 by Spokje: Replace deprecated getComposer() of class Composer\Command\BaseCommand in ComposerScaffoldCommand
parent
70e2c38099
commit
b50ba1f4a9
|
@ -48,7 +48,7 @@ EOT
|
|||
* {@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;
|
||||
}
|
||||
|
|
|
@ -1,13 +1,5 @@
|
|||
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…
Reference in New Issue