Skip to content

Commit

Permalink
Merge pull request #23 from cslant/fix/move-base-code-to-core
Browse files Browse the repository at this point in the history
Fix/move base code to core
  • Loading branch information
tanhongit authored Jul 28, 2024
2 parents 25ffe19 + 5903d27 commit a32e95d
Show file tree
Hide file tree
Showing 8 changed files with 3 additions and 41 deletions.
3 changes: 0 additions & 3 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,3 @@ parameters:

- message: '#Part \$routePrefix \(mixed\) of encapsed string cannot be cast to string\.#'
path: routes/blog-api.php

excludePaths:
- src/Http/Controllers/Base/*.php
9 changes: 0 additions & 9 deletions src/Http/Controllers/Base/BaseCategoryController.php

This file was deleted.

9 changes: 0 additions & 9 deletions src/Http/Controllers/Base/BasePostController.php

This file was deleted.

9 changes: 0 additions & 9 deletions src/Http/Controllers/Base/BaseTagController.php

This file was deleted.

2 changes: 1 addition & 1 deletion src/Http/Controllers/CategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace CSlant\Blog\Api\Http\Controllers;

use CSlant\Blog\Api\Http\Controllers\Base\BaseCategoryController;
use CSlant\Blog\Core\Http\Controllers\Base\BaseCategoryController;

class CategoryController extends BaseCategoryController
{
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/PostController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace CSlant\Blog\Api\Http\Controllers;

use CSlant\Blog\Api\Http\Controllers\Base\BasePostController;
use CSlant\Blog\Core\Http\Controllers\Base\BasePostController;

class PostController extends BasePostController
{
Expand Down
2 changes: 1 addition & 1 deletion src/Http/Controllers/TagController.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace CSlant\Blog\Api\Http\Controllers;

use CSlant\Blog\Api\Http\Controllers\Base\BaseTagController;
use CSlant\Blog\Core\Http\Controllers\Base\BaseTagController;

class TagController extends BaseTagController
{
Expand Down
8 changes: 0 additions & 8 deletions src/Models/Traits/IsIncrementing.php

This file was deleted.

0 comments on commit a32e95d

Please sign in to comment.