Skip to content

Commit

Permalink
Rector 1.2.3
Browse files Browse the repository at this point in the history
  • Loading branch information
TomasVotruba committed Aug 12, 2024
1 parent 4abab4c commit 2433e95
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 22 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 = '51261506c37859e99fde858677031dd0d72e7bfc';
public const PACKAGE_VERSION = '1.2.3';
/**
* @api
* @var string
Expand Down
18 changes: 9 additions & 9 deletions vendor/composer/installed.json
Original file line number Diff line number Diff line change
Expand Up @@ -1751,12 +1751,12 @@
"source": {
"type": "git",
"url": "https:\/\/github.com\/rectorphp\/rector-downgrade-php.git",
"reference": "c053b9795a81bb9fd5b8d59e05c7556f19267893"
"reference": "ceccbe41e5d7fd1a4d4319bd767719244c63575e"
},
"dist": {
"type": "zip",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/c053b9795a81bb9fd5b8d59e05c7556f19267893",
"reference": "c053b9795a81bb9fd5b8d59e05c7556f19267893",
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-downgrade-php\/zipball\/ceccbe41e5d7fd1a4d4319bd767719244c63575e",
"reference": "ceccbe41e5d7fd1a4d4319bd767719244c63575e",
"shasum": ""
},
"require": {
Expand All @@ -1768,16 +1768,16 @@
"phpstan\/phpstan-webmozart-assert": "^1.2",
"phpunit\/phpunit": "^10.5",
"rector\/rector-src": "dev-main",
"rector\/type-perfect": "^0.1.6",
"symplify\/easy-coding-standard": "^12.0",
"symplify\/phpstan-extensions": "^11.3",
"rector\/type-perfect": "^0.1.8",
"symplify\/easy-coding-standard": "^12.3",
"symplify\/phpstan-extensions": "^11.4",
"symplify\/phpstan-rules": "^13.0",
"symplify\/rule-doc-generator": "^12.0",
"symplify\/vendor-patches": "^11.2",
"symplify\/rule-doc-generator": "^12.2",
"symplify\/vendor-patches": "^11.3",
"tomasvotruba\/class-leak": "^0.2.13",
"tracy\/tracy": "^2.10"
},
"time": "2024-06-26T13:42:44+00:00",
"time": "2024-08-12T16:25:15+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 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'));
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'));
private function __construct()
{
}
Expand Down
2 changes: 1 addition & 1 deletion vendor/rector/rector-downgrade-php/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Rector Rules for PHP Downgrade

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

## Install

Expand Down
15 changes: 6 additions & 9 deletions vendor/rector/rector-downgrade-php/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,12 @@
"phpstan\/phpstan-webmozart-assert": "^1.2",
"phpunit\/phpunit": "^10.5",
"rector\/rector-src": "dev-main",
"rector\/type-perfect": "^0.1.6",
"symplify\/easy-coding-standard": "^12.0",
"symplify\/phpstan-extensions": "^11.3",
"rector\/type-perfect": "^0.1.8",
"symplify\/easy-coding-standard": "^12.3",
"symplify\/phpstan-extensions": "^11.4",
"symplify\/phpstan-rules": "^13.0",
"symplify\/rule-doc-generator": "^12.0",
"symplify\/vendor-patches": "^11.2",
"symplify\/rule-doc-generator": "^12.2",
"symplify\/vendor-patches": "^11.3",
"tomasvotruba\/class-leak": "^0.2.13",
"tracy\/tracy": "^2.10"
},
Expand All @@ -43,10 +43,7 @@
"scripts": {
"phpstan": "vendor\/bin\/phpstan analyse --ansi --error-format symplify",
"check-cs": "vendor\/bin\/ecs check --ansi",
"fix-cs": "vendor\/bin\/ecs check --fix --ansi",
"docs": [
"vendor\/bin\/rule-doc-generator generate rules --output-file docs\/rector_rules_overview.md --ansi"
]
"fix-cs": "vendor\/bin\/ecs check --fix --ansi"
},
"extra": {
"enable-patching": true
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# 74 Rules Overview

**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.**

Use https://getrector.com/find-rule?query=downgrade+rules instead!

---

## ArrowFunctionToAnonymousFunctionRector

Replace arrow functions with anonymous functions
Expand Down

0 comments on commit 2433e95

Please sign in to comment.