From 290217119ca11910b9065813b715ebb78089f16a Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 23 Feb 2015 19:39:26 +0100 Subject: php-bartlett-PHP-Reflect: fix missing output --- php-bartlett-PHP-Reflect-3.0.0-fix.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 php-bartlett-PHP-Reflect-3.0.0-fix.patch (limited to 'php-bartlett-PHP-Reflect-3.0.0-fix.patch') diff --git a/php-bartlett-PHP-Reflect-3.0.0-fix.patch b/php-bartlett-PHP-Reflect-3.0.0-fix.patch new file mode 100644 index 0000000..f3a23cd --- /dev/null +++ b/php-bartlett-PHP-Reflect-3.0.0-fix.patch @@ -0,0 +1,18 @@ +diff -up src/Bartlett/Reflect/Output/Analyser.php.orig src/Bartlett/Reflect/Output/Analyser.php +--- src/Bartlett/Reflect/Output/Analyser.php.orig 2015-02-23 19:34:38.068134005 +0100 ++++ src/Bartlett/Reflect/Output/Analyser.php 2015-02-23 19:35:15.053282071 +0100 +@@ -95,12 +95,12 @@ class Analyser extends OutputFormatter + continue; + } + $baseNamespace = str_replace( +- 'Analyser\\' . basename($analyserName), ++ 'Analyser\\' . basename(str_replace('\\', '/', $analyserName)), + '', + $analyserName + ); + $outputFormatter = $baseNamespace . 'Console\Formatter\\' . +- substr(basename($analyserName), 0, -8) . 'OutputFormatter'; ++ substr(basename(str_replace('\\', '/', $analyserName)), 0, -8) . 'OutputFormatter'; + + if (class_exists($outputFormatter)) { + $obj = new $outputFormatter(); -- cgit