Skip to content

Commit 80d7785

Browse files
Dnyaneshwar S JambhulkarDnyaneshwar S Jambhulkar
authored andcommitted
AC-15068::Laminas MVC Retiring
1 parent 2eb1c96 commit 80d7785

11 files changed

+22
-25
lines changed

lib/internal/Magento/Framework/Setup/Test/Unit/Mvc/ModuleManagerFactoryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,5 +29,3 @@ public function testFactoryCreatesModuleManagerWithConfigModulesAndEventManager(
2929
$this->assertInstanceOf(ModuleManager::class, $instance);
3030
}
3131
}
32-
33-

lib/internal/Magento/Framework/Setup/Test/Unit/Mvc/ModuleManagerTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,5 +41,3 @@ public function testLoadModulesMergesConfigAndTriggersEvent(): void
4141
$this->assertSame('bar', $captured['config']['service_manager']['services']['foo'] ?? null);
4242
}
4343
}
44-
45-

lib/internal/Magento/Framework/Setup/Test/Unit/Mvc/MvcApplicationTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,3 @@ public function testBootstrapInvokesListeners(): void
6969
$this->assertTrue(TestBootstrapListener::$bootstrapped);
7070
}
7171
}
72-
73-

lib/internal/Magento/Framework/Setup/Test/Unit/Mvc/MvcEventTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,5 +23,3 @@ public function testSetGetApplication(): void
2323
$this->assertSame($app, $event->getApplication());
2424
}
2525
}
26-
27-

lib/internal/Magento/Framework/Setup/Test/Unit/Mvc/MvcServiceManagerConfigTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,3 @@ public function testToArrayReturnsConfig(): void
4242
$this->assertArrayHasKey('aliases', $cfg->toArray());
4343
}
4444
}
45-
46-

lib/internal/Magento/Framework/Setup/Test/Unit/Mvc/ServiceListenerFactoryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,3 @@ public function testFactoryReturnsServiceListener(): void
2222
$this->assertInstanceOf(ServiceListener::class, $listener);
2323
}
2424
}
25-
26-

lib/internal/Magento/Framework/Setup/Test/Unit/Mvc/ServiceManagerFactoryTest.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,3 @@ public function testGetHasBuildDelegatesToUnderlyingServiceManager(): void
3434
$this->assertSame('b', $bridge->build('beta'));
3535
}
3636
}
37-
38-

lib/internal/Magento/Framework/Setup/Test/Unit/_files/FixtureModule.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
<?php
2+
/**
3+
* Copyright 2025 Adobe
4+
* All Rights Reserved.
5+
*/
26
declare(strict_types=1);
37

48
namespace Magento\Framework\Setup\Test\Unit\Mvc\Fixture;
59

6-
final class Module
10+
class Module
711
{
812
public function getConfig(): array
913
{
@@ -16,5 +20,3 @@ public function getConfig(): array
1620
];
1721
}
1822
}
19-
20-

lib/internal/Magento/Framework/Setup/Test/Unit/_files/TestBootstrapListener.php

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,26 @@
11
<?php
2+
/**
3+
* Copyright 2025 Adobe
4+
* All Rights Reserved.
5+
*/
26
declare(strict_types=1);
37

48
namespace Magento\Framework\Setup\Mvc;
59

610
use Magento\Framework\Setup\Mvc\MvcApplication;
711
use Magento\Framework\Setup\Mvc\MvcEvent;
812

9-
final class TestBootstrapListener
13+
class TestBootstrapListener
1014
{
15+
/**
16+
* Flag to track if bootstrap event was triggered
17+
*
18+
* @var bool
19+
*/
1120
public static bool $bootstrapped = false;
1221

1322
public function onBootstrap(MvcEvent $event): void
1423
{
1524
self::$bootstrapped = $event->getApplication() instanceof MvcApplication;
1625
}
1726
}
18-
19-

lib/internal/Magento/Framework/Setup/Test/Unit/_files/TestModule.php

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
11
<?php
2+
/**
3+
* Copyright 2025 Adobe
4+
* All Rights Reserved.
5+
*/
26
declare(strict_types=1);
37

48
namespace Magento\Framework\Setup\Mvc;
59

6-
final class TestModule
10+
class TestModule
711
{
812
public function getConfig(): array
913
{
@@ -16,5 +20,3 @@ public function getConfig(): array
1620
];
1721
}
1822
}
19-
20-

0 commit comments

Comments
 (0)