mirror of
https://github.com/superhelio/commands.git
synced 2026-01-26 11:44:01 +00:00
feat: update dependencies, add linting, fix codebase, cleanup (#11)
* chore(deps): update dependencies * feat(tests): add matrix testing, problem matcher * feat(lint): add php-cs-fixer, fix codebase
This commit is contained in:
15
.php-cs-fixer.dist.php
Normal file
15
.php-cs-fixer.dist.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
$finder = (new PhpCsFixer\Finder())
|
||||
->in(__DIR__);
|
||||
|
||||
return (new PhpCsFixer\Config())
|
||||
->setRules([
|
||||
'@PhpCsFixer' => true,
|
||||
'@PHP74Migration' => true,
|
||||
'@PSR12' => true,
|
||||
'strict_param' => true,
|
||||
'array_syntax' => ['syntax' => 'short'],
|
||||
])
|
||||
->setFinder($finder)
|
||||
;
|
||||
Reference in New Issue
Block a user