Skip to content

Commit af62649

Browse files
derrabusostrolucky
authored andcommitted
Remove VarExporter from dependencies
1 parent 20e26d9 commit af62649

3 files changed

Lines changed: 1 addition & 19 deletions

File tree

composer.json

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,12 @@
5959
"symfony/string": "^6.4 || ^7.0 || ^8.0",
6060
"symfony/twig-bridge": "^6.4 || ^7.0 || ^8.0",
6161
"symfony/validator": "^6.4 || ^7.0 || ^8.0",
62-
"symfony/var-exporter": "^6.4.1 || ^7.0.1 || ^8.0",
6362
"symfony/web-profiler-bundle": "^6.4 || ^7.0 || ^8.0",
6463
"symfony/yaml": "^6.4 || ^7.0 || ^8.0",
6564
"twig/twig": "^3.21.1"
6665
},
6766
"conflict": {
6867
"doctrine/orm": "<3.0 || >=4.0",
69-
"symfony/var-exporter": "< 6.4.1 || 7.0.0",
7068
"twig/twig": "<3.0.4"
7169
},
7270
"suggest": {

tests/DependencyInjection/AbstractDoctrineExtensionTestCase.php

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@
2626
use PDO;
2727
use PHPUnit\Framework\Attributes\DataProvider;
2828
use PHPUnit\Framework\Attributes\IgnoreDeprecations;
29-
use PHPUnit\Framework\Attributes\RequiresMethod;
3029
use PHPUnit\Framework\TestCase;
3130
use Symfony\Bridge\Doctrine\DependencyInjection\CompilerPass\RegisterEventListenersAndSubscribersPass;
3231
use Symfony\Bundle\DoctrineBundle\Tests\DependencyInjection\TestHydrator;
@@ -41,7 +40,6 @@
4140
use Symfony\Component\DependencyInjection\Reference;
4241
use Symfony\Component\DependencyInjection\ServiceLocator;
4342
use Symfony\Component\Security\Core\User\UserInterface;
44-
use Symfony\Component\VarExporter\ProxyHelper;
4543

4644
use function array_filter;
4745
use function array_keys;
@@ -1186,7 +1184,6 @@ public function testDisableSchemaValidation(): void
11861184
$this->assertFalse($collectorDefinition->getArguments()[1]);
11871185
}
11881186

1189-
#[RequiresMethod(ProxyHelper::class, 'generateLazyGhost')]
11901187
public function testNativeLazyObjectsWithoutConfig(): void
11911188
{
11921189
if (! interface_exists(EntityManagerInterface::class)) {
@@ -1211,15 +1208,14 @@ public function testNativeLazyObjectsWithConfigTrue(): void
12111208
$this->assertTrue($entityManager->getConfiguration()->isNativeLazyObjectsEnabled());
12121209
}
12131210

1214-
#[RequiresMethod(ProxyHelper::class, 'generateLazyGhost')]
12151211
public function testNativeLazyObjectsWithConfigFalse(): void
12161212
{
12171213
if (! interface_exists(EntityManagerInterface::class)) {
12181214
self::markTestSkipped('This test requires ORM');
12191215
}
12201216

12211217
$this->expectException(InvalidConfigurationException::class);
1222-
$container = $this->loadContainer('orm_native_lazy_objects_disable');
1218+
$this->loadContainer('orm_native_lazy_objects_disable');
12231219
}
12241220

12251221
/** @param list<string> $bundles */

tests/LazyObjectEntityManagerInterface.php

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)