diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-02-27 13:32:03 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-02-27 13:32:03 +0100 |
commit | a97aff12ffd28a620fee1e6c03396a5579e26117 (patch) | |
tree | 6825b54634862fd326666d9910167f7024073225 /php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch | |
parent | 5e1c46feec581d51aae530bcd048ac991047c270 (diff) |
php-bartlett-PHP-CompatInfo, add fedora-review-check script
Diffstat (limited to 'php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch')
-rw-r--r-- | php-bartlett-PHP-CompatInfo-4.0.0-rpm.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 . + '<warning>You are encouraged to unload xdebug extension to speed up execution.</warning>'; + } |