Home
last modified time | relevance | path

Searched refs:sprintf (Results 1 – 25 of 173) sorted by relevance

1234567

/template/twigstarter/vendor/twig/twig/src/
DDeprecatedCallableInfo.php43 $message = \sprintf('Twig %s "%s" is deprecated', ucfirst($this->type), $this->name);
46 $message .= \sprintf('; use "%s"', $this->altName);
48 $message .= \sprintf(' from the "%s" package', $this->altPackage);
51 $message .= \sprintf(' (available since version %s)', $this->altVersion);
57 $message .= \sprintf(' in %s', $file);
59 $message .= \sprintf(' at line %d', $line);
DTokenStream.php31 …trigger_deprecation('twig/twig', '3.16', \sprintf('Not passing a "%s" object to "%s" constructor i…
80 throw new SyntaxError(\sprintf('%sUnexpected token "%s"%s ("%s" expected%s).',
83 $token->getValue() ? \sprintf(' of value "%s"', $token->getValue()) : '',
84 Token::typeToEnglish($type), $value ? \sprintf(' with value "%s"', $value) : ''),
DExtensionSet.php95 throw new RuntimeError(\sprintf('The "%s" extension is not enabled.', $class));
159 …throw new \LogicException(\sprintf('Unable to register extension "%s" as extensions have already b…
163 …throw new \LogicException(\sprintf('Unable to register extension "%s" as it is already registered.…
172 …throw new \LogicException(\sprintf('Unable to add function "%s" as extensions have already been in…
228 …throw new \LogicException(\sprintf('Unable to add filter "%s" as extensions have already been init…
383 …throw new \LogicException(\sprintf('Unable to add test "%s" as extensions have already been initia…
512 …throw new \InvalidArgumentException(\sprintf('"%s::getOperators()" must return an array with opera…
516 …throw new \InvalidArgumentException(\sprintf('"%s::getOperators()" must return an array of 2 eleme…
527 …default => throw new \InvalidArgumentException(\sprintf('Invalid associativity "%s" for operator "…
538 …trigger_deprecation('twig/twig', '3.21', \sprintf('Extension "%s" uses the old signature for "getO…
[all …]
/template/strap/vendor/php-webdriver/webdriver/lib/
H A DAbstractWebDriverCheckboxOrRadio.php69 sprintf('No %s are selected', $this->type === 'radio' ? 'radio buttons' : 'checkboxes')
114 sprintf('Cannot locate %s with value: %s', $this->type, $value)
130 … throw new NoSuchElementException(sprintf('Cannot locate %s with index: %d', $this->type, $index));
146 $normalizeFilter = sprintf(
152 $xpathNormalize = sprintf('%s[%s]', $xpath, $normalizeFilter);
156 $idFilter = sprintf('@for = %s', XPathEscaper::escapeQuotes($id));
158 $xpath .= sprintf(' | //label[%s]', $idFilter);
159 $xpathNormalize .= sprintf(' | //label[%s and %s]', $idFilter, $normalizeFilter);
195 … $valueSelector = $value ? sprintf(' and @value = %s', XPathEscaper::escapeQuotes($value)) : '';
203sprintf('.//input[@name = %s%s]', XPathEscaper::escapeQuotes($this->name), $valueSelector)
[all …]
/template/twigstarter/vendor/twig/twig/src/Node/
DWithNode.php41 $compiler->write(\sprintf("\$%s = \$context;\n", $parentContextName));
47 ->write(\sprintf('$%s = ', $varsName))
50 ->write(\sprintf("if (!is_iterable(\$%s)) {\n", $varsName))
57 ->write(\sprintf("\$%s = CoreExtension::toArray(\$%s);\n", $varsName, $varsName))
64 …$compiler->write(\sprintf("\$context = \$%s + \$context + \$this->env->getGlobals();\n", $varsName…
69 ->write(\sprintf("\$context = \$%s;\n", $parentContextName))
DModuleNode.php39 …trigger_deprecation('twig/twig', '3.12', \sprintf('Not passing a "%s" instance as the "body" argum…
42 …trigger_deprecation('twig/twig', '3.21', \sprintf('Not passing a "%s" instance as the "embedded_te…
234 ->write(\sprintf('$_trait_%s = $this->load(', $i))
239 ->write(\sprintf("if (!\$_trait_%s->unwrap()->isTraitable()) {\n", $i))
248 … ->write(\sprintf("\$_trait_%s_blocks = \$_trait_%s->unwrap()->getBlocks();\n\n", $i, $i))
253 ->write(\sprintf('if (!isset($_trait_%s_blocks[', $i))
267 ->write(\sprintf('$_trait_%s_blocks[', $i))
269 ->raw(\sprintf('] = $_trait_%s_blocks[', $i))
271 ->raw(\sprintf(']; unset($_trait_%s_blocks[', $i))
290 … ->write(\sprintf('$_trait_%s_blocks'.($i == $countTraits - 1 ? '' : ',')."\n", $i))
[all …]
DNode.php51 …trigger_deprecation('twig/twig', '3.15', \sprintf('Instantiating "%s" directly is deprecated; the …
56 …throw new \InvalidArgumentException(\sprintf('Using "%s" for the value of node "%s" of "%s" is not…
64 …trigger_deprecation('twig/twig', '3.12', \sprintf('The "tag" constructor argument of the "%s" clas…
73 $repr .= \sprintf("\n tag: %s", $this->tag);
85 $attributes[] = \sprintf('%s: %s', $name, $v);
89 $repr .= \sprintf("\n attributes:\n %s", implode("\n ", $attributes));
101 $repr .= \sprintf("\n %s: %s", $name, ltrim(implode("\n", $noderepr)));
155 …throw new \LogicException(\sprintf('Attribute "%s" does not exist for Node "%s".', $name, static::…
210 …throw new \LogicException(\sprintf('Node "%s" does not exist for Node "%s".', $name, static::class…
DIncludeNode.php47 ->write(\sprintf('$%s = ', $template))
58 ->write(\sprintf("\$$template = null;\n", $template))
61 ->write(\sprintf("if ($%s) {\n", $template))
65 $compiler->write(\sprintf('yield from $%s->unwrap()->yield(', $template));
DMacroNode.php37 …trigger_deprecation('twig/twig', '3.12', \sprintf('Not passing a "%s" instance as the "body" argum…
41 …trigger_deprecation('twig/twig', '3.15', \sprintf('Not passing a "%s" instance as the "arguments" …
52 …throw new SyntaxError(\sprintf('The argument "%s" in macro "%s" cannot be defined because the vari…
63 ->write(\sprintf('public function macro_%s(', $this->getAttribute('name')))
/template/strap/vendor/symfony/yaml/
H A DDumper.php84 …$output .= sprintf('%s%s%s |%s%s', $prefix, $dumpAsMap ? Inline::dump($key, $flags).':' : '-', '',…
90 … $output .= sprintf("\n%s%s%s", $prefix, str_repeat(' ', $this->indentation), $row);
98 …$output .= sprintf('%s%s !%s', $prefix, $dumpAsMap ? Inline::dump($key, $flags).':' : '-', $value-…
104 $output .= sprintf(' |%s', $blockIndentationIndicator);
107 … $output .= sprintf("\n%s%s%s", $prefix, str_repeat(' ', $this->indentation), $row);
131 $output .= sprintf('%s%s%s%s',
145 $output = sprintf('%s!%s', $prefix ? $prefix.' ' : '', $value->getTag());
151 $output .= sprintf(' |%s', $blockIndentationIndicator);
154 $output .= sprintf("\n%s%s%s", $prefix, str_repeat(' ', $this->indentation), $row);
H A DInline.php94 …throw new ParseException(sprintf('Unexpected characters near "%s".', substr($value, $i)), self::$p…
122 …throw new DumpException(sprintf('Unable to dump PHP resources in a YAML file ("%s").', get_resourc…
129 return sprintf('!php/const %s::%s', \get_class($value), $value->name);
143 … $output[] = sprintf('%s: %s', self::dump($key, $flags), self::dump($val, $flags));
146 return sprintf('{ %s }', implode(', ', $output));
240 return sprintf('[%s]', implode(', ', $output));
246 $output[] = sprintf('%s: %s', self::dump($key, $flags), self::dump($val, $flags));
249 return sprintf('{ %s }', implode(', ', $output));
278 …throw new ParseException(sprintf('Unexpected end of line, expected one of "%s".', implode('', $del…
281 …throw new ParseException(sprintf('Unexpected characters (%s).', substr($scalar, $i)), self::$parse…
[all …]
/template/strap/vendor/php-webdriver/webdriver/lib/Support/
H A DXPathEscaper.php18 return sprintf("'%s'", $xpathToEscape);
23 return sprintf('"%s"', $xpathToEscape);
27 return sprintf(
/template/strap/vendor/php-webdriver/webdriver/lib/Remote/
H A DJsonWireCompat.php48 $value = sprintf('.%s', self::escapeSelector($value));
52 $value = sprintf('#%s', self::escapeSelector($value));
56 $value = sprintf('[name=\'%s\']', self::escapeSelector($value));
86 return sprintf('\\%X ', $ord);
/template/twigstarter/vendor/twig/twig/src/Node/Expression/
DCallExpression.php48 $compiler->raw(\sprintf('%s::%s', $callable[0], $callable[1]));
50 … $compiler->raw(\sprintf('$this->env->getRuntime(\'%s\')->%s', $callable[0], $callable[1]));
56 $compiler->raw(\sprintf('$this->env->getExtension(\'%s\')', $class));
58 $compiler->raw(\sprintf('$this->extensions[\'%s\']', ltrim($class, '\\')));
61 $compiler->raw(\sprintf('->%s', $callable[1]));
63 …$compiler->raw(\sprintf('$this->env->get%s(\'%s\')->getCallable()', ucfirst($this->getAttribute('t…
158 …throw new SyntaxError(\sprintf('Positional arguments cannot be used after named arguments for %s "…
171 … $message = \sprintf('Named arguments are not supported for %s "%s".', $callType, $callName);
173 …$message = \sprintf('Arbitrary positional arguments are not supported for %s "%s".', $callType, $c…
199 …throw new SyntaxError(\sprintf('Argument "%s" is defined twice for %s "%s".', $name, $callType, $c…
[all …]
/template/twigstarter/vendor/twig/twig/src/Util/
DCallableArgumentsExtractor.php50 …throw new SyntaxError(\sprintf('Positional arguments cannot be used after named arguments for %s "…
62 …throw new SyntaxError(\sprintf('Value for argument "%s" is required for %s "%s".', $argName, $this…
70 …throw new SyntaxError(\sprintf('Named arguments are not supported for %s "%s".', $this->twigCallab…
73 …throw new SyntaxError(\sprintf('Arbitrary positional arguments are not supported for %s "%s".', $t…
97 …throw new SyntaxError(\sprintf('Argument "%s" is defined twice for %s "%s".', $callableParameterNa…
101 throw new SyntaxError(\sprintf(
126 …throw new SyntaxError(\sprintf('Value for argument "%s" is required for %s "%s".', $this->toSnakeC…
138 …trigger_deprecation('twig/twig', '3.15', \sprintf('Using "snake_case" for variadic arguments is re…
163 \sprintf(
217 …throw new SyntaxError(\sprintf('The last parameter of "%s" for %s "%s" must be an array with defau…
/template/twigstarter/vendor/twig/twig/src/Profiler/Dumper/
DTextDumper.php23 return \sprintf('%s└ %s', $prefix, $profile->getTemplate());
28 …return \sprintf('%s└ %s::%s(%s)', $prefix, $profile->getTemplate(), $profile->getType(), $profile-…
33 return \sprintf('%.2fms/%.0f%%', $profile->getDuration() * 1000, $percent);
DHtmlDumper.php40 …return \sprintf('%s└ <span style="background-color: %s">%s</span>', $prefix, self::$colors['templa…
45 …return \sprintf('%s└ %s::%s(<span style="background-color: %s">%s</span>)', $prefix, self::escape(…
50 …return \sprintf('<span style="color: %s">%.2fms/%.0f%%</span>', $percent > 20 ? self::$colors['big…
/template/twigstarter/vendor/twig/twig/src/Extension/
DStagingExtension.php38 … throw new \LogicException(\sprintf('Function "%s" is already registered.', $function->getName()));
52 … throw new \LogicException(\sprintf('Filter "%s" is already registered.', $filter->getName()));
76 … throw new \LogicException(\sprintf('Tag "%s" is already registered.', $parser->getTag()));
90 … throw new \LogicException(\sprintf('Test "%s" is already registered.', $test->getName()));
/template/twigstarter/vendor/twig/twig/src/Node/Expression/Binary/
DStartsWithBinary.php24 ->raw(\sprintf('(is_string($%s = ', $left))
26 ->raw(\sprintf(') && is_string($%s = ', $right))
28 ->raw(\sprintf(') && str_starts_with($%1$s, $%2$s))', $left, $right))
DEndsWithBinary.php24 ->raw(\sprintf('(is_string($%s = ', $left))
26 ->raw(\sprintf(') && is_string($%s = ', $right))
28 ->raw(\sprintf(') && str_ends_with($%1$s, $%2$s))', $left, $right))
/template/twigstarter/vendor/twig/twig/src/Cache/
DFilesystemCache.php53 … throw new \RuntimeException(\sprintf('Unable to create the cache directory (%s).', $dir));
57 … throw new \RuntimeException(\sprintf('Unable to write in the cache directory (%s).', $dir));
76 throw new \RuntimeException(\sprintf('Failed to write cache file "%s".', $key));
83 throw new \RuntimeException(\sprintf('Failed to delete cache file "%s".', $key));
/template/twigstarter/vendor/twig/twig/src/Sandbox/
DSecurityPolicy.php91 … throw new SecurityNotAllowedTagError(\sprintf('Tag "%s" is not allowed.', $tag), $tag);
98 …throw new SecurityNotAllowedFilterError(\sprintf('Filter "%s" is not allowed.', $filter), $filter);
111 …throw new SecurityNotAllowedFunctionError(\sprintf('Function "%s" is not allowed.', $function), $f…
134 …throw new SecurityNotAllowedMethodError(\sprintf('Calling "%s" method on a "%s" object is not allo…
150 …throw new SecurityNotAllowedPropertyError(\sprintf('Calling "%s" property on a "%s" object is not …
/template/twigstarter/vendor/twig/twig/src/Loader/
DArrayLoader.php47 throw new LoaderError(\sprintf('Template "%s" is not defined.', $name));
61 throw new LoaderError(\sprintf('Template "%s" is not defined.', $name));
70 throw new LoaderError(\sprintf('Template "%s" is not defined.', $name));
/template/twigstarter/vendor/twig/twig/src/Node/Expression/FunctionNode/
DEnumFunction.php45 …throw new SyntaxError(\sprintf('The first argument of the "enum" function must be the name of an e…
49 …throw new SyntaxError(\sprintf('The first argument of the "enum" function must be a non-empty enum…
52 $compiler->raw(\sprintf('%s::%s', $value, $cases[0]->name));
/template/strap/vendor/antlr/antlr4-php-runtime/src/
H A DParserTraceListener.php26 echo \sprintf(
35 echo \sprintf(
47 echo \sprintf(

1234567