indents(php): don't use aligned_indent for php

Fixes #2497
This commit is contained in:
Stephan Seitz 2022-02-12 23:12:07 +01:00
parent 503c99d766
commit 3fbf280e34
3 changed files with 17 additions and 5 deletions

View file

@ -0,0 +1,14 @@
<?php
use Illuminate\Support\Facades\Route;
Route::get('/', function () {
return view('welcome');
});
Route::get(
'/',
1,
aaaaaaaaaaaaaaaaaaaaaaaaa,
2
);

View file

@ -20,5 +20,6 @@ describe("indent PHP:", function()
"example2.php",
{ on_line = 5, text = "indendation with `enter` in insert mode is not correct", indent = 4 }
)
run:new_line("issue-2497.php", { on_line = 5, text = "$a =", indent = 4 })
end)
end)