Skip to content

Commit 2433e95

Browse files
committed
Rector 1.2.3
1 parent 4abab4c commit 2433e95

File tree

7 files changed

+25
-22
lines changed

7 files changed

+25
-22
lines changed

src/Application/VersionResolver.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ final class VersionResolver
1919
* @api
2020
* @var string
2121
*/
22-
public const PACKAGE_VERSION = '51261506c37859e99fde858677031dd0d72e7bfc';
22+
public const PACKAGE_VERSION = '1.2.3';
2323
/**
2424
* @api
2525
* @var string

vendor/composer/installed.json

+9-9
Original file line numberDiff line numberDiff line change
@@ -1751,12 +1751,12 @@
17511751
"source": {
17521752
"type": "git",
17531753
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
1754-
"reference": "c053b9795a81bb9fd5b8d59e05c7556f19267893"
1754+
"reference": "ceccbe41e5d7fd1a4d4319bd767719244c63575e"
17551755
},
17561756
"dist": {
17571757
"type": "zip",
1758-
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/c053b9795a81bb9fd5b8d59e05c7556f19267893",
1759-
"reference": "c053b9795a81bb9fd5b8d59e05c7556f19267893",
1758+
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/ceccbe41e5d7fd1a4d4319bd767719244c63575e",
1759+
"reference": "ceccbe41e5d7fd1a4d4319bd767719244c63575e",
17601760
"shasum": ""
17611761
},
17621762
"require": {
@@ -1768,16 +1768,16 @@
17681768
"phpstan\/phpstan-webmozart-assert": "^1.2",
17691769
"phpunit\/phpunit": "^10.5",
17701770
"rector\/rector-src": "dev-main",
1771-
"rector\/type-perfect": "^0.1.6",
1772-
"symplify\/easy-coding-standard": "^12.0",
1773-
"symplify\/phpstan-extensions": "^11.3",
1771+
"rector\/type-perfect": "^0.1.8",
1772+
"symplify\/easy-coding-standard": "^12.3",
1773+
"symplify\/phpstan-extensions": "^11.4",
17741774
"symplify\/phpstan-rules": "^13.0",
1775-
"symplify\/rule-doc-generator": "^12.0",
1776-
"symplify\/vendor-patches": "^11.2",
1775+
"symplify\/rule-doc-generator": "^12.2",
1776+
"symplify\/vendor-patches": "^11.3",
17771777
"tomasvotruba\/class-leak": "^0.2.13",
17781778
"tracy\/tracy": "^2.10"
17791779
},
1780-
"time": "2024-06-26T13:42:44+00:00",
1780+
"time": "2024-08-12T16:25:15+00:00",
17811781
"default-branch": true,
17821782
"type": "rector-extension",
17831783
"extra": {

vendor/composer/installed.php

+1-1
Large diffs are not rendered by default.

vendor/rector/extension-installer/src/GeneratedConfig.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
*/
1010
final class GeneratedConfig
1111
{
12-
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 11ac7b9'), '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 c053b97'), '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 2bacfc6'), '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 6a39c87'));
12+
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 11ac7b9'), '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 ceccbe4'), '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 2bacfc6'), '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 6a39c87'));
1313
private function __construct()
1414
{
1515
}

vendor/rector/rector-downgrade-php/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Rector Rules for PHP Downgrade
22

3-
See available [Downgrade rules](/docs/rector_rules_overview.md)
3+
See available [Downgrade rules](https://getrector.com/find-rule?query=downgrade+rules)
44

55
## Install
66

vendor/rector/rector-downgrade-php/composer.json

+6-9
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@
1212
"phpstan\/phpstan-webmozart-assert": "^1.2",
1313
"phpunit\/phpunit": "^10.5",
1414
"rector\/rector-src": "dev-main",
15-
"rector\/type-perfect": "^0.1.6",
16-
"symplify\/easy-coding-standard": "^12.0",
17-
"symplify\/phpstan-extensions": "^11.3",
15+
"rector\/type-perfect": "^0.1.8",
16+
"symplify\/easy-coding-standard": "^12.3",
17+
"symplify\/phpstan-extensions": "^11.4",
1818
"symplify\/phpstan-rules": "^13.0",
19-
"symplify\/rule-doc-generator": "^12.0",
20-
"symplify\/vendor-patches": "^11.2",
19+
"symplify\/rule-doc-generator": "^12.2",
20+
"symplify\/vendor-patches": "^11.3",
2121
"tomasvotruba\/class-leak": "^0.2.13",
2222
"tracy\/tracy": "^2.10"
2323
},
@@ -43,10 +43,7 @@
4343
"scripts": {
4444
"phpstan": "vendor\/bin\/phpstan analyse --ansi --error-format symplify",
4545
"check-cs": "vendor\/bin\/ecs check --ansi",
46-
"fix-cs": "vendor\/bin\/ecs check --fix --ansi",
47-
"docs": [
48-
"vendor\/bin\/rule-doc-generator generate rules --output-file docs\/rector_rules_overview.md --ansi"
49-
]
46+
"fix-cs": "vendor\/bin\/ecs check --fix --ansi"
5047
},
5148
"extra": {
5249
"enable-patching": true

vendor/rector/rector-downgrade-php/docs/rector_rules_overview.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,11 @@
11
# 74 Rules Overview
22

3+
**This overview is deprecated and replaced by more advanced web search. There you can search and filter by nodes, copy-paste configs for configurable rules and more.**
4+
5+
Use https://getrector.com/find-rule?query=downgrade+rules instead!
6+
7+
---
8+
39
## ArrowFunctionToAnonymousFunctionRector
410

511
Replace arrow functions with anonymous functions

0 commit comments

Comments
 (0)