Home
last modified time | relevance | path

Searched refs:token (Results 626 – 650 of 922) sorted by path

1...<<21222324252627282930>>...37

/plugin/findologicxmlexport/vendor/phpspec/prophecy/
H A DREADME.md118 a token object to satisfy a method typehint.
217 like simple method arguments, in reality they are not. They are argument token
306 arguments wildcarding works. Every argument token type has a different score level, which
309 scores `5` and `Argument::any()` scores `3`. So the type token wins, as does the first
310 `setName()` method prophecy and its promise. The simple rule of thumb - more precise token
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/
H A DArgumentsWildcard.php58 foreach ($this->tokens as $i => $token) {
60 if (1 >= $score = $token->scoreArgument($argument)) {
66 if (true === $token->isLast()) {
86 $this->string = implode(', ', array_map(function ($token) {
87 return (string) $token;
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Argument/Token/
H A DLogicalAndToken.php50 foreach ($this->tokens as $token) {
51 $score = $token->scoreArgument($argument);
H A DLogicalNotToken.php22 private $token; variable in Prophecy\\Argument\\Token\\LogicalNotToken
29 $this->token = $value instanceof TokenInterface? $value : new ExactValueToken($value);
41 return false === $this->token->scoreArgument($argument) ? 4 : false;
51 return $this->token->isLast();
61 return $this->token;
71 return sprintf('not(%s)', $this->token);
/plugin/findologicxmlexport/vendor/phpspec/prophecy/src/Prophecy/Call/
H A DCallCenter.php208 function ($token) {
209 return (string) $token;
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/
H A DChangeLog-4.0.md19 * Added support for `phpunit/php-token-stream` 2.0
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/
H A DCodeCoverage.php770 foreach ($tokens as $token) {
771 switch (get_class($token)) {
774 $_token = trim($token);
790 $start = $token->getLine();
817 $docblock = $token->getDocblock();
822 $endLine = $token->getEndLine();
828 $token instanceof \PHP_Token_TRAIT ||
831 for ($i = $token->getLine();
832 $i <= $token->getEndLine();
852 for ($i = $token->getLine();
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/
H A DFile.php418 foreach ($tokens as $j => $token) {
419 if (is_string($token)) {
420 if ($token === '"' && $tokens[$j - 1] !== '\\') {
423 htmlspecialchars($token)
430 htmlspecialchars($token)
437 list($token, $value) = $token;
457 switch ($token) {
/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/
H A DChangeLog.md3 All notable changes to `sebastianbergmann/php-token-stream` are documented in this file using the […
7 * Fixed [#69](https://github.com/sebastianbergmann/php-token-stream/issues/69): `PHP_Token_USE_FUNC…
13 * Fixed [#68](https://github.com/sebastianbergmann/php-token-stream/issues/68): Method with name `e…
17 [2.0.2]: https://github.com/sebastianbergmann/php-token-stream/compare/2.0.1...2.0.2
18 [2.0.1]: https://github.com/sebastianbergmann/php-token-stream/compare/2.0.0...2.0.1
19 [2.0.0]: https://github.com/sebastianbergmann/php-token-stream/compare/1.4.11...2.0.0
H A DREADME.md1 …ravis-ci.org/sebastianbergmann/php-token-stream.svg?branch=master)](https://travis-ci.org/sebastia…
3 # php-token-stream
9 composer require phpunit/php-token-stream
13 composer require --dev phpunit/php-token-stream
/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/src/Token/
H A DStream.php130 foreach ($this as $token) {
131 $buffer .= $token;
161 $token = $tokens[$i];
164 if (is_array($token)) {
166 $text = $token[1];
178 $text = $token;
306 switch (get_class($token)) {
311 $this->includes[$token->getType()][] = $token->getName();
360 foreach ($this->tokens as $token) {
361 switch (get_class($token)) {
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/tests/Token/
H A DClassTest.php29 foreach ($ts as $token) {
30 if ($token instanceof PHP_Token_CLASS) {
31 $this->class = $token;
34 if ($token instanceof PHP_Token_FUNCTION) {
35 $this->function = $token;
69 foreach ($ts as $token) {
70 if ($token instanceof PHP_Token_CLASS) {
71 $this->assertFalse($token->hasInterfaces());
H A DClosureTest.php24 foreach ($ts as $token) {
25 if ($token instanceof PHP_Token_FUNCTION) {
26 $this->functions[] = $token;
H A DFunctionTest.php24 foreach ($ts as $token) {
25 if ($token instanceof PHP_Token_FUNCTION) {
26 $this->functions[] = $token;
H A DInterfaceTest.php30 foreach ($ts as $token) {
31 if ($token instanceof PHP_Token_CLASS) {
32 $this->class = $token;
34 $this->interfaces[$i] = $token;
117 foreach ($tokenStream as $token) {
119 $package = $token->getPackage();
142 foreach ($tokenStream as $token) {
144 $package = $token->getPackage();
164 foreach ($this->interfaces as $token) {
165 $package = $token->getPackage();
[all …]
H A DNamespaceTest.php24 foreach ($tokenStream as $token) {
25 if ($token instanceof PHP_Token_NAMESPACE) {
34 foreach ($tokenStream as $token) {
35 if ($token instanceof PHP_Token_NAMESPACE) {
36 $this->assertSame(2, $token->getLine());
44 foreach ($tokenStream as $token) {
45 if ($token instanceof PHP_Token_NAMESPACE) {
53 foreach ($tokenStream as $token) {
54 if ($token instanceof PHP_Token_NAMESPACE) {
55 $this->assertSame(2, $token->getLine());
[all …]
/plugin/findologicxmlexport/vendor/sebastian/diff/src/
H A DDiffer.php240 foreach ($start as $token) {
241 $diff[] = array($token, 0 /* OLD */);
247 foreach ($common as $token) {
252 while (($toToken = \reset($to)) !== $token) {
256 $diff[] = array($token, 0 /* OLD */);
262 while (($token = \array_shift($from)) !== null) {
263 $diff[] = array($token, 2 /* REMOVED */);
266 while (($token = \array_shift($to)) !== null) {
267 $diff[] = array($token, 1 /* ADDED */);
270 foreach ($end as $token) {
[all …]
/plugin/findologicxmlexport/vendor/twig/extensions/lib/Twig/Extensions/Grammar/
H A DArguments.php22 public function parse(Twig_Token $token) argument
H A DArray.php22 public function parse(Twig_Token $token) argument
H A DBody.php31 public function parse(Twig_Token $token) argument
39 public function decideBlockEnd(Twig_Token $token) argument
41 return $token->test($this->end);
H A DBoolean.php22 public function parse(Twig_Token $token) argument
26 …return new Twig_Node_Expression_Constant('true' === $token->getValue() ? true : false, $token->get…
H A DConstant.php30 public function parse(Twig_Token $token) argument
H A DExpression.php22 public function parse(Twig_Token $token) argument
H A DHash.php22 public function parse(Twig_Token $token) argument
H A DNumber.php22 public function parse(Twig_Token $token) argument
26 return new Twig_Node_Expression_Constant($token->getValue(), $token->getLine());

1...<<21222324252627282930>>...37