….com/DASPRiD/zf2 into hotfix/2398
- Test integration with MVC services, in particular console vs HTTP routers. - Required being able to override value of Console::isConsole(); added a $isConsole protected static member, and an overrideIsConsole($flag) public static method; if the flag is a boolean, its value will be returned via isConsole().
The router should not be duplicated in HTTP, so the application's router and url view helper router must be the same. However, inside a cli env the url helper must have the HTTP router in order to assemble urls.
Now I am testing for each level of the same precision
- Changes in php-cs-fixer resulted in a majority of ZF2 files failing due to EOF differences. Ran the tool over all files in tests and library, and updated the Zend\View\Helper\Navigation\Sitemap tests to make them more robust in expectations regarding EOF characters.
… being assembled correctly