Skip to content

Commit

Permalink
Apply fixes from StyleCI
Browse files Browse the repository at this point in the history
  • Loading branch information
StyleCIBot committed Nov 5, 2022
1 parent 14c0c0a commit 1d2d2b3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ class DiscoveryService
* @param string<\Hyde\Pages\Concerns\HydePage> $model
*
* @throws \Hyde\Framework\Exceptions\UnsupportedPageTypeException
*
* @example DiscoveryService::getSourceFileListForModel(BladePage::class)
*/
public static function getSourceFileListForModel(string $model): array
Expand Down
11 changes: 5 additions & 6 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,11 @@
use Rector\Laravel\Set\LaravelSetList;

return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([__DIR__ . '/packages/framework/src']);
$rectorConfig->paths([__DIR__.'/packages/framework/src']);
$rectorConfig->sets([
LaravelSetList::LARAVEL_90,
\Rector\Set\ValueObject\SetList::PHP_80,
\Rector\Set\ValueObject\SetList::PHP_81,
]);
LaravelSetList::LARAVEL_90,
\Rector\Set\ValueObject\SetList::PHP_80,
\Rector\Set\ValueObject\SetList::PHP_81,
]);
$rectorConfig->rule(Rector\Php80\Rector\Class_\ClassPropertyAssignToConstructorPromotionRector::class);
};

0 comments on commit 1d2d2b3

Please sign in to comment.