Skip to content

Commit

Permalink
[eloquent] Added (empty) Provider (to fix requirements checks).
Browse files Browse the repository at this point in the history
  • Loading branch information
LastDragon-ru committed Mar 21, 2024
1 parent c397e4c commit ef9ae26
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 2 deletions.
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,8 @@
"LastDragon_ru\\LaraASP\\Spa\\Provider",
"LastDragon_ru\\LaraASP\\GraphQL\\Provider",
"LastDragon_ru\\LaraASP\\Serializer\\Provider",
"LastDragon_ru\\LaraASP\\Documentator\\Provider"
"LastDragon_ru\\LaraASP\\Documentator\\Provider",
"LastDragon_ru\\LaraASP\\Eloquent\\Provider"
]
},
"bamarni-bin": {
Expand Down
7 changes: 6 additions & 1 deletion packages/eloquent/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@
"php": "^8.1|^8.2|^8.3",
"illuminate/collections": "^10.34.0",
"illuminate/database": "^10.34.0",
"illuminate/support": "^10.34.0",
"lastdragon-ru/lara-asp-core": "self.version",
"symfony/polyfill-php83": "^1.28"
},
"require-dev": {
"ext-pdo_sqlite": "*",
"illuminate/container": "^10.34.0",
"illuminate/support": "^10.34.0",
"lastdragon-ru/lara-asp-testing": "self.version",
"mockery/mockery": "^1.6.2",
"orchestra/testbench": "^8.0.0",
Expand All @@ -53,6 +53,11 @@
]
},
"extra": {
"laravel": {
"providers": [
"LastDragon_ru\\LaraASP\\Eloquent\\Provider"
]
},
"lara-asp": {
"ci": {
"required-extensions": {
Expand Down
9 changes: 9 additions & 0 deletions packages/eloquent/src/Provider.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<?php declare(strict_types = 1);

namespace LastDragon_ru\LaraASP\Eloquent;

use Illuminate\Support\ServiceProvider;

class Provider extends ServiceProvider {
// empty
}

0 comments on commit ef9ae26

Please sign in to comment.