add php-styler

Signed-off-by: lubiana <lubiana123@gmail.com>
This commit is contained in:
lubiana 2023-09-26 18:17:00 +02:00 committed by lubiana
parent 6a79d7d446
commit 1667fd3253
No known key found for this signature in database
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored
View file

@ -5,3 +5,4 @@
/var/routesCache
/var/listenerCache
/.phpactor.json
/.php-styler.cache

10
php-styler.php Normal file
View file

@ -0,0 +1,10 @@
<?php
use PhpStyler\Config;
use PhpStyler\Files;
use PhpStyler\Styler;
return new Config(
files: new Files(__DIR__ . '/src'),
styler: new Styler(),
cache: __DIR__ . '/.php-styler.cache',
);