Skip to content

Commit 8b76462

Browse files
author
Renato Marinho
authored
Merge pull request #250 from GitScrum-Community/develop
composer new packages / folder for API Controller
2 parents 32611d8 + fe0cb7a commit 8b76462

File tree

4 files changed

+554
-258
lines changed

4 files changed

+554
-258
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
<?php
2+
/**
3+
* Laravel GitScrum <https://github.com/GitScrum-Community/laravel-gitscrum>
4+
*
5+
* The MIT License (MIT)
6+
* Copyright (c) 2017 Renato Marinho <renato.marinho@s2move.com>
7+
*/
8+
9+
namespace GitScrum\Http\Controllers\Api;
10+
11+
use Illuminate\Foundation\Bus\DispatchesJobs;
12+
use Illuminate\Routing\Controller as BaseController;
13+
use Illuminate\Foundation\Validation\ValidatesRequests;
14+
use Illuminate\Foundation\Auth\Access\AuthorizesRequests;
15+
use File;
16+
17+
class Controller extends BaseController
18+
{
19+
use AuthorizesRequests, DispatchesJobs, ValidatesRequests;
20+
}

composer.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,13 @@
3131
"nesbot/carbon": "^1.21",
3232
"doctrine/dbal": "~2.5",
3333
"barryvdh/laravel-debugbar": "^2.2",
34-
"renatomarinho/laravel-multi-language": ">=1.0.0"
34+
"renatomarinho/laravel-multi-language": ">=1.0.0",
35+
"spatie/laravel-fractal": "^4.0"
3536
},
3637
"require-dev": {
3738
"fzaninotto/faker": "~1.4",
3839
"mockery/mockery": "0.9.*",
39-
"phpunit/phpunit": "~5.7",
40-
"talevskiigor/composer-bump": "^1.0",
40+
"phpunit/phpunit": "~6.2",
4141
"squizlabs/php_codesniffer": "^2.7",
4242
"symfony/css-selector": "~2.8|~3.0",
4343
"symfony/dom-crawler": "3.2.3"

0 commit comments

Comments
 (0)