Skip to content

Commit

Permalink
Merge pull request #7 from paqtcom/feature/WAYLDS-34
Browse files Browse the repository at this point in the history
Adopt the PSR12 standard
  • Loading branch information
johan-paqt authored Jul 29, 2022
2 parents 2590e03 + f40f8f5 commit 369013f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rules/php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
return (new PhpCsFixer\Config())
->setRiskyAllowed(true)
->setRules([
'@PSR2' => true,
'@PSR12' => true,
'array_syntax' => ['syntax' => 'short'],
'class_attributes_separation' => ['elements' => ['method' => 'one']],
'multiline_whitespace_before_semicolons' => true,
Expand Down
2 changes: 1 addition & 1 deletion rules/phpcs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,5 @@
<exclude-pattern>tests/*</exclude-pattern>
</rule>

<rule ref="PSR2" />
<rule ref="PSR12" />
</ruleset>

0 comments on commit 369013f

Please sign in to comment.