@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php namespace EvolutionCMS\Tracy\Panels\View; |
2 | 2 | |
3 | +use EvolutionCMS\Tracy\Panels\AbstractPanel; |
|
3 | 4 | use Illuminate\Support\Arr; |
4 | 5 | use Illuminate\Support\Collection; |
5 | -use EvolutionCMS\Tracy\Panels\AbstractPanel; |
|
6 | 6 | |
7 | 7 | class Panel extends AbstractPanel |
8 | 8 | { |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php namespace EvolutionCMS\Traits\Models; |
2 | 2 | |
3 | -use Illuminate\Database\Eloquent\SoftDeletes as BaseSoftDeletes; |
|
4 | 3 | use EvolutionCMS\Shit\SoftDeletingScope; |
4 | +use Illuminate\Database\Eloquent\SoftDeletes as BaseSoftDeletes; |
|
5 | 5 | |
6 | 6 | trait SoftDeletes{ |
7 | 7 | use BaseSoftDeletes { |
@@ -1,14 +1,14 @@ |
||
1 | 1 | <?php namespace AgelxNash\Modx\Evo\Database\Drivers; |
2 | 2 | |
3 | 3 | use AgelxNash\Modx\Evo\Database\Exceptions; |
4 | +use Illuminate\Container\Container; |
|
5 | +use Illuminate\Contracts\Events\Dispatcher as DispatcherContract; |
|
4 | 6 | use Illuminate\Database\Capsule\Manager as Capsule; |
5 | 7 | use Illuminate\Database\Connection; |
6 | -use PDOStatement; |
|
7 | 8 | use Illuminate\Events\Dispatcher; |
8 | -use Illuminate\Contracts\Events\Dispatcher as DispatcherContract; |
|
9 | -use Illuminate\Container\Container; |
|
10 | -use ReflectionClass; |
|
11 | 9 | use PDO; |
10 | +use PDOStatement; |
|
11 | +use ReflectionClass; |
|
12 | 12 | |
13 | 13 | /** |
14 | 14 | * @property Connection $conn |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php namespace AgelxNash\Modx\Evo\Database\Drivers; |
2 | 2 | |
3 | 3 | use AgelxNash\Modx\Evo\Database\Exceptions; |
4 | +use ReflectionClass; |
|
4 | 5 | use mysqli; |
6 | +use mysqli_driver; |
|
5 | 7 | use mysqli_result; |
6 | 8 | use mysqli_sql_exception; |
7 | -use mysqli_driver; |
|
8 | -use ReflectionClass; |
|
9 | 9 | |
10 | 10 | /** |
11 | 11 | * @property mysqli $conn |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php namespace AgelxNash\Modx\Evo\Database\Tests; |
2 | 2 | |
3 | -use PHPUnit\Framework\TestCase; |
|
4 | 3 | use AgelxNash\Modx\Evo\Database; |
4 | +use PHPUnit\Framework\TestCase; |
|
5 | 5 | |
6 | 6 | class LegacyDatabaseTest extends TestCase |
7 | 7 | { |
@@ -1,8 +1,8 @@ |
||
1 | 1 | <?php namespace AgelxNash\Modx\Evo\Database\Tests; |
2 | 2 | |
3 | -use PHPUnit\Framework\TestCase; |
|
4 | 3 | use AgelxNash\Modx\Evo\Database; |
5 | 4 | use Illuminate\Database\Capsule\Manager as Capsule; |
5 | +use PHPUnit\Framework\TestCase; |
|
6 | 6 | |
7 | 7 | class MultiConnectTest extends TestCase |
8 | 8 | { |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php namespace AgelxNash\Modx\Evo\Database\Tests\Real; |
2 | 2 | |
3 | -use AgelxNash\Modx\Evo\Database\Tests\RealQueryTest; |
|
4 | -use PDOStatement; |
|
5 | 3 | use AgelxNash\Modx\Evo\Database\Drivers\IlluminateDriver; |
4 | +use AgelxNash\Modx\Evo\Database\Tests\RealQueryTest; |
|
6 | 5 | use Illuminate; |
6 | +use PDOStatement; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * @property IlluminateDriver $instance |
@@ -1,9 +1,9 @@ |
||
1 | 1 | <?php namespace AgelxNash\Modx\Evo\Database\Tests\Real; |
2 | 2 | |
3 | +use AgelxNash\Modx\Evo\Database\Drivers\MySqliDriver; |
|
3 | 4 | use AgelxNash\Modx\Evo\Database\Tests\RealQueryTest; |
4 | 5 | use mysqli; |
5 | 6 | use mysqli_result; |
6 | -use AgelxNash\Modx\Evo\Database\Drivers\MySqliDriver; |
|
7 | 7 | |
8 | 8 | /** |
9 | 9 | * @property MySqliDriver $instance |
@@ -1,7 +1,7 @@ |
||
1 | 1 | <?php namespace AgelxNash\Modx\Evo\Database\Tests\Source; |
2 | 2 | |
3 | -use PHPUnit\Framework\TestCase; |
|
4 | 3 | use AgelxNash\Modx\Evo\Database; |
4 | +use PHPUnit\Framework\TestCase; |
|
5 | 5 | |
6 | 6 | class DatabaseTest extends TestCase |
7 | 7 | { |