Skip to content
This repository has been archived by the owner on Jan 31, 2020. It is now read-only.

Test for ensuring, that the PhpRenderer doesnt use previous rendered output #121

Merged
merged 34 commits into from
Jan 17, 2018

Conversation

porebskk
Copy link

See Issue #120

klemens and others added 30 commits April 9, 2017 14:45
The php renderer was only catching Exception - PHP 7 changed how error are reported 
http://php.net/manual/en/language.errors.php7.php
…l isValid() in HeadMeta::setCharset() before set()
…k-navigation

Added navigation helpers in DocBlock of navigation proxy helper for code completion
Closing parentheses of the attach method parameters
PHP 7 - Php Renderer - Catching Error - Bug fix
Test for ensuring, that the PhpRenderer doesnt use previous rendered output
Pointing to originally reported issue.
This one-liner resets the `$__content` value prior to the render loop to
ensure a cached result is not returned in the off chance that
`$template` is a falsy value.
@weierophinney
Copy link
Member

@porebskk I've pushed a commit that fixes the issue, but need to wait for Travis to run the tests before merging.

Thanks for the excellent unit tests!

@weierophinney weierophinney added this to the 2.9.1 milestone Jan 16, 2018
@weierophinney weierophinney merged commit 827a43c into zendframework:master Jan 17, 2018
weierophinney added a commit that referenced this pull request Jan 17, 2018
weierophinney added a commit that referenced this pull request Jan 17, 2018
weierophinney added a commit that referenced this pull request Jan 17, 2018
@weierophinney
Copy link
Member

Thanks, @porebskk, for the great unit test! I pushed the fix to your branch, and it has now been verified with continuous integration; I will release it soon with version 2.9.1.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants