You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Mapping/Factory/ClassMetadataFactory.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,7 @@ public function __construct(LoaderInterface $loader, Cache $cache = null)
35
35
$this->cache = $cache;
36
36
37
37
if (null !== $cache) {
38
-
@trigger_error(sprintf('Passing a Doctrine Cache instance as 2nd parameter of the "%s" constructor is deprecated since Symfony 3.1. This parameter will be removed in Symfony 4.0. Use the "%s" class instead.', __CLASS__, CacheClassMetadataFactory::class), E_USER_DEPRECATED);
38
+
@trigger_error(sprintf('Passing a Doctrine Cache instance as 2nd parameter of the "%s" constructor is deprecated since Symfony 3.1. This parameter will be removed in Symfony 4.0. Use the "%s" class instead.', __CLASS__, CacheClassMetadataFactory::class), \E_USER_DEPRECATED);
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
310
-
@trigger_error(sprintf('Method %s::%s() will have a 6th `string $format = null` argument in version 4.0. Not defining it is deprecated since Symfony 3.2.', static::class, __FUNCTION__), E_USER_DEPRECATED);
310
+
@trigger_error(sprintf('Method %s::%s() will have a 6th `string $format = null` argument in version 4.0. Not defining it is deprecated since Symfony 3.2.', static::class, __FUNCTION__), \E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: Serializer.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -196,7 +196,7 @@ public function supportsNormalization($data, $format = null/*, array $context =
196
196
if (__CLASS__ !== static::class) {
197
197
$r = new \ReflectionMethod($this, __FUNCTION__);
198
198
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
199
-
@trigger_error(sprintf('The "%s()" method will have a third `$context = []` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), E_USER_DEPRECATED);
199
+
@trigger_error(sprintf('The "%s()" method will have a third `$context = []` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), \E_USER_DEPRECATED);
200
200
}
201
201
}
202
202
@@ -217,7 +217,7 @@ public function supportsDenormalization($data, $type, $format = null/*, array $c
217
217
if (__CLASS__ !== static::class) {
218
218
$r = new \ReflectionMethod($this, __FUNCTION__);
219
219
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
220
-
@trigger_error(sprintf('The "%s()" method will have a fourth `$context = []` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), E_USER_DEPRECATED);
220
+
@trigger_error(sprintf('The "%s()" method will have a fourth `$context = []` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), \E_USER_DEPRECATED);
221
221
}
222
222
}
223
223
@@ -295,7 +295,7 @@ public function supportsEncoding($format/*, array $context = []*/)
295
295
if (__CLASS__ !== static::class) {
296
296
$r = new \ReflectionMethod($this, __FUNCTION__);
297
297
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
298
-
@trigger_error(sprintf('The "%s()" method will have a second `$context = []` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), E_USER_DEPRECATED);
298
+
@trigger_error(sprintf('The "%s()" method will have a second `$context = []` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), \E_USER_DEPRECATED);
299
299
}
300
300
}
301
301
@@ -316,7 +316,7 @@ public function supportsDecoding($format/*, array $context = []*/)
316
316
if (__CLASS__ !== static::class) {
317
317
$r = new \ReflectionMethod($this, __FUNCTION__);
318
318
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
319
-
@trigger_error(sprintf('The "%s()" method will have a second `$context = []` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), E_USER_DEPRECATED);
319
+
@trigger_error(sprintf('The "%s()" method will have a second `$context = []` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), \E_USER_DEPRECATED);
0 commit comments