Happyr/Doctrine-Specification — pull request #82 by drymek (2014-12-22 21:02:44+00:00)
Title: [WIP] Undoctrine doctrine specification

**Doctrine Specification** is a very cool library (probably even the only one for PHP). There is a great concept behind. I have one more reason to refactor it. To make it Doctrine *independent* and switch to *InMemory* implementation for *tests* or to any other, non-Doctrine for *any reason* (e.g. performance), without changing aplication.

This PR is **proof of concept**. In a very early stage. This will probably not be the master (ever). PR is just to show my direction and get some support from community.

There is a lot of to do:
- [x] Check if it really makes sense to change anything
- [ ] Refactor Filter/In
- [ ] Clean the code (comments, PSRs etc.)
- [ ] Support all filters in Transformer
- [ ] Implement something better than 100LOC if-else statement in Transformers for all Filters
- [ ] Refactor Logic/AndX
- [ ] Refactor Logic/LogicX
- [ ] Refactor Logic/Not
- [ ] Refactor Logic/OrX
- [ ] Figure out how to change QueryModifiers
- [ ] Refactor Query/Join
- [ ] Refactor Query/OrderBy
- [ ] Refactor Query/QueryModifier
- [ ] Refactor Query/CollectionModifier
- [ ] Figure out how to change ResultModifiers
- [ ] Change ResultModifiers
- [ ] Refactor Specification interface (?)
- [ ] Clean the code (comments, PSRs etc.) second round
- [ ] Implement ArrayTransformer (InMemory)
- [ ] Rewrite docs
- [ ] Include "henrikbjorn/phpspec-code-coverage": "0.2.*", once again (Yes, I don't have xdebug installed)