68999a6
diff -up ./php-cs-fixer.rpm ./php-cs-fixer
a645d86
--- ./php-cs-fixer.rpm	2017-10-02 16:04:28.744937463 +0200
a645d86
+++ ./php-cs-fixer	2017-10-02 16:04:55.577092013 +0200
a645d86
@@ -39,18 +39,7 @@ set_error_handler(function ($severity, $
68999a6
     }
68999a6
 });
68999a6
 
a645d86
-try {
a645d86
-    // Maybe this file is used as phar-stub? Let's try!
a645d86
-    Phar::mapPhar('php-cs-fixer.phar');
a645d86
-    require_once 'phar://php-cs-fixer.phar/vendor/autoload.php';
a645d86
-} catch (PharException $e) {
a645d86
-    // OK, it's not, let give Composer autoloader a try!
a645d86
-    if (file_exists($a = __DIR__.'/../../autoload.php')) {
a645d86
-        require_once $a;
a645d86
-    } else {
a645d86
-        require_once __DIR__.'/vendor/autoload.php';
a645d86
-    }
68999a6
-}
cd35d77
+require_once '/usr/share/php/PhpCsFixer/autoload.php';
68999a6
 
cd35d77
 use PhpCsFixer\Console\Application;
68999a6
 
8943a5d
diff -up ./src/Console/Command/HelpCommand.php.rpm ./src/Console/Command/HelpCommand.php
a645d86
--- ./src/Console/Command/HelpCommand.php.rpm	2017-10-02 16:03:56.000000000 +0200
a645d86
+++ ./src/Console/Command/HelpCommand.php	2017-10-02 16:04:28.744937463 +0200
a645d86
@@ -345,6 +345,8 @@ EOF
16bf60d
     {
16bf60d
         static $version = null;
8943a5d
 
8943a5d
+        return Application::VERSION;
8943a5d
+
16bf60d
         if (null !== $version) {
16bf60d
             return $version;
16bf60d
         }
da4e372
diff -up ./tests/AutoReview/ProjectCodeTest.php.rpm ./tests/AutoReview/ProjectCodeTest.php
a645d86
--- ./tests/AutoReview/ProjectCodeTest.php.rpm	2017-10-02 16:03:56.000000000 +0200
a645d86
+++ ./tests/AutoReview/ProjectCodeTest.php	2017-10-02 16:04:28.745937469 +0200
39af715
@@ -383,8 +383,11 @@ final class ProjectCodeTest extends Test
f54d7fe
             ->files()
f54d7fe
             ->name('*.php')
da4e372
             ->in(__DIR__.'/../../src')
f54d7fe
+            ->notName('autoload.php')
de937c2
             ->exclude([
f54d7fe
                 'Resources',
39af715
+                'diff',
16bf60d
+                'tests',
de937c2
             ])
16bf60d
         ;
16bf60d