Home
last modified time | relevance | path

Searched refs:fromComponents (Results 1 – 13 of 13) sorted by relevance

/PHP-Parser/test/PhpParser/
H A DPhpVersionTest.php7 $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 DPrettyPrinterTest.php258 'phpVersion' => PhpVersion::fromComponents(7, 2),
/PHP-Parser/lib/PhpParser/
H A DPhpVersion.php37 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 DPrettyPrinterAbstract.php193 $this->phpVersion = $options['phpVersion'] ?? PhpVersion::fromComponents(7, 4);
/PHP-Parser/lib/PhpParser/Lexer/TokenEmulator/
H A DMatchTokenEmulator.php9 return PhpVersion::fromComponents(8, 0);
H A DPropertyTokenEmulator.php9 return PhpVersion::fromComponents(8, 4);
H A DReadonlyFunctionTokenEmulator.php24 return PhpVersion::fromComponents(8, 2);
H A DEnumTokenEmulator.php9 return PhpVersion::fromComponents(8, 1);
H A DReadonlyTokenEmulator.php9 return PhpVersion::fromComponents(8, 1);
H A DAttributeEmulator.php10 return PhpVersion::fromComponents(8, 0);
H A DExplicitOctalEmulator.php10 return PhpVersion::fromComponents(8, 1);
H A DNullsafeTokenEmulator.php10 return PhpVersion::fromComponents(8, 0);
H A DAsymmetricVisibilityTokenEmulator.php10 return PhpVersion::fromComponents(8, 4);

Completed in 18 milliseconds