Commit 2b6dd149 authored by Graham Campbell's avatar Graham Campbell

CS fixes

parent 8ea9e8c8
{
"name": "laravel/installer",
"description": "Laravel application installer.",
"keywords": ["laravel"],
"license": "MIT",
"authors": [
{
"name": "Taylor Otwell",
"email": "taylorotwell@gmail.com"
}
],
"autoload": {
"psr-4": {
"Laravel\\Installer\\Console\\": "src/"
}
},
"require": {
"guzzlehttp/guzzle": "~4.0|~5.0",
"symfony/console": "~2.3",
"symfony/process": "~2.3"
},
"bin": [
"laravel"
]
"name": "laravel/installer",
"description": "Laravel application installer.",
"keywords": ["laravel"],
"license": "MIT",
"authors": [
{
"name": "Taylor Otwell",
"email": "taylorotwell@gmail.com"
}
],
"autoload": {
"psr-4": {
"Laravel\\Installer\\Console\\": "src/"
}
},
"require": {
"guzzlehttp/guzzle": "~4.0|~5.0",
"symfony/console": "~2.3",
"symfony/process": "~2.3"
},
"bin": [
"laravel"
]
}
#!/usr/bin/env php
<?php
if(file_exists(__DIR__.'/../../autoload.php')) {
if (file_exists(__DIR__.'/../../autoload.php')) {
require __DIR__.'/../../autoload.php';
} else {
require __DIR__.'/vendor/autoload.php';
......
......@@ -45,10 +45,10 @@ class NewCommand extends Command
$composer = $this->findComposer();
$commands = array(
$commands = [
$composer.' run-script post-install-cmd',
$composer.' run-script post-create-project-cmd',
);
];
$process = new Process(implode(' && ', $commands), $directory, null, null, null);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment