rector / rector-src
Instant Upgrade and Automated Refactoring of any PHP code
Fund package maintenance!
tomasvotruba
Requires
- php: ^8.2
- clue/ndjson-react: ^1.3
- composer/pcre: ^3.3.0
- composer/semver: ^3.4
- composer/xdebug-handler: ^3.0.5
- doctrine/inflector: ^2.0.10
- illuminate/container: ^11.25
- nette/utils: ^4.0
- nikic/php-parser: ^5.3.1
- ocramius/package-versions: ^2.9
- ondram/ci-detector: ^4.2
- phpstan/phpdoc-parser: ^2.0
- phpstan/phpstan: ^2.0.1
- react/event-loop: ^1.5
- react/promise: ^3.2
- react/socket: ^1.15
- rector/extension-installer: ^0.11.2
- rector/rector-doctrine: dev-main
- rector/rector-downgrade-php: dev-main
- rector/rector-phpunit: dev-main
- rector/rector-symfony: dev-main
- sebastian/diff: ^6.0
- symfony/console: ^6.4
- symfony/filesystem: ^6.4
- symfony/finder: ^6.4
- symfony/process: ^6.4
- symplify/easy-parallel: ^11.2.2
- symplify/rule-doc-generator-contracts: ^11.2
- webmozart/assert: ^1.11
Requires (Dev)
- php-parallel-lint/php-parallel-lint: ^1.4
- phpstan/extension-installer: ^1.4
- phpstan/phpstan-deprecation-rules: ^2.0
- phpstan/phpstan-phpunit: ^2.0
- phpstan/phpstan-webmozart-assert: ^2.0
- phpunit/phpunit: ^11.4
- rector/release-notes-generator: ^0.3.0
- rector/swiss-knife: ^0.2.16
- rector/type-perfect: ^2.0
- shipmonk/composer-dependency-analyser: ^1.8
- symplify/easy-coding-standard: ^12.3
- symplify/phpstan-extensions: ^12.0
- symplify/phpstan-rules: ^14.0.2
- symplify/rule-doc-generator: ^12.2.5
- symplify/vendor-patches: ^11.3
- tomasvotruba/class-leak: ^1.1.2
- tracy/tracy: ^2.9
Replaces
- dev-main
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 2.0.0-rc3
- 2.0.0-rc2
- 2.0.0-rc1
- 1.2.10
- 1.2.9
- 1.2.8
- 1.2.7
- 1.2.6
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.19.8
- 0.19.7
- 0.19.6
- 0.19.5
- 0.19.4
- 0.19.3
- 0.19.2
- 0.19.1
- 0.19.0
- 0.18.13
- 0.18.12
- 0.18.11
- 0.18.10
- 0.18.9
- 0.18.8
- 0.18.7
- 0.18.6
- 0.18.5
- 0.18.4
- 0.18.3
- 0.18.2
- 0.18.1
- 0.18.0
- 0.17.13
- 0.17.12
- 0.17.11
- 0.17.10
- 0.17.9
- 0.17.8
- 0.17.7
- 0.17.6
- 0.17.5
- 0.17.4
- 0.17.3
- 0.17.2
- 0.17.1
- 0.17.0
- 0.16.0
- 0.15.25
- 0.15.24
- 0.15.23
- 0.15.22
- 0.15.21
- 0.15.20
- 0.15.19
- 0.15.18
- 0.15.17
- 0.15.16
- 0.15.15
- 0.15.14
- 0.15.13
- 0.15.12
- 0.15.11
- 0.15.10
- 0.15.9
- 0.15.8
- 0.15.7
- 0.15.6
- 0.15.5
- 0.15.4
- 0.15.3
- 0.15.2
- 0.15.1
- 0.15.0
- 0.14.8
- 0.14.7
- 0.14.6
- 0.14.5
- 0.14.4
- 0.14.3
- 0.14.2
- 0.14.1
- 0.14.0
- 0.13.10
- 0.13.9
- 0.13.8
- 0.13.7
- 0.13.6
- 0.13.5
- 0.13.4
- 0.13.3
- 0.13.2
- 0.13.1
- 0.13.0
- 0.12.23
- 0.12.22
- 0.12.21
- 0.12.20
- 0.12.19
- 0.12.18
- 0.12.17
- 0.12.16
- 0.12.15
- 0.12.14
- 0.12.13
- 0.12.12
- 0.12.11
- 0.12.10
- 0.12.9
- 0.12.8
- 0.12.7
- 0.12.6
- 0.12.5
- 0.12.4
- 0.12.3
- 0.12.2
- 0.12.1
- 0.12.0
- 0.11.60
- 0.11.59
- 0.11.58
- 0.11.57
- 0.11.56
- 0.11.55
- 0.11.54
- 0.11.53
- 0.11.52
- 0.11.51
- 0.11.50
- 0.11.49
- 0.11.48
- 0.11.47
- 0.11.46
- 0.11.45
- 0.11.44
- 0.11.43
- 0.11.42
- 0.11.41
- 0.11.40
- 0.11.39
- 0.11.38
- 0.11.37
- 0.11.36
- 0.11.35
- 0.11.34
- 0.11.33
- 0.11.32
- 0.11.31
- 0.11.30
- 0.11.29
- 0.11.28
- 0.11.27
- 0.11.26
- 0.11.25
- 0.11.24
- 0.11.23
- 0.11.22
- 0.11.21
- 0.11.20
- 0.11.19
- 0.11.18
- 0.11.17
- 0.11.16
- 0.11.15
- 0.11.14
- 0.11.13
- 0.11.12
- 0.11.11
- 0.11.10
- 0.11.9
- 0.11.8
- 0.11.7
- 0.11.6
- 0.11.5
- 0.11.4
- 0.11.3
- 0.11.2
- 0.11.1
- 0.11.0
- 0.10.22
- 0.10.21
- 0.10.20
- 0.10.19
- 0.10.18
- 0.10.17
- 0.10.16
- 0.10.15
- 0.10.14
- 0.10.13
- 0.10.12
- 0.10.11
- 0.10.10
- 0.10.9
- 0.10.8
- 0.10.7
- 0.10.6
- 0.10.5
- 0.10.4
- 0.10.3
- 0.10.2
- 0.10.1
- 0.10.0
- 0.9.33
- 0.9.32
- 0.9.31
- 0.9.30
- 0.9.29
- 0.9.28
- 0.9.27
- 0.9.26
- 0.9.25
- 0.9.24
- 0.9.23
- 0.9.22
- 0.9.21
- 0.9.20
- 0.9.19
- 0.9.18
- 0.9.17
- 0.9.16
- 0.9.15
- 0.9.14
- 0.9.13
- 0.9.12
- 0.9.11
- 0.9.10
- 0.9.9
- 0.9.8
- 0.9.7
- 0.9.6
- 0.9.5
- 0.9.4
- 0.9.3
- 0.9.2
- 0.9.1
- 0.9.0
- 0.8.56
- 0.8.55
- 0.8.54
- 0.8.53
- 0.8.52
- 0.8.51
- 0.8.50
- 0.8.49
- 0.8.48
- 0.8.47
- 0.8.46
- 0.8.45
- 0.8.44
- 0.8.43
- 0.8.42
- 0.8.41
- 0.8.40
- 0.8.39
- 0.8.38
- 0.8.37
- 0.8.36
- 0.8.35
- 0.8.34
- 0.8.33
- 0.8.32
- 0.8.31
- 0.8.30
- 0.8.29
- 0.8.28
- 0.8.27
- 0.8.26
- 0.8.25
- 0.8.24
- 0.8.23
- 0.8.22
- 0.8.21
- 0.8.20
- 0.8.19
- 0.8.18
- 0.8.17
- 0.8.16
- 0.8.15
- 0.8.14
- 0.8.13
- 0.8.12
- 0.8.11
- 0.8.10
- 0.8.9
- v0.8.8
- v0.8.7
- v0.8.6
- v0.8.5
- v0.8.4
- v0.8.3
- v0.8.2
- v0.8.1
- v0.8.0
- v0.7.65
- v0.7.64
- v0.7.63
- v0.7.62
- v0.7.61
- v0.7.60
- v0.7.59
- v0.7.58
- v0.7.57
- v0.7.56
- v0.7.55
- v0.7.54
- v0.7.53
- v0.7.52
- v0.7.51
- v0.7.50
- v0.7.49
- v0.7.48
- v0.7.47
- v0.7.46
- v0.7.45
- v0.7.44
- v0.7.43
- v0.7.42
- v0.7.41
- v0.7.40
- v0.7.39
- v0.7.38
- v0.7.37
- v0.7.36
- v0.7.35
- v0.7.34
- v0.7.33
- v0.7.32
- v0.7.31
- v0.7.30
- v0.7.29
- v0.7.28
- v0.7.27
- v0.7.26
- v0.7.25
- v0.7.24
- v0.7.23
- v0.7.22
- v0.7.21
- v0.7.20
- v0.7.19
- v0.7.18
- v0.7.17
- v0.7.16
- v0.7.15
- v0.7.14
- v0.7.13
- v0.7.12
- v0.7.11
- v0.7.10
- v0.7.9
- v0.7.8
- v0.7.7
- v0.7.6
- v0.7.5
- v0.7.4
- v0.7.3
- v0.7.2
- v0.7.1
- v0.7.0
- v0.6.14
- v0.6.13
- v0.6.12
- v0.6.11
- v0.6.10
- v0.6.9
- v0.6.8
- v0.6.7
- v0.6.6
- v0.6.5
- v0.6.4
- v0.6.3
- v0.6.2
- v0.6.1
- v0.6.0
- v0.5.23
- v0.5.22
- v0.5.21
- v0.5.20
- v0.5.19
- v0.5.18
- v0.5.17
- v0.5.16
- v0.5.15
- v0.5.14
- v0.5.13
- v0.5.12
- v0.5.11
- v0.5.10
- v0.5.9
- v0.5.8
- v0.5.7
- v0.5.6
- v0.5.5
- v0.5.4
- v0.5.3
- v0.5.2
- v0.5.1
- v0.5.0
- v0.4.12
- v0.4.11
- v0.4.10
- v0.4.9
- v0.4.8
- v0.4.7
- v0.4.6
- v0.4.5
- v0.4.4
- v0.4.3
- v0.4.2
- v0.4.1
- v0.4.0
- v0.3.44
- v0.3.43
- v0.3.42
- v0.3.41
- v0.3.40
- v0.3.39
- v0.3.38
- v0.3.37
- v0.3.36
- v0.3.35
- v0.3.34
- v0.3.33
- v0.3.32
- v0.3.31
- v0.3.30
- v0.3.29
- v0.3.28
- v0.3.27
- v0.3.26
- v0.3.25
- v0.3.24
- v0.3.23
- v0.3.22
- v0.3.21
- v0.3.20
- v0.3.19
- v0.3.18
- v0.3.17
- v0.3.16
- v0.3.15
- v0.3.14
- v0.3.13
- v0.3.12
- v0.3.11
- v0.3.10
- v0.3.9
- v0.3.8
- v0.3.7
- v0.3.6
- v0.3.5
- v0.3.4
- v0.3.3
- v0.3.2
- v0.3.1
- v0.3.0
- v0.2.0
- v0.1.0
- dev-automated-apply-coding-standards
- dev-experiment-remove-wrap
- dev-sub-namespace-fixture
- dev-rollback
- dev-skip-return-by-ref
- dev-perf-normal-loop
- dev-perf-has-remembered
- dev-reduce-double-loop
- dev-add-attribute-group-newliner
- dev-clean-deep-reindex
- dev-long-to-short-array
- dev-revert-6614-ensure-re-index-deep
- dev-ensure-re-index-deep
- dev-unit-test
- dev-samsonasik-patch-1
- dev-ensure-array-values
- dev-keep-string-as-is
- dev-revert-6608-keep-numeric-string-as-is
- dev-keep-numeric-string-as-is
- dev-fix-fixture-remove-dead-if
- dev-skip-in-unused-foreasch-value
- dev-skip-used-by-try-catch
- dev-function-like-is-stmtsware
- dev-early-return-2
- dev-rollback-reindex
- dev-fix-return
- dev-reindex-on-refresh
- dev-bump-phpstan-204
- dev-skip-with-next-required
- dev-fix-crash-pass-arg
- dev-crash-conds
- dev-skip-reassign-on-array-destruct
- dev-tv-polyfill
- dev-tv-depre-mixed
- dev-keep-comment
- dev-use-more-proper
- dev-disjoin-newline-multi
- dev-assign-op
- dev-move-left-over
- dev-tv-attr-edge
- dev-skip-else-throw
- dev-add-multiline-comment
- dev-fix-end-slash-regex
- dev-tv-behat-attribute-fixes-2
- dev-tv-behat-attribute-fixes
- dev-skip-positive-int-zero
- dev-crash-on-property-hook
- dev-tv-var-assume-4
- dev-tv-var-assume-3
- dev-tv-static-deps-bump
- dev-tv-var-assume-2
- dev-tv-var-assume
- dev-tv-type-comparator
- dev-tv-phpstan-fixer
- dev-tv-bump-deps-2
- dev-use-error-format-symplify
- dev-require-phpstan-rules
- dev-namespaced-name
- dev-experiment-use-composer-json-priority-fallback
- dev-handle-default-value-constant
- dev-native-function-return
- dev-tv-behat-attr
- dev-add-community-abstract-rector
- dev-set-param-arg
- dev-call
- dev-crash-in-call
- dev-crash-if
- dev-crash-do
- dev-crash-echo
- dev-crash-include
- dev-assign-ref
- dev-crash-arow
- dev-crash-array-dim
- dev-crash-call
- dev-more-unary
- dev-fix-str-contains-never-0
- dev-fix-typo-2
- dev-yield-from-crash
- dev-crash-for-loop
- dev-tv-bump
- dev-trigger-exception
- dev-remove-abstract-scope-aware-rector
- dev-clean-phpstan
- dev-handle-mix-quoted
- dev-property-handle-invalid-tag
- dev-fix-typo-end-fixture
- dev-remove-temp-diff
- dev-tv-cleanup-next
- dev-tv-finder-scoped
- dev-tv-class-like
- dev-rector-cli-help
- dev-tv-cleanup-2
- dev-tv-get-class
- dev-tv-named-arg-prepared-sets
- dev-tv-unused
- dev-tv-phpstan-release-fix
- dev-tv-autoconfigure
- dev-tv-config-builder
- dev-tv-add-only-ule
- dev-tv-fix-imports-of-two-routes
- dev-tv-phpunit-warning
- dev-remove-get-2
- dev-tv-remove-docblock-readonly-property-rule
- dev-tv-fix-default-split-properties
- dev-tv-rector-levels-config
- dev-tv-make-use-of-phpstan-phpdoctype-10
- dev-remove-isset
- dev-0.17.2-branch
This package is auto-updated.
Last update: 2024-12-22 00:35:31 UTC
README
This repository (rectorphp/rector-src
) is for development Rector only.
Head to rectorphp/rector
for documentation, install or creating an issue.
Building rectorphp/rector
Code of this repository requires PHP 8. For rector/rector
package the build downgrades code to PHP 7.4+.
How to Contribute
Please read contributing guideline for how to contribute to rector.
Debug Tests
Do you need to measure speed of particular test? Or just check which test fixture is failing? Make use of pretty print:
vendor/bin/phpunit -d --enable-pretty-print
Code of Conduct
This project adheres to a Contributor Code of Conduct By participating in this project and its community, you are expected to uphold this code.
Rector Packages CI Status
Symfony - https://github.com/rectorphp/rector-symfony
PHPUnit - https://github.com/rectorphp/rector-phpunit
Doctrine - https://github.com/rectorphp/rector-doctrine
Downgrade PHP - https://github.com/rectorphp/rector-downgrade-php