add info to CompileCommand

This commit is contained in:
TomasVotruba 2020-02-26 19:33:38 +01:00
parent 0291e2becf
commit 16308d43aa
2 changed files with 4 additions and 4 deletions

View File

@ -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',

View File

@ -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();