Skip to content

Commit a7bfc5c

Browse files
committed
fixed some deprecation messages
1 parent 4938d82 commit a7bfc5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Crawler.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1029,7 +1029,7 @@ private function relativize($xpath)
10291029

10301030
// BC for Symfony 2.4 and lower were elements were adding in a fake _root parent
10311031
if (0 === strpos($expression, '/_root/')) {
1032-
@trigger_error('XPath expressions referencing the fake root node are deprecated since version 2.8 and will be unsupported in 3.0. Please use "./" instead of "/_root/".', E_USER_DEPRECATED);
1032+
@trigger_error('XPath expressions referencing the fake root node are deprecated since Symfony 2.8 and will be unsupported in 3.0. Please use "./" instead of "/_root/".', E_USER_DEPRECATED);
10331033

10341034
$expression = './'.substr($expression, 7);
10351035
} elseif (0 === strpos($expression, 'self::*/')) {
@@ -1199,6 +1199,6 @@ private function triggerDeprecation($methodName, $useTrace = false)
11991199
}
12001200
}
12011201

1202-
@trigger_error('The '.$methodName.' method is deprecated since version 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
1202+
@trigger_error('The '.$methodName.' method is deprecated since Symfony 2.8 and will be removed in 3.0.', E_USER_DEPRECATED);
12031203
}
12041204
}

0 commit comments

Comments
 (0)