Skip to content

Commit e6f532b

Browse files
choxxkeshavashta
andauthored
Hotfixes/psr 4 comply (#2)
* fixed namepace issues * updated directorynname * fixed name spaces of direcctores * fixed name spaces of direcctores * fixed name spaces of direcctores * fixed name spaces of directories * fixed name spaces of directories * BaseRequest: keeping existing class and extending it from the new PSR complied class to maintain backward compatibility Co-authored-by: Keshav Ashta <keshavashta16@gmail.com>
1 parent f2d2665 commit e6f532b

22 files changed

+25
-12
lines changed

.DS_Store

8 KB
Binary file not shown.

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
"extra": {
4545
"laravel": {
4646
"providers": [
47-
"Luezoid\\Laravelcore\\LaravelcoreServiceProvider"
47+
"Luezoid\\Laravelcore\\CoreServiceProvider"
4848
],
4949
"aliases": {
5050
"luezoid-laravel-core": "Luezoid\\Laravelcore\\Facades\\Laravelcore"

src/.DS_Store

10 KB
Binary file not shown.

src/Console/Command/FilesInitCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?php
22

3-
namespace Luezoid\Laravelcore\Console\Commands;
3+
namespace Luezoid\Laravelcore\Console\Command;
44

55
use Illuminate\Console\Command;
66

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
namespace Luezoid\Laravelcore\Contracts;
1010

11-
1211
interface IBaseRepository
1312
{
1413
public function create($data);
@@ -29,4 +28,4 @@ public function _checkInputValueType($value);
2928

3029
public function filter($data, $first = false, $fields = []);
3130

32-
}
31+
}

src/CoreServiceProvider.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
namespace Luezoid\Laravelcore;
44

55
use Illuminate\Support\ServiceProvider;
6-
use Luezoid\Laravelcore\Console\Commands\FilesInitCommand;
6+
use Luezoid\Laravelcore\Console\Command\FilesInitCommand;
77
use Luezoid\Laravelcore\Facades\Laravelcore;
88

99

10-
class LaravelcoreServiceProvider extends ServiceProvider
10+
class CoreServiceProvider extends ServiceProvider
1111
{
1212
protected $commands = [
1313
FilesInitCommand::class

src/Http/Requests/BaseRequest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
* Time: 2:23 PM
77
*/
88

9-
namespace Luezoid\Laravelcore\Requests;
9+
namespace Luezoid\Laravelcore\Http\Requests;
1010

1111

1212
use Illuminate\Foundation\Http\FormRequest;
@@ -67,4 +67,4 @@ protected function failedValidation(\Illuminate\Contracts\Validation\Validator $
6767
{
6868
$this->validator = $validator;
6969
}
70-
}
70+
}
File renamed without changes.

0 commit comments

Comments
 (0)