From a97aff12ffd28a620fee1e6c03396a5579e26117 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 27 Feb 2015 13:32:03 +0100 Subject: php-bartlett-PHP-CompatInfo, add fedora-review-check script --- php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch') diff --git a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch b/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch index b5774a2..efbe0e4 100644 --- a/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch +++ b/php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch @@ -118,3 +118,15 @@ diff -up ./tests/bootstrap.php.rpm ./tests/bootstrap.php +# Class not catched by autoloader +require $vendorDir . '/Bartlett/Reflect.php'; require __DIR__ . '/Reference/GenericTest.php'; +diff -up src/Bartlett/CompatInfo/Console/Application.php.rpm src/Bartlett/CompatInfo/Console/Application.php +--- ./src/Bartlett/CompatInfo/Console/Application.php.rpm 2015-02-27 12:43:50.156932510 +0100 ++++ ./src/Bartlett/CompatInfo/Console/Application.php 2015-02-27 13:05:29.032971712 +0100 +@@ -57,7 +57,7 @@ class Application extends BaseApplicatio + $this->getVersion(), + $v['build.string'] + ); +- if (extension_loaded('xdebug')) { ++ if (extension_loaded('xdebug') && defined("STDOUT") && function_exists("posix_isatty") && posix_isatty(STDOUT)) { + $version .= PHP_EOL . PHP_EOL . + 'You are encouraged to unload xdebug extension to speed up execution.'; + } -- cgit