mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 22:08:00 +01:00
add info to CompileCommand
This commit is contained in:
parent
0291e2becf
commit
16308d43aa
@ -69,12 +69,14 @@ final class CompileCommand extends Command
|
||||
{
|
||||
$composerJsonFile = $this->buildDir . '/composer.json';
|
||||
|
||||
$this->symfonyStyle->note('Loading ' . $composerJsonFile);
|
||||
|
||||
$this->symfonyStyle->note('Loading and updating ' . $composerJsonFile);
|
||||
$this->composerJsonManipulator->fixComposerJson($composerJsonFile);
|
||||
|
||||
$this->symfonyStyle->note('Renaming PHPStorm stubs from "*.php" to ".stub"');
|
||||
$this->jetbrainsStubsRenamer->renamePhpStormStubs($this->buildDir);
|
||||
|
||||
$this->symfonyStyle->note('Updating root rector/rector dependencies, without require-dev');
|
||||
|
||||
// @see https://github.com/dotherightthing/wpdtrt-plugin-boilerplate/issues/52
|
||||
$process = new Process([
|
||||
'composer',
|
||||
|
@ -32,8 +32,6 @@ final class JetbrainsStubsRenamer
|
||||
|
||||
private function renameStubFileSuffixes(string $directory): void
|
||||
{
|
||||
$this->symfonyStyle->section('Renaming jetbrains/phpstorm-stubs from "*.php" to "*.stub"');
|
||||
|
||||
$stubFileInfos = $this->getStubFileInfos($directory);
|
||||
foreach ($stubFileInfos as $stubFileInfo) {
|
||||
$path = $stubFileInfo->getPathname();
|
||||
|
Loading…
x
Reference in New Issue
Block a user