diff options
author | Remi Collet <fedora@famillecollet.com> | 2015-09-22 09:07:08 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2015-09-22 09:07:08 +0200 |
commit | be9b11b883a0c54778de6bd5806191aa80bb03a7 (patch) | |
tree | e40f9fea36b5d0d9929d40185e7a25468104d699 /php-phpmd-PHP-PMD-rpm.patch | |
parent | 7113f13a659c56a2dc66219131795123ef517e4a (diff) |
php-phpmd-PHP-PMD: 2.3.0
Diffstat (limited to 'php-phpmd-PHP-PMD-rpm.patch')
-rw-r--r-- | php-phpmd-PHP-PMD-rpm.patch | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/php-phpmd-PHP-PMD-rpm.patch b/php-phpmd-PHP-PMD-rpm.patch index 98be5bc..7006ca4 100644 --- a/php-phpmd-PHP-PMD-rpm.patch +++ b/php-phpmd-PHP-PMD-rpm.patch @@ -1,6 +1,6 @@ diff -up src/bin/phpmd.rpm src/bin/phpmd ---- src/bin/phpmd.rpm 2015-07-02 10:03:08.578182650 +0200 -+++ src/bin/phpmd 2015-07-02 10:04:10.727496791 +0200 +--- src/bin/phpmd.rpm 2015-09-22 09:01:46.283971581 +0200 ++++ src/bin/phpmd 2015-09-22 09:02:14.155400697 +0200 @@ -3,23 +3,7 @@ use PHPMD\TextUI\Command; @@ -24,11 +24,11 @@ diff -up src/bin/phpmd.rpm src/bin/phpmd -} +require '/usr/share/php/PHPMD/autoload.php'; - if (!ini_get('date.timezone') && !date_default_timezone_get()) { + if (!ini_get('date.timezone')) { date_default_timezone_set('UTC'); diff -up src/main/php/PHPMD/RuleSetFactory.php.rpm src/main/php/PHPMD/RuleSetFactory.php ---- src/main/php/PHPMD/RuleSetFactory.php.rpm 2015-07-02 10:05:14.076816993 +0200 -+++ src/main/php/PHPMD/RuleSetFactory.php 2015-07-02 10:06:06.854083755 +0200 +--- src/main/php/PHPMD/RuleSetFactory.php.rpm 2015-09-22 08:56:25.000000000 +0200 ++++ src/main/php/PHPMD/RuleSetFactory.php 2015-09-22 09:01:46.283971581 +0200 @@ -79,12 +79,7 @@ class RuleSetFactory */ public function __construct() |