Skip to content

Commit de054be

Browse files
Fix removing "php" entry from "require-dev"
1 parent e0500e1 commit de054be

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Command/RequireCommand.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ protected function execute(InputInterface $input, OutputInterface $output)
7777
if (null !== $file) {
7878
$manipulator = new JsonManipulator(file_get_contents($file));
7979
$manipulator->removeSubNode('require-dev', 'php');
80+
file_put_contents($file, $manipulator->getContents());
8081
}
8182
}
8283
}

0 commit comments

Comments
 (0)