/phpcsfixer-rules

UI to help explain and demonstrate PHP-CS-Fixer rules

Primary LanguageJavaScriptMIT LicenseMIT

Php CS Fixer Rules

https://mcampbell508.github.io/phpcsfixer-rules/

The aim of this project is to provide a UI to help explain PHP-CS-Fixer rules, with clear examples. Personally, I think the official docs on the README are okay, but I felt there could be a better way to view what each rule does and demonstrate what happens after applying each rule.

Another reason for this project, is for me to learn more ReactJS.

Currently, with this application users can:

  • Select each rule and view a clear description and if it is marked risky.
  • When viewing a rule, a nice diff view for before and after demonstrations for each rule, once it is applied.

Php CS Fixer Rules

Todos

  • Make App fully responsive
  • Handle multiple configuration rules
  • Display the rule config for easy copy paste.
  • Refactor with Redux, for own personal learning - if there is time

This project focuses on the rules specified in version 2.9.* of PHP-CS-Fixer.

Acknowledgements


Create React App

This project was bootstrapped with Create React App.

Deployment

MIT License