Skip to content

Latest commit

 

History

276 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DressCode

DressCode checks and fixes PHP coding style, and upgrades code to newer PHP and to new versions of libraries. It parses source files into a lossless concrete syntax tree in which every token, whitespace and comment is preserved, so that rules edit the tree and the printer reproduces the file byte for byte. Rules, presets, analyses and reporters are plugins addressed by name; DressCode itself has no opinion about style beyond the presets derived from the PER Coding Style specification and the Nette Coding Standard.

Status: in development. Nothing is usable yet; the API, names and behavior are all subject to change.

About

👔 DressCode: checks and fixes PHP coding style, and upgrades code to newer PHP and to new versions of libraries. Built on a lossless syntax tree, so it changes only what it touches. PER-CS, PSR-12, Symfony, Nette.

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Contributors

Languages