Fix formatting and interfaces in nearly every file

This commit is contained in:
Nabeel Shahzad
2018-03-19 20:50:40 -05:00
parent 04c5b9e7bf
commit ccf56ddec1
331 changed files with 3282 additions and 2492 deletions

View File

@@ -2,10 +2,14 @@
namespace App\Console\Commands;
use App\Console\BaseCommand;
use App\Console\Command;
use Symfony\Component\Yaml\Yaml;
class Version extends BaseCommand
/**
* Class Version
* @package App\Console\Commands
*/
class Version extends Command
{
protected $signature = 'phpvms:version {--write} {--base-only}';
@@ -19,7 +23,7 @@ class Version extends BaseCommand
# prefix with the date in YYMMDD format
$date = date('ymd');
$version = $date . '-' . $version;
$version = $date.'-'.$version;
return $version;
}
@@ -46,11 +50,11 @@ class Version extends BaseCommand
# Only show the major.minor.patch version
if ($this->option('base-only')) {
$version = 'v' . $cfg['current']['major'] . '.'
. $cfg['current']['minor'] . '.'
. $cfg['current']['patch'];
$version = 'v'.$cfg['current']['major'].'.'
.$cfg['current']['minor'].'.'
.$cfg['current']['patch'];
}
print $version . "\n";
print $version."\n";
}
}