4 Commits

Author SHA1 Message Date
Nikita Popov
3c3bcd3125 Also format the grammar directory 2022-08-29 21:56:41 +02:00
Nikita Popov
a5033e3860 Format tests as well
The unnecessary parentheses for "new" are a bit annoying, but I
can live with it...
2022-08-29 21:52:53 +02:00
Nikita Popov
a2753c8218 Require strict_types in php-cs-fixer config 2022-08-28 23:02:46 +02:00
Nikita Popov
dd63ddbc24 Add php-cs-fixer config and reformat
The formatting in this project has become something of a mess,
because it changed over time. Add a CS fixer config and reformat
to the desired style, which is PSR-12, but with sane brace placement.
2022-08-28 22:57:06 +02:00