Skip to content

Commit

Permalink
Added linter configuration
Browse files Browse the repository at this point in the history
Signed-off-by: objecttothis <[email protected]>
  • Loading branch information
objecttothis committed May 14, 2024
1 parent d481490 commit 7e4dfa1
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?php

$finder = PhpCsFixer\Finder::create()
->in(__DIR__);

$config = new PhpCsFixer\Config();
return $config->setRules([
'@PSR12' => true,
'indentation_type' => true,
'braces' => ['indent_with_space' => false],
])
->setFinder($finder)
->setIndent("\t")
->setLineEnding("\n");

0 comments on commit 7e4dfa1

Please sign in to comment.