summaryrefslogtreecommitdiffstats
path: root/php-bartlett-umlwriter-rpm.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-bartlett-umlwriter-rpm.patch')
-rw-r--r--php-bartlett-umlwriter-rpm.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/php-bartlett-umlwriter-rpm.patch b/php-bartlett-umlwriter-rpm.patch
index 5a09d6f..994f79c 100644
--- a/php-bartlett-umlwriter-rpm.patch
+++ b/php-bartlett-umlwriter-rpm.patch
@@ -3,7 +3,7 @@ diff -up ./bin/umlwriter.rpm ./bin/umlwriter
+++ ./bin/umlwriter 2015-03-31 11:29:43.000000000 +0200
@@ -1,24 +1,36 @@
-#!/usr/bin/env php
-+#!/usr/bin/php
++#!/usr/bin/env php
<?php
$appName = 'umlWriter';
@@ -29,7 +29,7 @@ diff -up ./bin/umlwriter.rpm ./bin/umlwriter
+PhpParser\Autoloader::register();
+
+require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php';
-+require_once $vendorDir . '/SebastianBergmann/Version/Version.php';
++require_once $vendorDir . '/SebastianBergmann/Version/autoload.php';
+
+use Symfony\Component\ClassLoader\UniversalClassLoader;
+
@@ -65,7 +65,7 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php
-require_once $vendorDir . '/autoload.php';
+require_once $vendorDir . '/PhpParser/Autoloader.php';
+PhpParser\Autoloader::register();
-+require_once $vendorDir . '/SebastianBergmann/Version/Version.php';
++require_once $vendorDir . '/SebastianBergmann/Version/autoload.php';
+require_once $vendorDir . '/Symfony/Component/ClassLoader/UniversalClassLoader.php';
+
+use Symfony\Component\ClassLoader\UniversalClassLoader;