Skip to content

Commit 83f8b5e

Browse files
committed
bug #670 Remove the LICENSE file of the skeletons as it should not apply to the user project (fabpot)
This PR was merged into the 1.8-dev branch. Discussion ---------- Remove the LICENSE file of the skeletons as it should not apply to the user project refs symfony/skeleton#187 Commits ------- 42a99dc Remove the LICENSE file of the skeletons as it should not apply to the user project
2 parents f4d23ea + 42a99dc commit 83f8b5e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Flex.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,10 @@ public function configureProject(Event $event)
324324
return;
325325
}
326326

327+
// Remove LICENSE (which do not apply to the user project)
328+
@unlink('LICENSE');
329+
330+
// Update composer.json (project is proprietary by default)
327331
$json = new JsonFile(Factory::getComposerFile());
328332
$contents = file_get_contents($json->getPath());
329333
$manipulator = new JsonManipulator($contents);

0 commit comments

Comments
 (0)