moved some more PSR0 class names to namespaced ones

This commit is contained in:
Fabien Potencier
2019-03-06 13:45:57 +01:00
parent f16405f797
commit 4eb0c9da8e
12 changed files with 18 additions and 29 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ class TokenStream
{
if (!$name instanceof Source) {
if (null !== $name || null !== $source) {
@trigger_error(sprintf('Passing a string as the $name argument of %s() is deprecated since version 1.27. Pass a \Twig_Source instance instead.', __METHOD__), E_USER_DEPRECATED);
@trigger_error(sprintf('Passing a string as the $name argument of %s() is deprecated since version 1.27. Pass a \Twig\Source instance instead.', __METHOD__), E_USER_DEPRECATED);
}
$this->source = new Source($source, $name);
} else {