@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Wikipedia; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | - |
|
| 8 | 5 | class Search extends Wikipedia |
| 9 | 6 | { |
| 10 | 7 | |
@@ -2,7 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Wikipedia; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | 5 | use App\Models\User; |
| 7 | 6 | |
| 8 | 7 | /* PHP-Wiki-API: This is a simple class to get short Wikipedia info boxes from a given Keyword. |
@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Integrations\Exceptions; |
| 4 | 4 | |
| 5 | 5 | use Exception; |
| 6 | -use Illuminate\Http\Request; |
|
| 7 | 6 | |
| 8 | 7 | class WebhookException extends Exception |
| 9 | 8 | { |
@@ -2,11 +2,11 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Traits; |
| 4 | 4 | |
| 5 | -use Auth; |
|
| 6 | -use Socialite; |
|
| 7 | -use Illuminate\Http\Request; |
|
| 8 | 5 | use App\Models\User; |
| 6 | +use Auth; |
|
| 9 | 7 | use Flash; |
| 8 | +use Illuminate\Http\Request; |
|
| 9 | +use Socialite; |
|
| 10 | 10 | |
| 11 | 11 | trait SocialiteHelper |
| 12 | 12 | { |
@@ -2,11 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Gitlab; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | -use Fabrica\Models\Code\Project; |
|
| 8 | -use Fabrica\Bundle\CoreBundle\EventDispatcher\FabricaEvents; |
|
| 9 | 5 | use Fabrica\Bundle\CoreBundle\EventDispatcher\Event\ProjectEvent; |
| 6 | +use Fabrica\Models\Code\Project; |
|
| 10 | 7 | |
| 11 | 8 | /** |
| 12 | 9 | * https://github.com/GitLabPHP/Client/blob/9.18/lib/Gitlab/Api/Projects.php |
@@ -2,22 +2,15 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations; |
| 4 | 4 | |
| 5 | -use App; |
|
| 6 | 5 | use Config; |
| 7 | -use Illuminate\Contracts\Events\Dispatcher; |
|
| 8 | -use Illuminate\Foundation\AliasLoader; |
|
| 9 | -use Illuminate\Routing\Router; |
|
| 10 | 6 | |
| 11 | -use Illuminate\Support\Collection; |
|
| 12 | 7 | use Illuminate\Support\Facades\View; |
| 13 | 8 | use Illuminate\Support\ServiceProvider; |
| 14 | -use Integrations\Facades\Integrations as IntegrationsFacade; |
|
| 15 | 9 | use Integrations\Services\IntegrationsService; |
| 16 | 10 | |
| 17 | 11 | use Log; |
| 18 | 12 | |
| 19 | 13 | use Muleta\Traits\Providers\ConsoleTools; |
| 20 | -use Route; |
|
| 21 | 14 | |
| 22 | 15 | class IntegrationsProvider extends ServiceProvider |
| 23 | 16 | { |
@@ -4,8 +4,8 @@ |
||
| 4 | 4 | namespace Integrations\Http\Controllers\Webhook; |
| 5 | 5 | |
| 6 | 6 | |
| 7 | -use Integrations\Http\Controllers\Controller; |
|
| 8 | 7 | use BotMan\BotMan\BotMan; |
| 8 | +use Integrations\Http\Controllers\Controller; |
|
| 9 | 9 | |
| 10 | 10 | class StoreController extends Controller |
| 11 | 11 | { |
@@ -2,9 +2,6 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Connectors\Twitter; |
| 4 | 4 | |
| 5 | -use Log; |
|
| 6 | -use App\Models\User; |
|
| 7 | - |
|
| 8 | 5 | class DatumboxAPI |
| 9 | 6 | { |
| 10 | 7 | const version='1.0'; |
@@ -2,13 +2,13 @@ |
||
| 2 | 2 | |
| 3 | 3 | namespace Integrations\Services; |
| 4 | 4 | |
| 5 | -use Porteiro\Models\Role; |
|
| 6 | 5 | use App\Models\User; |
| 7 | 6 | use Illuminate\Contracts\Auth\Authenticatable; |
| 8 | 7 | use Illuminate\Database\Eloquent\Builder; |
| 9 | 8 | use Integrations\Exceptions\LdapException; |
| 10 | 9 | use Integrations\Models\Access; |
| 11 | 10 | use Integrations\Models\UserRepo; |
| 11 | +use Porteiro\Models\Role; |
|
| 12 | 12 | |
| 13 | 13 | /** |
| 14 | 14 | * Class LdapService |