Searched refs:modeLine (Results 1 – 4 of 4) sorted by relevance
/PHP-Parser/test/ |
H A D | updateTests.php | 21 foreach ($tests as list($modeLine, list($input, $expected))) { 22 $modes = $codeParsingTest->parseModeLine($modeLine); 25 $newTests[] = [$modeLine, [$input, $output]];
|
/PHP-Parser/test/PhpParser/ |
H A D | CodeTestAbstract.php | 26 public function parseModeLine(?string $modeLine): array { argument 27 if ($modeLine === null) { 32 foreach (explode(',', $modeLine) as $mode) {
|
H A D | PrettyPrinterTest.php | 31 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 D | CodeParsingTest.php | 12 public function testParse($name, $code, $expected, $modeLine): void { argument 13 $modes = $this->parseModeLine($modeLine);
|
Completed in 5 milliseconds