Home
last modified time | relevance | path

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

/PHP-Parser/lib/PhpParser/Lexer/
H A DEmulative.php55 $emulatorPhpVersion = $emulator->getPhpVersion();
56 if ($this->isForwardEmulationNeeded($emulatorPhpVersion)) {
58 } elseif ($this->isReverseEmulationNeeded($emulatorPhpVersion)) {
103 private function isForwardEmulationNeeded(PhpVersion $emulatorPhpVersion): bool { argument
104 return $this->hostPhpVersion->older($emulatorPhpVersion)
105 && $this->targetPhpVersion->newerOrEqual($emulatorPhpVersion);
108 private function isReverseEmulationNeeded(PhpVersion $emulatorPhpVersion): bool { argument
109 return $this->hostPhpVersion->newerOrEqual($emulatorPhpVersion)
110 && $this->targetPhpVersion->older($emulatorPhpVersion);

Completed in 4 milliseconds