Skip to content

Commit

Permalink
PhpCsFixer: Execute on pull requests
Browse files Browse the repository at this point in the history
  • Loading branch information
blankse committed Apr 29, 2024
1 parent e21a1b2 commit 846029d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 71 deletions.
2 changes: 2 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
'@PSR1' => true,
'@PSR2' => true,
'array_syntax' => ['syntax' => 'short'],
'list_syntax' => ['syntax' => 'short'],

'header_comment' => [
'comment_type' => 'PHPDoc',
Expand Down Expand Up @@ -52,6 +53,7 @@
'no_leading_namespace_whitespace' => true,
'no_short_bool_cast' => true,
'no_spaces_around_offset' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true, 'remove_inheritdoc' => true],
'no_unneeded_control_parentheses' => true,
'no_unused_imports' => true,
'no_whitespace_before_comma_in_array' => true,
Expand Down
71 changes: 0 additions & 71 deletions .php_cs.dist

This file was deleted.

0 comments on commit 846029d

Please sign in to comment.