Skip to content
This repository was archived by the owner on Sep 16, 2021. It is now read-only.

Commit 1adb254

Browse files
committed
declare conflict with too old jms/serializer
we need a version that provides JMS\Serializer\Visitor\SerializationVisitorInterface
1 parent 7d998d3 commit 1adb254

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,7 @@
5353
}
5454
},
5555
"conflict": {
56+
"jms/serializer": "<2.2.0",
5657
"sebastian/environment": "<1.3.4",
5758
"sebastian/exporter": "<2.0.0"
5859
},

tests/Unit/DependencyInjection/CmfResourceRestExtensionTest.php

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,13 @@ public function testExtension($config)
4949
$this->compile();
5050
}
5151

52-
/**
53-
* @expectedException \LogicException
54-
* @expectedExceptionMessage The JMSSerializerBundle must be registered
55-
*/
5652
public function testNoJmsSerializerBundleRegistered()
5753
{
5854
$this->container->setParameter('kernel.bundles', []);
5955

56+
$this->expectException(\LogicException::class);
57+
$this->expectExceptionMessage('The JMSSerializerBundle must be registered');
58+
6059
$this->load([]);
61-
$this->compile();
6260
}
6361
}

0 commit comments

Comments
 (0)