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
@trigger_error('The concept of container scopes is deprecated since version 2.8 and will be removed in 3.0. Omit the third parameter.', E_USER_DEPRECATED);
161
+
@trigger_error('The concept of container scopes is deprecated since Symfony 2.8 and will be removed in 3.0. Omit the third parameter.', E_USER_DEPRECATED);
162
162
}
163
163
164
164
if (self::SCOPE_PROTOTYPE === $scope) {
@@ -384,7 +384,7 @@ public function getServiceIds()
384
384
publicfunctionenterScope($name)
385
385
{
386
386
if ('request' !== $name) {
387
-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
387
+
@trigger_error('The '.__METHOD__.' method is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
388
388
}
389
389
390
390
if (!isset($this->scopes[$name])) {
@@ -436,7 +436,7 @@ public function enterScope($name)
436
436
publicfunctionleaveScope($name)
437
437
{
438
438
if ('request' !== $name) {
439
-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
439
+
@trigger_error('The '.__METHOD__.' method is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
440
440
}
441
441
442
442
if (!isset($this->scopedServices[$name])) {
@@ -488,7 +488,7 @@ public function addScope(ScopeInterface $scope)
488
488
$parentScope = $scope->getParentName();
489
489
490
490
if ('request' !== $name) {
491
-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
491
+
@trigger_error('The '.__METHOD__.' method is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
492
492
}
493
493
if (self::SCOPE_CONTAINER === $name || self::SCOPE_PROTOTYPE === $name) {
494
494
thrownewInvalidArgumentException(sprintf('The scope "%s" is reserved.', $name));
@@ -522,7 +522,7 @@ public function addScope(ScopeInterface $scope)
522
522
publicfunctionhasScope($name)
523
523
{
524
524
if ('request' !== $name) {
525
-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
525
+
@trigger_error('The '.__METHOD__.' method is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
526
526
}
527
527
528
528
returnisset($this->scopes[$name]);
@@ -541,7 +541,7 @@ public function hasScope($name)
541
541
*/
542
542
publicfunctionisScopeActive($name)
543
543
{
544
-
@trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
544
+
@trigger_error('The '.__METHOD__.' method is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
@trigger_error(sprintf('The "scope" attribute of service "%s" in file "%s" is deprecated since version 2.8 and will be removed in 3.0.', (string) $service->getAttribute('id'), $file), E_USER_DEPRECATED);
169
+
@trigger_error(sprintf('The "scope" attribute of service "%s" in file "%s" is deprecated since Symfony 2.8 and will be removed in 3.0.', (string) $service->getAttribute('id'), $file), E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: Loader/YamlFileLoader.php
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -171,7 +171,7 @@ private function parseDefinition($id, $service, $file)
171
171
172
172
if (isset($service['scope'])) {
173
173
if ('request' !== $id) {
174
-
@trigger_error(sprintf('The "scope" key of service "%s" in file "%s" is deprecated since version 2.8 and will be removed in 3.0.', $id, $file), E_USER_DEPRECATED);
174
+
@trigger_error(sprintf('The "scope" key of service "%s" in file "%s" is deprecated since Symfony 2.8 and will be removed in 3.0.', $id, $file), E_USER_DEPRECATED);
0 commit comments