4343 * @since File available since Release 1.1.0
4444 */
4545
46- use SebastianBergmann \Environment \Environment ;
46+ use SebastianBergmann \Environment \Runtime ;
4747
4848/**
4949 * Base class for PHP_CodeCoverage_Report_Node renderers.
@@ -198,7 +198,7 @@ protected function renderItemTemplate(Text_Template $template, array $data)
198198 */
199199 protected function setCommonTemplateVariables (Text_Template $ template , PHP_CodeCoverage_Report_Node $ node )
200200 {
201- $ env = new Environment ;
201+ $ runtime = new Runtime ;
202202
203203 $ template ->setVar (
204204 array (
@@ -209,9 +209,9 @@ protected function setCommonTemplateVariables(Text_Template $template, PHP_CodeC
209209 'charset ' => $ this ->charset ,
210210 'date ' => $ this ->date ,
211211 'version ' => $ this ->version ,
212- 'runtime_name ' => $ env ->getRuntimeName (),
213- 'runtime_version ' => $ env ->getRuntimeVersion (),
214- 'runtime_link ' => $ env ->getRuntimeVendorUrl (),
212+ 'runtime_name ' => $ runtime ->getRuntimeName (),
213+ 'runtime_version ' => $ runtime ->getRuntimeVersion (),
214+ 'runtime_link ' => $ runtime ->getRuntimeVendorUrl (),
215215 'generator ' => $ this ->generator ,
216216 'low_upper_bound ' => $ this ->lowUpperBound ,
217217 'high_lower_bound ' => $ this ->highLowerBound
0 commit comments