All Projects → rectorphp → rector-nette

rectorphp / rector-nette

Licence: MIT license
Rector upgrades rules for Nette

Programming Languages

PHP
23972 projects - #3 most used programming language

Projects that are alternatives of or similar to rector-nette

Rector
Instant Upgrades and Automated Refactoring of any PHP 5.3+ code
Stars: ✭ 4,739 (+29518.75%)
Mutual labels:  ast, rector, instant-upgrades
rector-laravel
Rector upgrades rules for Laravel
Stars: ✭ 75 (+368.75%)
Mutual labels:  ast, rector, instant-upgrades
rector-cakephp
Rector upgrades rules for CakePHP
Stars: ✭ 18 (+12.5%)
Mutual labels:  ast, rector, instant-upgrades
rector-doctrine
Rector upgrades rules for Doctrine
Stars: ✭ 37 (+131.25%)
Mutual labels:  ast, rector, instant-upgrades
CastXMLSuperbuild
Build CastXML and its dependencies (LLVM/Clang)
Stars: ✭ 32 (+100%)
Mutual labels:  ast
NiftyGrid
DataGrid for Nette Framework
Stars: ✭ 34 (+112.5%)
Mutual labels:  nette
abstract-syntax-tree
A library for working with abstract syntax trees.
Stars: ✭ 77 (+381.25%)
Mutual labels:  ast
babel-plugin-detective
Babel plugin that scans the AST for require calls and import statements
Stars: ✭ 26 (+62.5%)
Mutual labels:  ast
ninny-json
JSON typeclasses that know the difference between null and absent fields
Stars: ✭ 19 (+18.75%)
Mutual labels:  ast
konan
find all require/import calls by walking the AST
Stars: ✭ 48 (+200%)
Mutual labels:  ast
safe
🛡 PHP functions smarten up to throw exceptions instead of returning false or triggering errors.
Stars: ✭ 15 (-6.25%)
Mutual labels:  nette
pgsql-ast-parser
Yet another simple Postgres SQL parser
Stars: ✭ 152 (+850%)
Mutual labels:  ast
human-parser-generator
A straightforward recursive descent Parser Generator with a focus on "human" code generation and ease of use.
Stars: ✭ 27 (+68.75%)
Mutual labels:  ast
py2many
Transpiler of Python to many other languages
Stars: ✭ 420 (+2525%)
Mutual labels:  ast
mailing
📬 Sending emails with pleasure and prepared templates.
Stars: ✭ 15 (-6.25%)
Mutual labels:  nette
clickhouse-ast-parser
AST parser and visitor for ClickHouse SQL
Stars: ✭ 60 (+275%)
Mutual labels:  ast
ctxexp-parser
In the dynamic execution of JS language environment (wechat applet) to execute JS class calling function.
Stars: ✭ 17 (+6.25%)
Mutual labels:  ast
ast-grep
🔍 Like grep, but more powerful than you can possibly imagine
Stars: ✭ 14 (-12.5%)
Mutual labels:  ast
grunt-nette-tester
[DISCONTINUED] Grunt plugin for Nette Tester
Stars: ✭ 20 (+25%)
Mutual labels:  nette
cppcombinator
parser combinator and AST generator in c++17
Stars: ✭ 20 (+25%)
Mutual labels:  ast

Rector Rules for Nette

See available Nette rules

Install

This package is already part of rector/rector package, so it works out of the box.

All you need to do is install the main package, and you're good to go:

composer require rector/rector --dev

Use Sets

To add a set to your config, use Rector\Nette\Set\NetteSetList class and pick one of constants:

use Rector\Nette\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:

Both ways support us to and improve Rector in sustainable way by learning from practical projects.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].