swap filter/function and package names
This commit is contained in:
parent
5f05774f0c
commit
9db699bd8d
@ -62,7 +62,7 @@ class UndefinedCallableHandler
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Twig will append the source context to the message, so that it will end up being like "[...] Unknown filter "%s" in foo.html.twig on line 123."
|
// Twig will append the source context to the message, so that it will end up being like "[...] Unknown filter "%s" in foo.html.twig on line 123."
|
||||||
throw new SyntaxError(sprintf('Did you forget to run "composer require symfony/%s"? Unknown filter "%s".', $name, self::$filterComponents[$name]));
|
throw new SyntaxError(sprintf('Did you forget to run "composer require symfony/%s"? Unknown filter "%s".', self::$filterComponents[$name], $name));
|
||||||
}
|
}
|
||||||
|
|
||||||
public static function onUndefinedFunction($name)
|
public static function onUndefinedFunction($name)
|
||||||
@ -71,6 +71,6 @@ class UndefinedCallableHandler
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
throw new SyntaxError(sprintf('Did you forget to run "composer require symfony/%s"? Unknown function "%s".', $name, self::$functionComponents[$name]));
|
throw new SyntaxError(sprintf('Did you forget to run "composer require symfony/%s"? Unknown function "%s".', self::$functionComponents[$name], $name));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user