rector / rector-nette
Rector upgrades rules for Nette Framework
Installs: 789 540
Dependents: 1
Suggesters: 0
Security: 0
Stars: 24
Watchers: 3
Forks: 6
Open Issues: 2
Type:rector-extension
Requires
- php: >=8.0
- rector/rector: ^0.14
Requires (Dev)
- nette/application: ^3.1
- nette/di: ^3.0
- nette/forms: 3.0.*
- phpstan/extension-installer: ^1.1
- phpstan/phpstan: ^1.8
- phpstan/phpstan-nette: ^1.0
- phpstan/phpstan-strict-rules: ^1.3
- phpstan/phpstan-webmozart-assert: ^1.2
- phpunit/phpunit: ^9.5
- rector/phpstan-rules: ^0.5.12
- symplify/easy-ci: ^11.1
- symplify/easy-coding-standard: ^11.1
- symplify/monorepo-builder: ^11.1
- symplify/phpstan-extensions: ^11.1
- symplify/phpstan-rules: ^11.1.2
- symplify/rule-doc-generator: ^11.1
- symplify/vendor-patches: ^11.1
Conflicts
- rector/rector: <0.14
- dev-main / 0.14.x-dev
- 0.14.0
- 0.13.2
- 0.13.1
- 0.13.0
- 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.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
This package is auto-updated.
Last update: 2023-04-14 14:54:23 UTC
README
See available Nette rules
Install
This package is a Rector extension developed by community around Nette. To add it, install package as dependency:
composer require efabrica/rector-nette --dev
Use Sets
To add a set to your config, use RectorNette\Set\NetteSetList
class and pick one of constants:
use RectorNette\Set\NetteSetList; use Rector\Config\RectorConfig; return static function (RectorConfig $rectorConfig): void { $rectorConfig->sets([ NetteSetList::NETTE_24, ]); };
Learn Rector Faster
Rector is a tool that we develop and share for free, so anyone can save hundreds of hours on refactoring. But not everyone has time to understand Rector and AST complexity. You have 2 ways to speed this process up:
- read a book - The Power of Automated Refactoring
- hire our experienced team to improve your code base
Both ways support us to and improve Rector in sustainable way by learning from practical projects.