Some code cleanup.

This commit is contained in:
James Cole 2014-09-04 09:02:54 +02:00
parent 7db7950415
commit 7eaf307834
4 changed files with 27 additions and 10 deletions

View File

@ -83,6 +83,14 @@ use LaravelBook\Ardent\Builder;
* 'Budget[] $budgets
* @property-read \Illuminate\Database\Eloquent\Collection|\
* 'Category[] $categories
* @property-read \Illuminate\Database\Eloquent\Collection|\
* 'Budget[] $budgets
* @property-read \Illuminate\Database\Eloquent\Collection|\
* 'Category[] $categories
* @property-read \Illuminate\Database\Eloquent\Collection|\
* 'Budget[] $budgets
* @property-read \Illuminate\Database\Eloquent\Collection|\
* 'Category[] $categories
*/
class TransactionJournal extends Ardent
{

View File

@ -74,7 +74,6 @@ $framework = $app['path.base'] .
require $framework . '/Illuminate/Foundation/start.php';
Event::subscribe('Firefly\Helper\Form\FormTrigger');
/*
|--------------------------------------------------------------------------
@ -93,12 +92,4 @@ Event::subscribe('Firefly\Trigger\Piggybanks\EloquentPiggybankTrigger');
Event::subscribe('Firefly\Trigger\Budgets\EloquentBudgetTrigger');
Event::subscribe('Firefly\Trigger\Recurring\EloquentRecurringTrigger');
//App::booted(
// function () {
// $forms = new \Firefly\Helper\Form\FormTrigger;
// $forms->registerFormExtensions();
// }
//);
return $app;

View File

@ -27,7 +27,8 @@
},
"require-dev": {
"barryvdh/laravel-debugbar": "@stable",
"barryvdh/laravel-ide-helper": "@stable"
"barryvdh/laravel-ide-helper": "@stable",
"doctrine/dbal": "~2.3"
},
"autoload": {
"classmap": [

View File

@ -1,5 +1,22 @@
#!/bin/bash
#composer self-update
rm -f ./app/storage/debugbar/*.json
rm -f ./app/storage/logs/laravel.log
rm -f ./app/storage/meta/services.json
for i in `seq 0 9`;
do
rm -f ./app/storage/views/$i*
done
rm -f ./app/storage/views/a*
rm -f ./app/storage/views/b*
rm -f ./app/storage/views/c*
rm -f ./app/storage/views/d*
rm -f ./app/storage/views/e*
rm -f ./app/storage/views/f*
composer update
php artisan clear-compiled --env=local
php artisan ide-helper:generate --env=local