The separation of the block makes it clearer, that it is reuesed in the following code multiple times.
The object has been already instantiated by other test methods except two. According to Fowler's "Rule of three" it is tolerable to have code duplicated up to three times. Argumenting in reverse a generalization that isn't used more than two times should be inlined.
…quest`. Adding tests for `lithium\action\Request`. This fixes basic/digest auth for CGI environments in `lithium\security\auth\adapter\Http`. Parts of the implementation (the decoding of the basic auth header) could in the future be extracted into a new decode method in `lithium\net\http\Auth`. However there are two arguments against that: (a) `lithium\net\http\Auth::decode` currently works expects a digest header only - with the leading `"Digest "` part already stripped off. To make the method authorization method agnostic it would need to expect the unstripped header or another hint in form of an additional argument to the method. (b) Even if the above is implemented we would create a dependency on `Auth` which may not be desired or needs to be further clarified.
Change naming for model attribute inheritance.
Refactor the model initialization step & generalize attributes inheritance on non array.
…tance on non array.
Disable defaults for collections.
Add test case for #951.
Allow to override handlers for `Entity` & `Collection`, close #958
Fixes a minor bug on model's attribute inheritance.
BC Break: disable id indexation of subdocuments from a `Document::data()`
`Database::renderCommand` don't interfer with users datas anymore, close #968.
Fixes a continuation route issue witch url query string.
Remove the default scope feature for unscoped routes
…outes & scope based routes can't be used together).
Change the lithium composer vendor name.
Remove `dirname` in `lithium\action\Request` since not consistent over OS.