From b69dfe18b6f92693644ab928403e8f518bf954d8 Mon Sep 17 00:00:00 2001 From: Sergei Predvoditelev Date: Mon, 26 Aug 2024 21:43:34 +0300 Subject: [PATCH] Cleanup (#361) --- README.md | 5 ++--- composer.json | 5 +---- docs/guide/en/README.md | 2 +- rector.php | 2 -- 4 files changed, 4 insertions(+), 10 deletions(-) diff --git a/README.md b/README.md index 3a7a974ab..7408593da 100644 --- a/README.md +++ b/README.md @@ -18,8 +18,8 @@ The package provides a set of widgets to help with dynamic server-side generation of HTML forms. The following widgets are available out of the box: -- input fields: `Checkbox`, `CheckboxList`, `Date`, `DateTime`, `DateTimeLocal`, `Email`, `File`, `Hidden`, `Image`, -`Number`, `Password`, `RadioList`, `Range`, `Select`, `Telephone`, `Text`, `Textarea`, `Time`, `Url`; +- input fields: `Checkbox`, `CheckboxList`, `Date`, `DateTimeLocal`, `Email`, `File`, `Hidden`, `Image`, + `Number`, `Password`, `RadioList`, `Range`, `Select`, `Telephone`, `Text`, `Textarea`, `Time`, `Url`; - buttons: `Button`, `ResetButton`, `SubmitButton`; - group widgets: `ButtonGroup`, `Fieldset`. - other: `ErrorSummary`. @@ -32,7 +32,6 @@ These themes are available out of the box: ## Requirements - PHP 8.1 or higher. -- `mbstring` PHP extension. ## Installation diff --git a/composer.json b/composer.json index 9f9eec7ba..04f9ec7fd 100644 --- a/composer.json +++ b/composer.json @@ -26,7 +26,7 @@ "infection/infection": "^0.26.19", "maglnet/composer-require-checker": "^4.7", "phpunit/phpunit": "^10.5", - "rector/rector": "^1.0.0", + "rector/rector": "^1.2", "spatie/phpunit-watcher": "^1.23", "vimeo/psalm": "^5.21" }, @@ -41,9 +41,6 @@ } }, "extra": { - "branch-alias": { - "dev-master": "1.0.x-dev" - }, "config-plugin-options": { "source-directory": "config" }, diff --git a/docs/guide/en/README.md b/docs/guide/en/README.md index 5f747846a..be2429e0e 100644 --- a/docs/guide/en/README.md +++ b/docs/guide/en/README.md @@ -6,4 +6,4 @@ - [Fields' enrichment from validation rules](validation-rules-enrichment.md) - [Input data](input-data.md) - [Pure fields](pure-fields.md) -- [Creating custom fields](creating-fields.md) +- [Creating custom fields](creating-custom-fields.md) diff --git a/rector.php b/rector.php index 90fea6ba9..dd88e1b46 100644 --- a/rector.php +++ b/rector.php @@ -4,7 +4,6 @@ use Rector\CodeQuality\Rector\Class_\InlineConstructorDefaultToPropertyRector; use Rector\Config\RectorConfig; -use Rector\Php73\Rector\FuncCall\JsonThrowOnErrorRector; use Rector\Php74\Rector\Closure\ClosureToArrowFunctionRector; use Rector\Php81\Rector\Property\ReadOnlyPropertyRector; use Rector\Set\ValueObject\LevelSetList; @@ -25,7 +24,6 @@ $rectorConfig->skip([ ClosureToArrowFunctionRector::class, - JsonThrowOnErrorRector::class, ReadOnlyPropertyRector::class, ]); };