phpowermove / php-code-formatter

A code formatting library for php
MIT License
29 stars 12 forks source link

Refactor Analyzer and Context #17

Open gossi opened 10 years ago

gossi commented 10 years ago

The difference between an analyzer and a context is a bit whack (The context can be nested though) and the code to retrieve that is coupled to much together (which also blocks caching #14) at the moment.

Its better to decouple things here and probably put individual contexts and analyzers into their own class.