Skip to content

Commit

Permalink
Use native php-cs-fixers for phpdoc order and separation (#133)
Browse files Browse the repository at this point in the history
* Upgrade to php-cs-fixer 3.13

* Use native php-cs-fixers for phpdoc order and separation
  • Loading branch information
GrahamCampbell authored Dec 19, 2022
1 parent b5e0759 commit 45ad986
Show file tree
Hide file tree
Showing 7 changed files with 391 additions and 777 deletions.
1 change: 1 addition & 0 deletions app/Actions/ElaborateSummary.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ public function execute($totalFiles, $changes)
{
$summary = new FixReport\ReportSummary(
$changes,
$totalFiles,
0,
0,
OutputInterface::VERBOSITY_VERBOSE <= $this->output->getVerbosity(),
Expand Down
4 changes: 0 additions & 4 deletions app/Factories/ConfigurationFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
namespace App\Factories;

use App\Fixers\LaravelPhpdocAlignmentFixer;
use App\Fixers\LaravelPhpdocOrderFixer;
use App\Fixers\LaravelPhpdocSeparationFixer;
use App\Repositories\ConfigurationJsonRepository;
use PhpCsFixer\Config;
use PhpCsFixer\Finder;
Expand Down Expand Up @@ -67,8 +65,6 @@ public static function preset($rules)
->setUsingCache(true)
->registerCustomFixers([
// Laravel...
new LaravelPhpdocOrderFixer(),
new LaravelPhpdocSeparationFixer(),
new LaravelPhpdocAlignmentFixer(),
]);
}
Expand Down
152 changes: 0 additions & 152 deletions app/Fixers/LaravelPhpdocOrderFixer.php

This file was deleted.

213 changes: 0 additions & 213 deletions app/Fixers/LaravelPhpdocSeparationFixer.php

This file was deleted.

Loading

0 comments on commit 45ad986

Please sign in to comment.