@@ -2,17 +2,8 @@ |
||
| 2 | 2 | |
| 3 | 3 | require_once 'vendor/autoload.php'; |
| 4 | 4 | |
| 5 | -use Sirolad\Potato; |
|
| 6 | -use Sirolad\DB\DBConnect; |
|
| 7 | -use Sirolad\Entities\Car; |
|
| 8 | 5 | use Sirolad\Entities\User; |
| 9 | -use Sirolad\Entities\Motor; |
|
| 10 | -use Sirolad\Entities\Bicycle; |
|
| 11 | -use Sirolad\Libraries\Formatter; |
|
| 12 | -use Sirolad\Libraries\TableMapper; |
|
| 13 | -use Sirolad\Exceptions\EmptyTableException; |
|
| 14 | 6 | use Sirolad\Exceptions\RecordNotFoundException; |
| 15 | -use Sirolad\Exceptions\TableDoesNotExistException; |
|
| 16 | 7 | |
| 17 | 8 | #User Operations |
| 18 | 9 | //insert |
@@ -7,7 +7,6 @@ |
||
| 7 | 7 | * */ |
| 8 | 8 | namespace Sirolad\Libraries; |
| 9 | 9 | |
| 10 | -use Sirolad\Exception; |
|
| 11 | 10 | use Sirolad\Interfaces\FormatterInterface; |
| 12 | 11 | |
| 13 | 12 | /** |
@@ -49,7 +49,7 @@ |
||
| 49 | 49 | |
| 50 | 50 | while ($token) { |
| 51 | 51 | $token = strtok($delimiter); |
| 52 | - $output .= ',' .$token; |
|
| 52 | + $output .= ',' . $token; |
|
| 53 | 53 | } |
| 54 | 54 | |
| 55 | 55 | return rtrim($output, ','); |
@@ -12,7 +12,6 @@ |
||
| 12 | 12 | use Sirolad\DB\DBConnect; |
| 13 | 13 | use Sirolad\Libraries\Formatter; |
| 14 | 14 | use Sirolad\Interfaces\TableMapperInterface; |
| 15 | -use Sirolad\Exceptions\TableDoesNotExistException; |
|
| 16 | 15 | |
| 17 | 16 | /** |
| 18 | 17 | * |
@@ -18,7 +18,6 @@ |
||
| 18 | 18 | use Sirolad\Interfaces\PotatoInterface; |
| 19 | 19 | use Sirolad\Exceptions\EmptyTableException; |
| 20 | 20 | use Sirolad\Exceptions\RecordNotFoundException; |
| 21 | -use Sirolad\Exceptions\TableDoesNotExistException; |
|
| 22 | 21 | |
| 23 | 22 | /** |
| 24 | 23 | * Potato is the main class which is not to be instantiated. |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | */ |
| 87 | 87 | public function loadDotenv() |
| 88 | 88 | { |
| 89 | - $dotEnv = new Dotenv(__DIR__.'/../..'); |
|
| 89 | + $dotEnv = new Dotenv(__DIR__ . '/../..'); |
|
| 90 | 90 | $dotEnv->load(); |
| 91 | 91 | } |
| 92 | 92 | } |