Searched refs:triggerDeprecation (Results 1 – 5 of 5) sorted by relevance
158 $triggerDeprecation = \func_num_args() > 1 ? func_get_arg(1) : true;159 if ($triggerDeprecation && isset($this->attributeNameDeprecations[$name])) {173 $triggerDeprecation = \func_num_args() > 2 ? func_get_arg(2) : true;174 if ($triggerDeprecation && isset($this->attributeNameDeprecations[$name])) {213 $triggerDeprecation = \func_num_args() > 1 ? func_get_arg(1) : true;214 if ($triggerDeprecation && isset($this->nodeNameDeprecations[$name])) {231 $triggerDeprecation = \func_num_args() > 2 ? func_get_arg(2) : true;232 if ($triggerDeprecation && isset($this->nodeNameDeprecations[$name])) {
154 public function triggerDeprecation(?string $file = null, ?int $line = null): void function in Twig\\AbstractTwigCallable156 $this->options['deprecation_info']->triggerDeprecation($file, $line);
41 public function triggerDeprecation(?string $file = null, ?int $line = null): void function in Twig\\DeprecatedCallableInfo
470 $function->triggerDeprecation($src->getPath() ?: $src->getName(), $line);499 $filter->triggerDeprecation($src->getPath() ?: $src->getName(), $line);547 …$test->triggerDeprecation($src->getPath() ?: $src->getName(), $this->stream->getCurrent()->getLine…
73 $triggerDeprecation = \func_num_args() > 1 ? func_get_arg(1) : true;74 if ($triggerDeprecation) {