From ae9a3869248884f21894b763a58430ac57fbec87 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 13 Aug 2020 14:11:35 +0200 Subject: 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 --- phploc-rpm.patch | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) (limited to 'phploc-rpm.patch') 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'])); -- cgit