Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Upgrade CS Fixe config
  • Loading branch information
avvertix committed May 4, 2022
commit 762409a3f17d2bfdd5fea7ec6dbbdca6c024305a
6 changes: 3 additions & 3 deletions .php_cs → .php-cs-fixer.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@
'elseif' => true,
'encoding' => true,
'single_blank_line_at_eof' => true,
'no_extra_consecutive_blank_lines' => true,
'no_extra_blank_lines' => true,
'include' => true,
'blank_line_after_namespace' => true,
'not_operator_with_successor_space' => true,
'lowercase_constants' => true,
'constant_case' => ['case' => 'lower'],
'lowercase_keywords' => true,
'array_syntax' => ['syntax' => 'short'],
'no_unused_imports' => true
Expand All @@ -27,7 +27,7 @@
__DIR__.'/tests',
]);

return PhpCsFixer\Config::create()
return (new PhpCsFixer\Config())
->setFinder($finder)
->setRules($fixers)
->setUsingCache(false);
1 change: 0 additions & 1 deletion tests/Unit/IdentityLinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
use Oneofftech\Identities\Facades\Identity;
use Illuminate\Foundation\Testing\DatabaseMigrations;
use InvalidArgumentException;
use Illuminate\Support\Facades\View;
use Illuminate\View\Component;
use Oneofftech\Identities\View\Components\IdentityLink;

Expand Down