summaryrefslogtreecommitdiffstats
path: root/php-bartlett-PHP-Reflect-3.0.0-fix.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-02-23 19:39:26 +0100
committerRemi Collet <fedora@famillecollet.com>2015-02-23 19:39:26 +0100
commit290217119ca11910b9065813b715ebb78089f16a (patch)
treecf35c4e6cb9be4d1617baf0ba462da2d461f9af7 /php-bartlett-PHP-Reflect-3.0.0-fix.patch
parent97d26d55d0b0a5df2a3896b767db3ae4381567ce (diff)
php-bartlett-PHP-Reflect: fix missing output
Diffstat (limited to 'php-bartlett-PHP-Reflect-3.0.0-fix.patch')
-rw-r--r--php-bartlett-PHP-Reflect-3.0.0-fix.patch18
1 files changed, 18 insertions, 0 deletions
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();