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 version 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()) {
316
-
@trigger_error(sprintf('Method %s::%s() will have a 6th `string $format = null` argument in version 4.0. Not defining it is deprecated since 3.2.', get_class($this), __FUNCTION__), E_USER_DEPRECATED);
316
+
@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.', get_class($this), __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
@@ -185,7 +185,7 @@ public function supportsNormalization($data, $format = null/*, array $context =
185
185
if (__CLASS__ !== get_class($this)) {
186
186
$r = new \ReflectionMethod($this, __FUNCTION__);
187
187
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
188
-
@trigger_error(sprintf('Method %s() will have a third `$context = array()` argument in version 4.0. Not defining it is deprecated since 3.3.', __METHOD__), E_USER_DEPRECATED);
188
+
@trigger_error(sprintf('Method %s() will have a third `$context = array()` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), E_USER_DEPRECATED);
189
189
}
190
190
}
191
191
@@ -206,7 +206,7 @@ public function supportsDenormalization($data, $type, $format = null/*, array $c
206
206
if (__CLASS__ !== get_class($this)) {
207
207
$r = new \ReflectionMethod($this, __FUNCTION__);
208
208
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
209
-
@trigger_error(sprintf('Method %s() will have a fourth `$context = array()` argument in version 4.0. Not defining it is deprecated since 3.3.', __METHOD__), E_USER_DEPRECATED);
209
+
@trigger_error(sprintf('Method %s() will have a fourth `$context = array()` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), E_USER_DEPRECATED);
210
210
}
211
211
}
212
212
@@ -306,7 +306,7 @@ public function supportsEncoding($format/*, array $context = array()*/)
306
306
if (__CLASS__ !== get_class($this)) {
307
307
$r = new \ReflectionMethod($this, __FUNCTION__);
308
308
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
309
-
@trigger_error(sprintf('Method %s() will have a second `$context = array()` argument in version 4.0. Not defining it is deprecated since 3.3.', __METHOD__), E_USER_DEPRECATED);
309
+
@trigger_error(sprintf('Method %s() will have a second `$context = array()` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), E_USER_DEPRECATED);
310
310
}
311
311
}
312
312
@@ -327,7 +327,7 @@ public function supportsDecoding($format/*, array $context = array()*/)
327
327
if (__CLASS__ !== get_class($this)) {
328
328
$r = new \ReflectionMethod($this, __FUNCTION__);
329
329
if (__CLASS__ !== $r->getDeclaringClass()->getName()) {
330
-
@trigger_error(sprintf('Method %s() will have a second `$context = array()` argument in version 4.0. Not defining it is deprecated since 3.3.', __METHOD__), E_USER_DEPRECATED);
330
+
@trigger_error(sprintf('Method %s() will have a second `$context = array()` argument in version 4.0. Not defining it is deprecated since Symfony 3.3.', __METHOD__), E_USER_DEPRECATED);
0 commit comments