Home
last modified time | relevance | path

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

/PHP-Parser/test/
H A DupdateTests.php21 foreach ($tests as list($modeLine, list($input, $expected))) {
22 $modes = $codeParsingTest->parseModeLine($modeLine);
25 $newTests[] = [$modeLine, [$input, $output]];
/PHP-Parser/test/PhpParser/
H A DCodeTestAbstract.php26 public function parseModeLine(?string $modeLine): array { argument
27 if ($modeLine === null) {
32 foreach (explode(',', $modeLine) as $mode) {
H A DPrettyPrinterTest.php31 protected function doTestPrettyPrintMethod($method, $name, $code, $expected, $modeLine) { argument
32 [$parser, $prettyPrinter] = $this->createParserAndPrinter($this->parseModeLine($modeLine));
191 …public function testFormatPreservingPrint($name, $code, $modification, $expected, $modeLine): void… argument
192 [$parser, $printer] = $this->createParserAndPrinter($this->parseModeLine($modeLine));
224 public function testRoundTripPrint($name, $code, $expected, $modeLine): void { argument
230 [$parser, $printer] = $this->createParserAndPrinter($this->parseModeLine($modeLine));
H A DCodeParsingTest.php12 public function testParse($name, $code, $expected, $modeLine): void { argument
13 $modes = $this->parseModeLine($modeLine);

Completed in 5 milliseconds