Merge branch 'develop'

This commit is contained in:
snipe 2017-11-09 13:28:12 -08:00
commit f56e1768b6
2 changed files with 9 additions and 2 deletions

View file

@ -22,7 +22,14 @@ class License extends Depreciable
protected $injectUniqueIdentifier = true; protected $injectUniqueIdentifier = true;
use ValidatingTrait; use ValidatingTrait;
protected $dates = ['deleted_at']; // We set these as protected dates so that they will be easily accessible via Carbon
protected $dates = [
'created_at',
'updated_at',
'deleted_at',
'purchase_date'
];
public $timestamps = true; public $timestamps = true;

View file

@ -106,7 +106,7 @@ echo "--------------------------------------------------------\n\n";
if (file_exists('composer.phar')) { if (file_exists('composer.phar')) {
echo "-- Local composer.phar detected, so we'll use that.\n\n"; echo "-- Local composer.phar detected, so we'll use that.\n\n";
$composer_dump = shell_exec('php composer.phar dump'); $composer_dump = shell_exec('php composer.phar dump');
$composer = shell_exec('php composer.phar install --prefer-source'); $composer = shell_exec('php composer.phar install --no-dev --prefer-source');
} else { } else {
echo "-- We couldn't find a local composer.phar - trying globally.\n\n"; echo "-- We couldn't find a local composer.phar - trying globally.\n\n";