Bernhard Schussek
299c2dca10
[Validator] Improved test coverage and prevented duplicate validation of constraints
2014-03-30 18:28:58 +02:00
Bernhard Schussek
e8fa15b27c
[Validator] Fixed the new validator API under PHP < 5.3.9
2014-03-30 18:28:57 +02:00
Bernhard Schussek
94583a9289
[Validator] Changed NodeTraverser to traverse nodes iteratively, not recursively
...
In this way, the deep method call chains are avoided. Also, it is possible to
avoid the many calls to leaveNode(), which are currently not really needed.
2014-03-30 18:28:56 +02:00
Bernhard Schussek
e057b19964
[Validator] Decoupled ContextRefresher from ExecutionContext
2014-03-30 18:28:56 +02:00
Bernhard Schussek
df41974f31
[Validator] Changed context manager to context factory
...
The current context is not stored anymore. Instead, it is passed around the traverser
and the visitors. For this reason, validation can occur in multiple contexts at the
same time.
2014-03-30 18:28:56 +02:00
Bernhard Schussek
26eafa43f7
[Validator] Removed unused use statements
2014-03-30 18:28:56 +02:00
Bernhard Schussek
bc29591935
[Validator] Clearly separated classes supporting the API <2.5/2.5+
2014-03-30 18:28:55 +02:00
Bernhard Schussek
feb3d6f202
[Validator] Tested the validation in a separate context
2014-03-30 18:28:55 +02:00
Bernhard Schussek
9b07b0c672
[Validator] Implemented BC validation of arrays through validate()
2014-03-30 18:28:55 +02:00
Bernhard Schussek
4ea3ff6688
[Validator] Finished inline documentation of ExecutionContext[Interface]
2014-03-30 18:28:54 +02:00
Bernhard Schussek
8ae68c9543
[Validator] Made tests green (yay!)
2014-03-30 18:28:54 +02:00
Bernhard Schussek
a40189ccb7
[Validator] Decoupled the new classes a bit
2014-03-30 18:28:54 +02:00
Bernhard Schussek
a6ed4cae5d
[Validator] Prototype of the traverser implementation
2014-03-30 18:28:53 +02:00