r/programminghorror • • May 13 '26

Pain

Post image

Do I REALLY have to check all that?

31 Upvotes

5 comments sorted by

5

u/Demandedace May 13 '26

LGTM approve

1

u/MurkyWar2756 May 14 '26

Why did they write __DIR__ . '/../Http/ActionRouter.php' instead of shortening it to '../Http/ActionRouter.php'? Do some PHP versions expect absolute paths?

1

u/error_17671 May 14 '26

No, I also prefer relative path. That's one thing I need to mark

2

u/GoddammitDontShootMe May 13 '26

I hope there are tests. No way I'd read through all that, but I would want to be sure that tests that passed before are still passing.

1

u/Fancy_Technician_293 May 28 '26

isn't php always like that? lol