Skip to content

Commit

Permalink
Rector 1.0.4
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Apr 5, 2024
1 parent d59efe6 commit 6e04d0e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/Application/VersionResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'a16a04d0bc90df11918efd4b7fc117a9e3dcc1c3';
public const PACKAGE_VERSION = '1.0.4';
/**
* @api
* @var string
Expand Down
8 changes: 4 additions & 4 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1866,12 +1866,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
"reference": "c8b64135bdaaec629f2abd81387485cf3a627a3f"
"reference": "73eae9f9cc622313832656f7023ec7463295aaea"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/c8b64135bdaaec629f2abd81387485cf3a627a3f",
"reference": "c8b64135bdaaec629f2abd81387485cf3a627a3f",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/73eae9f9cc622313832656f7023ec7463295aaea",
"reference": "73eae9f9cc622313832656f7023ec7463295aaea",
"shasum": ""
},
"require": {
Expand Down Expand Up @@ -1900,7 +1900,7 @@
"tomasvotruba\/class-leak": "^0.2.6",
"tracy\/tracy": "^2.10"
},
"time": "2024-03-12T11:45:55+00:00",
"time": "2024-04-05T08:28:05+00:00",
"default-branch": true,
"type": "rector-extension",
"extra": {
Expand Down
2 changes: 1 addition & 1 deletion vendor/composer/installed.php

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion vendor/rector/extension-installer/src/GeneratedConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
*/
final class GeneratedConfig
{
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main b3da143'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 05e44cf'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main a56b646'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main c8b6413'));
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => NULL, 'version' => 'dev-main b3da143'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => NULL, 'version' => 'dev-main 05e44cf'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => NULL, 'version' => 'dev-main a56b646'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/rector-build/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => NULL, 'version' => 'dev-main 73eae9f'));
private function __construct()
{
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
use Rector\Php80\ValueObject\AnnotationToAttribute;
// @see https://symfony.com/blog/new-in-symfony-5-2-constraints-as-php-attributes
return static function (RectorConfig $rectorConfig) : void {
$rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Bic'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Blank'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Callback'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\CardScheme'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Cascade'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Choice'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Count'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Country'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Currency'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Date'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\DateTime'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\DisableAutoMapping'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\DivisibleBy'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Email'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\EnableAutoMapping'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\EqualTo'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Expression'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\ExpressionLanguageSyntax'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\File'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\GreaterThan'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\GreaterThanOrEqual'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\GroupSequence'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\GroupSequenceProvider'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Hostname'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Iban'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\IdenticalTo'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Image'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Ip'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Isbn'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\IsFalse'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Isin'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\IsNull'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Issn'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\IsTrue'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Json'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Language'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Length'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\LessThan'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\LessThanOrEqual'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Locale'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Luhn'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Negative'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NegativeOrZero'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotBlank'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotCompromisedPassword'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotEqualTo'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotIdenticalTo'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotNull'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Positive'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\PositiveOrZero'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Range'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Regex'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Time'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Timezone'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Traverse'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Type'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Ulid'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Unique'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Url'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Uuid'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Valid'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\DiscriminatorMap'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\Groups'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\Ignore'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\MaxDepth'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\SerializedName')]);
$rectorConfig->ruleWithConfiguration(AnnotationToAttributeRector::class, [new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Bic'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Blank'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Callback'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\CardScheme'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Cascade'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Choice'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Count'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Country'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Currency'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Date'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\DateTime'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\DisableAutoMapping'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\DivisibleBy'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Email'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\EnableAutoMapping'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\EqualTo'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Expression'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\ExpressionLanguageSyntax'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\File'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\GreaterThan'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\GreaterThanOrEqual'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\GroupSequence'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\GroupSequenceProvider'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Hostname'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Iban'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\IdenticalTo'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Image'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Ip'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Isbn'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\IsFalse'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Isin'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\IsNull'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Issn'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\IsTrue'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Json'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Language'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Length'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\LessThan'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\LessThanOrEqual'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Locale'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Luhn'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Negative'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NegativeOrZero'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotBlank'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotCompromisedPassword'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotEqualTo'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotIdenticalTo'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\NotNull'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Positive'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\PositiveOrZero'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Range'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Regex'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Time'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Timezone'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Traverse'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Type'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Ulid'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Unique'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Url'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Uuid'), new AnnotationToAttribute('Symfony\\Component\\Validator\\Constraints\\Valid'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\Context'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\DiscriminatorMap'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\Groups'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\Ignore'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\MaxDepth'), new AnnotationToAttribute('Symfony\\Component\\Serializer\\Annotation\\SerializedName')]);
};

0 comments on commit 6e04d0e

Please sign in to comment.