Files
Blaž Hrastnik f2a51d927d indent-check: Port the auto-indent tests and cover more languages
Ports @dead10ck's YAML/Go/C test cases into the new caret format, covers
more languages
2026-11-16 18:52:00 +09:00

22 lines
291 B
PHP

<?php
function classify($value)
{
if ($a) {}
// ^ 4
switch ($value) {
case 1:
return "one";
case 2:
echo "two";
return "";
default:
return "other";
}
}
$doc = <<<EOT
unindented
indented
EOT;