Skip to content

Commit

Permalink
rector, changelog, composer
Browse files Browse the repository at this point in the history
  • Loading branch information
pamparam83 committed Jan 17, 2024
1 parent 034dd1b commit 7179f81
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 2.0.0 under development

- New #648: Raise the minimum version of PHP to 8.1 (@pamparam83)
- New #633: Add PHP attribute that sets property label for usage in error messages (@dood-)
- New #597, #608: Add debug collector for `yiisoft/yii-debug` (@xepozz, @vjik)
- New #610: Add `$escape` parameter to methods `Result::getAttributeErrorMessagesIndexedByPath()` and
Expand Down
8 changes: 6 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"rector/rector": "^0.19.0",
"roave/infection-static-analysis-plugin": "^1.25",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.30|^5.0",
"vimeo/psalm": "^5.0",
"yiisoft/di": "^1.2",
"yiisoft/test-support": "^3.0",
"yiisoft/translator-message-php": "^1.1",
Expand Down Expand Up @@ -86,6 +86,10 @@
},
"scripts": {
"test": "phpunit --testdox --no-interaction",
"test-watch": "phpunit-watcher watch"
"test-watch": "phpunit-watcher watch",
"rector": "vendor/bin/rector process",
"infection": "vendor/bin/infection",
"dry-run": "vendor/bin/rector process --dry-run",
"psalm": "vendor/bin/psalm --config=psalm.xml"
}
}
3 changes: 2 additions & 1 deletion rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Rector\Config\RectorConfig;
use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector;
use Rector\Set\ValueObject\LevelSetList;

use Rector\Php81\Rector\Property\ReadOnlyPropertyRector;
return static function (RectorConfig $rectorConfig): void {
$rectorConfig->paths([
__DIR__ . '/src',
Expand All @@ -23,5 +23,6 @@

$rectorConfig->skip([
ClosureToArrowFunctionRector::class,
ReadOnlyPropertyRector::class,
]);
};

0 comments on commit 7179f81

Please sign in to comment.