Skip to content

Commit

Permalink
Support Laravel 11
Browse files Browse the repository at this point in the history
  • Loading branch information
staudenmeir committed Feb 17, 2024
1 parent 5ce9779 commit 4a0202d
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 12 deletions.
6 changes: 1 addition & 5 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,7 @@
"staudenmeir/eloquent-has-many-deep-contracts": "^1.2"
},
"require-dev": {
"illuminate/pagination": "^11.0",
"mockery/mockery": "^1.6",
"orchestra/testbench": "^9.0",
"phpstan/phpstan": "^1.10",
"phpunit/phpunit": "^10.5",
"barryvdh/laravel-ide-helper": "^3.0",
"staudenmeir/eloquent-json-relations": "^1.11",
"staudenmeir/laravel-adjacency-list": "^1.20"
},
Expand Down
2 changes: 0 additions & 2 deletions tests/IdeHelper/DeepRelationsHookTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ protected function setUp(): void
{
parent::setUp();

$this->markTestSkipped(); // TODO[L11]

$config = require __DIR__.'/../config/database.php';

$db = new DB();
Expand Down
6 changes: 1 addition & 5 deletions tests/IdeHelperServiceProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ class IdeHelperServiceProviderTest extends TestCase
{
public function testAutoRegistrationOfModelHook(): void
{
$this->markTestSkipped(); // TODO[L11]

$this->app->loadDeferredProvider(BarryvdhIdeHelperServiceProvider::class);
$this->app->loadDeferredProvider(IdeHelperServiceProvider::class);

Expand All @@ -33,8 +31,6 @@ public function testAutoRegistrationOfModelHook(): void
*/
public function testDisabledRegistrationOfModelHookFromConfig(): void
{
$this->markTestSkipped(); // TODO[L11]

$this->app->loadDeferredProvider(BarryvdhIdeHelperServiceProvider::class);
$this->app->loadDeferredProvider(IdeHelperServiceProvider::class);

Expand All @@ -55,7 +51,7 @@ protected function usesIdeHelperDisabledInConfig(Application $app): void
protected function getPackageProviders($app): array
{
return [
// TODO[L11] BarryvdhIdeHelperServiceProvider::class,
BarryvdhIdeHelperServiceProvider::class,
IdeHelperServiceProvider::class,
];
}
Expand Down

0 comments on commit 4a0202d

Please sign in to comment.