Giter Site home page Giter Site logo

typo3-rector's Introduction

Caution

Never run this tool on production, only on development environment where code is under version control (e.g. git). Always review and test automatic changes before releasing to production.

Rector for TYPO3

This repository (ssch/typo3-rector) is for development TYPO3 Rector only. Head to rectorphp/rector for installation.

Apply automatic fixes on your TYPO3 code.

Downloads

Rector aims to provide instant upgrades and instant refactoring of any PHP 5.3+ code. This project adds rectors specific to TYPO3 to help you migrate between TYPO3 releases or keep your code deprecation free.

Table of Contents

  1. Examples in action
  2. Overview of all rules
  3. Installation
  4. Configuration and Processing
  5. Best practice guide
  6. Beyond PHP - Entering the realm of FileProcessors
  7. Limitations
  8. Contribution

Please also have a look at the documentation for Rector itself.

Support

Please post questions to TYPO3 Slack (https://typo3.slack.com) in the channel #ext-typo3-rector. Or feel free to open an issue or start a discussion on github.

Credits

Many thanks to Tomas Votruba for his on going support and Rector. Many thanks to every other contributor.

Oh, and if you've come down this far, you might as well follow me on twitter.

Known Drawbacks

How to Apply Coding Standards?

Rector uses nikic/php-parser, built on technology called an abstract syntax tree (AST). An AST doesn't know about spaces and when written to a file it produces poorly formatted code in both PHP and docblock annotations. That's why your project needs to have a coding standard tool and a set of formatting rules, so it can make Rector's output code nice and shiny again.

We're using ECS with this setup.

typo3-rector's People

Contributors

sabbelasichon avatar tomasvotruba avatar mk-42 avatar helsner avatar github-actions[bot] avatar ayacoo avatar tuurlijk avatar t3easy avatar simonschaufi avatar danielsiepmann avatar mabahe avatar tmotyl avatar rintisch avatar eliashaeussler avatar robert-heinig avatar utrotzek avatar tomasnorre avatar kitzberger avatar peterkraume avatar moe2k avatar mkrappitz avatar joernneumeyer-beech avatar actions-user avatar christophlehmann avatar abeutel avatar web2date avatar samsonasik avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.