Skip to content

Commit

Permalink
Config fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
corpsee committed Dec 16, 2021
1 parent e020b3d commit 233896c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .php-censor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@ test:
- phpunit.xml.dist
coverage: true

php_code_sniffer:
standard: PSR2
encoding: UTF-8
php_cs_fixer:
args: '--allow-risky=yes'
errors: true
report_errors: true
config: .php-cs-fixer.dist.php
allow_failures: true
ignore:
- src/Migrations

php_cpd:
allow_failures: true
Expand Down
4 changes: 2 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
->name('*.php')
->ignoreDotFiles(true)
->ignoreVCS(true)
->exclude(['vendor', 'src/Migrations'])
->exclude(['vendor'])
->in(__DIR__)
;

Expand All @@ -18,7 +18,7 @@
'@PSR12' => true,
'strict_param' => true,
'array_syntax' => ['syntax' => 'short'],
'blank_line_before_statement' => ['statements' => ['return']],
'blank_line_before_statement' => ['statements' => ['return', 'throw']],
'general_phpdoc_tag_rename' => ['replacements' => [
'inheritDocs' => 'inheritDoc',
'inheritdocs' => 'inheritDoc',
Expand Down

0 comments on commit 233896c

Please sign in to comment.