summaryrefslogtreecommitdiffstats
path: root/phploc-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-08-13 14:11:35 +0200
committerRemi Collet <remi@remirepo.net>2020-08-13 14:11:35 +0200
commitae9a3869248884f21894b763a58430ac57fbec87 (patch)
tree29fb86b8c974fe495fa8e7571b1b6b36562074f9 /phploc-rpm.patch
parent4e2cf96819e074e4cf7d58a66f17e6603a91f5cb (diff)
update to 7.0.0
sources from git snapshot add dependency on sebastian/cli-parser add dependency on phpunit/php-file-iterator drop depency on sebastian/finder-facade drop depency on symfony/console
Diffstat (limited to 'phploc-rpm.patch')
-rw-r--r--phploc-rpm.patch13
1 files changed, 6 insertions, 7 deletions
diff --git a/phploc-rpm.patch b/phploc-rpm.patch
index 671c679..6fba185 100644
--- a/phploc-rpm.patch
+++ b/phploc-rpm.patch
@@ -1,10 +1,10 @@
diff -up ./phploc.rpm ./phploc
---- ./phploc.rpm 2015-06-04 15:18:14.000000000 +0200
-+++ ./phploc 2015-06-04 17:19:24.277906076 +0200
-@@ -9,23 +9,7 @@
+--- ./phploc.rpm 2020-08-13 13:59:16.515178218 +0200
++++ ./phploc 2020-08-13 13:59:43.163139614 +0200
+@@ -9,22 +9,6 @@
* file that was distributed with this source code.
*/
-
+
-$loaded = false;
-
-foreach (array(__DIR__ . '/../../autoload.php', __DIR__ . '/vendor/autoload.php') as $file) {
@@ -23,6 +23,5 @@ diff -up ./phploc.rpm ./phploc
- );
-}
+require '/usr/share/php/SebastianBergmann/PHPLOC/autoload.php';
-
- $application = new SebastianBergmann\PHPLOC\CLI\Application;
- $application->run();
+
+ exit((new \SebastianBergmann\PHPLOC\Application)->run($_SERVER['argv']));