Searched refs:fromComponents (Results 1 – 13 of 13) sorted by relevance
/PHP-Parser/test/PhpParser/ |
H A D | PhpVersionTest.php | 7 $version = PhpVersion::fromComponents(8, 2); 27 $php74 = PhpVersion::fromComponents(7, 4); 28 $php81 = PhpVersion::fromComponents(8, 1); 29 $php82 = PhpVersion::fromComponents(8, 2);
|
H A D | PrettyPrinterTest.php | 258 'phpVersion' => PhpVersion::fromComponents(7, 2),
|
/PHP-Parser/lib/PhpParser/ |
H A D | PhpVersion.php | 37 public static function fromComponents(int $major, int $minor): self { function in PhpParser\\PhpVersion 46 return self::fromComponents(8, 4); 53 return self::fromComponents(\PHP_MAJOR_VERSION, \PHP_MINOR_VERSION); 63 return self::fromComponents((int) $matches[1], (int) $matches[2]);
|
H A D | PrettyPrinterAbstract.php | 193 $this->phpVersion = $options['phpVersion'] ?? PhpVersion::fromComponents(7, 4);
|
/PHP-Parser/lib/PhpParser/Lexer/TokenEmulator/ |
H A D | MatchTokenEmulator.php | 9 return PhpVersion::fromComponents(8, 0);
|
H A D | PropertyTokenEmulator.php | 9 return PhpVersion::fromComponents(8, 4);
|
H A D | ReadonlyFunctionTokenEmulator.php | 24 return PhpVersion::fromComponents(8, 2);
|
H A D | EnumTokenEmulator.php | 9 return PhpVersion::fromComponents(8, 1);
|
H A D | ReadonlyTokenEmulator.php | 9 return PhpVersion::fromComponents(8, 1);
|
H A D | AttributeEmulator.php | 10 return PhpVersion::fromComponents(8, 0);
|
H A D | ExplicitOctalEmulator.php | 10 return PhpVersion::fromComponents(8, 1);
|
H A D | NullsafeTokenEmulator.php | 10 return PhpVersion::fromComponents(8, 0);
|
H A D | AsymmetricVisibilityTokenEmulator.php | 10 return PhpVersion::fromComponents(8, 4);
|
Completed in 18 milliseconds