-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Added separator to model in renderPartial function #5080
Conversation
Please add unit tests for this new feature. |
Changed ModuleManager so I can use statements in application.config.php file like: return array( 'Application', $env=='dev' ? 'ZendDeveloperTools' : null ) Null modules are silently ignored.
@@ -78,6 +78,7 @@ public function onLoadModules() | |||
} | |||
|
|||
foreach ($this->getModules() as $moduleName => $module) { | |||
if ($module == null) continue; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
open bracket '{' after conditinal if, see psr-2 : https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
Changed source to conform to Zend coding standards
$this->assertInstanceOf('SomeModule\Module', $loadedModules['SomeModule']); | ||
$this->assertSame(count($loadedModules), 1); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What do the module manager commits have to do with this? Please remove.
Added separator to model in renderPartial function
- outside stated scope of issue/pull request.
Merged to develop for release with 2.3.0; removed all ModuleManager-related commits, as they were not in scope with the stated purpose of the pull request. @serpent7776 -- in the future, please create new branches per feature/bugfix, as stated in the contributing guidelines. |
👎 Use in your partial script: $this->navigation()->breadcrumbs()->getSeparator(); |
…master Added separator to model in renderPartial function
- outside stated scope of issue/pull request.
…master Added separator to model in renderPartial function
- EOF marker
No description provided.