Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix: "Fatal error: Class 'PHP_PMD_RENDERER_XMLRenderer' not found"
It's PMD instead PPMD ;-). Fix: [PHP Error] include_once(PHP/PPMD/Renderer/XMLRenderer.php): failed to open stream: No such file or directory.
  • Loading branch information
llaumgui committed Feb 16, 2015
1 parent 8e1cff4 commit dc8f631
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/phing/tasks/ext/phpmd/PHPMDFormatterElement.php
Expand Up @@ -151,7 +151,7 @@ public function getRenderer()
if (!class_exists('\\PHPMD\\Writer\\StreamWriter')) {
$renderClass = 'PHP_PMD_RENDERER_' . $this->className;
$writerClass = 'PHP_PMD_Writer_Stream';
include_once 'PHP/PPMD/Renderer/' . $this->className . '.php';
include_once 'PHP/PMD/Renderer/' . $this->className . '.php';
include_once 'PHP/PMD/Writer/Stream.php';
} else {
$renderClass = 'PHPMD\Renderer\\' . $this->className;
Expand Down

0 comments on commit dc8f631

Please sign in to comment.