We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7a57343 commit 062a360Copy full SHA for 062a360
2 files changed
.github/workflows/release.yml
@@ -17,4 +17,4 @@ jobs:
17
- uses: googleapis/release-please-action@v4
18
with:
19
release-type: php
20
- package-name: strata/data
+
rector.php
@@ -0,0 +1,22 @@
1
+<?php
2
3
+declare(strict_types=1);
4
5
+use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector;
6
+use Rector\Config\RectorConfig;
7
+use Rector\Set\ValueObject\LevelSetList;
8
9
+return static function (RectorConfig $rectorConfig): void {
10
+ $rectorConfig->paths([
11
+ __DIR__ . '/src',
12
+ //__DIR__ . '/tests',
13
+ ]);
14
15
+ // register a single rule
16
+ $rectorConfig->rule(InlineConstructorDefaultToPropertyRector::class);
+ // define sets of rules
+ $rectorConfig->sets([
+ LevelSetList::UP_TO_PHP_81
21
22
+};
0 commit comments