Skip to content

Commit

Permalink
fix: tests running on php 8.4
Browse files Browse the repository at this point in the history
  • Loading branch information
Chemaclass committed Dec 12, 2024
1 parent 5351b44 commit 6203515
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

final class DisableListenersTest extends TestCase
{
#[RunInSeparateProcess]
#[PreserveGlobalState(false)]
public function test_disable_class_resolver_listener(): void
{
Expand Down
6 changes: 0 additions & 6 deletions tests/Feature/Framework/StaticFacade/FeatureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@ protected function setUp(): void
Gacela::bootstrap(__DIR__);
}

#[RunInSeparateProcess]
#[PreserveGlobalState(false)]
public function test_unknown_static_facade_method(): void
{
Expand All @@ -29,7 +28,6 @@ public function test_unknown_static_facade_method(): void
TestStaticFacade::unknown();
}

#[RunInSeparateProcess]
#[PreserveGlobalState(false)]
public function test_unknown_object_factory_method(): void
{
Expand All @@ -38,7 +36,6 @@ public function test_unknown_object_factory_method(): void
(new TestObjectFacade())->unknown();
}

#[RunInSeparateProcess]
#[PreserveGlobalState(false)]
public function test_unknown_static_factory_method(): void
{
Expand All @@ -47,7 +44,6 @@ public function test_unknown_static_factory_method(): void
TestStaticFacade::unknownFacadeMethod();
}

#[RunInSeparateProcess]
#[PreserveGlobalState(false)]
public function test_module_a_static_facade(): void
{
Expand All @@ -56,7 +52,6 @@ public function test_module_a_static_facade(): void
self::assertSame(StaticFactory::STR, $actual);
}

#[RunInSeparateProcess]
#[PreserveGlobalState(false)]
public function test_module_a_object_facade(): void
{
Expand All @@ -65,7 +60,6 @@ public function test_module_a_object_facade(): void
self::assertSame(ObjectFactory::STR, $actual);
}

#[RunInSeparateProcess]
#[PreserveGlobalState(false)]
public function test_factory_static_facade_method(): void
{
Expand Down

0 comments on commit 6203515

Please sign in to comment.