diff options
Diffstat (limited to 'php-pear-PHP-CodeSniffer-rpm.patch')
-rw-r--r-- | php-pear-PHP-CodeSniffer-rpm.patch | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/php-pear-PHP-CodeSniffer-rpm.patch b/php-pear-PHP-CodeSniffer-rpm.patch index 633683c..1d7032e 100644 --- a/php-pear-PHP-CodeSniffer-rpm.patch +++ b/php-pear-PHP-CodeSniffer-rpm.patch @@ -1,31 +1,31 @@ diff -up ./bin/phpcbf.rpm ./bin/phpcbf ---- ./bin/phpcbf.rpm 2025-05-15 17:05:46.172842261 +0200 -+++ ./bin/phpcbf 2025-05-15 17:08:49.304811533 +0200 +--- ./bin/phpcbf.rpm 2025-09-15 14:51:59.780439106 +0200 ++++ ./bin/phpcbf 2025-09-15 14:53:16.065234768 +0200 @@ -21,10 +21,10 @@ */ // Check if the PHP version and extensions comply with the minimum requirements before anything else. --require_once dirname(__DIR__).'/requirements.php'; +-require_once dirname(__DIR__) . '/requirements.php'; +require_once '/usr/share/pear/PHP/CodeSniffer/requirements.php'; PHP_CodeSniffer\checkRequirements(); --require_once dirname(__DIR__).'/autoload.php'; +-require_once dirname(__DIR__) . '/autoload.php'; +require_once '/usr/share/pear/PHP/CodeSniffer/autoload.php'; $runner = new PHP_CodeSniffer\Runner(); $exitCode = $runner->runPHPCBF(); diff -up ./bin/phpcs.rpm ./bin/phpcs ---- ./bin/phpcs.rpm 2025-05-15 17:05:46.172939301 +0200 -+++ ./bin/phpcs 2025-05-15 17:09:11.329680370 +0200 +--- ./bin/phpcs.rpm 2025-09-15 14:51:59.780522757 +0200 ++++ ./bin/phpcs 2025-09-15 14:52:52.535306647 +0200 @@ -21,10 +21,10 @@ */ // Check if the PHP version and extensions comply with the minimum requirements before anything else. --require_once dirname(__DIR__).'/requirements.php'; +-require_once dirname(__DIR__) . '/requirements.php'; +require_once '/usr/share/pear/PHP/CodeSniffer/requirements.php'; PHP_CodeSniffer\checkRequirements(); --require_once dirname(__DIR__).'/autoload.php'; +-require_once dirname(__DIR__) . '/autoload.php'; +require_once '/usr/share/pear/PHP/CodeSniffer/autoload.php'; $runner = new PHP_CodeSniffer\Runner(); |