Test Failed
Push — master ( 7495fa...2c1094 )
by Mike
46:10
created
vendor/composer/ClassLoader.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
 
60 60
     public function getPrefixes()
61 61
     {
62
-        if (!empty($this->prefixesPsr0)) {
62
+        if ( ! empty($this->prefixesPsr0)) {
63 63
             return call_user_func_array('array_merge', $this->prefixesPsr0);
64 64
         }
65 65
 
@@ -108,7 +108,7 @@  discard block
 block discarded – undo
108 108
      */
109 109
     public function add($prefix, $paths, $prepend = false)
110 110
     {
111
-        if (!$prefix) {
111
+        if ( ! $prefix) {
112 112
             if ($prepend) {
113 113
                 $this->fallbackDirsPsr0 = array_merge(
114 114
                     (array) $paths,
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
         }
126 126
 
127 127
         $first = $prefix[0];
128
-        if (!isset($this->prefixesPsr0[$first][$prefix])) {
128
+        if ( ! isset($this->prefixesPsr0[$first][$prefix])) {
129 129
             $this->prefixesPsr0[$first][$prefix] = (array) $paths;
130 130
 
131 131
             return;
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
      */
156 156
     public function addPsr4($prefix, $paths, $prepend = false)
157 157
     {
158
-        if (!$prefix) {
158
+        if ( ! $prefix) {
159 159
             // Register directories for the root namespace.
160 160
             if ($prepend) {
161 161
                 $this->fallbackDirsPsr4 = array_merge(
@@ -168,7 +168,7 @@  discard block
 block discarded – undo
168 168
                     (array) $paths
169 169
                 );
170 170
             }
171
-        } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
171
+        } elseif ( ! isset($this->prefixDirsPsr4[$prefix])) {
172 172
             // Register directories for a new namespace.
173 173
             $length = strlen($prefix);
174 174
             if ('\\' !== $prefix[$length - 1]) {
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
      */
201 201
     public function set($prefix, $paths)
202 202
     {
203
-        if (!$prefix) {
203
+        if ( ! $prefix) {
204 204
             $this->fallbackDirsPsr0 = (array) $paths;
205 205
         } else {
206 206
             $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
@@ -218,7 +218,7 @@  discard block
 block discarded – undo
218 218
      */
219 219
     public function setPsr4($prefix, $paths)
220 220
     {
221
-        if (!$prefix) {
221
+        if ( ! $prefix) {
222 222
             $this->fallbackDirsPsr4 = (array) $paths;
223 223
         } else {
224 224
             $length = strlen($prefix);
@@ -342,7 +342,7 @@  discard block
 block discarded – undo
342 342
             return false;
343 343
         }
344 344
         if (null !== $this->apcuPrefix) {
345
-            $file = apcu_fetch($this->apcuPrefix.$class, $hit);
345
+            $file = apcu_fetch($this->apcuPrefix . $class, $hit);
346 346
             if ($hit) {
347 347
                 return $file;
348 348
             }
@@ -356,7 +356,7 @@  discard block
 block discarded – undo
356 356
         }
357 357
 
358 358
         if (null !== $this->apcuPrefix) {
359
-            apcu_add($this->apcuPrefix.$class, $file);
359
+            apcu_add($this->apcuPrefix . $class, $file);
360 360
         }
361 361
 
362 362
         if (false === $file) {
Please login to merge, or discard this patch.
vendor/composer/autoload_static.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -6,77 +6,77 @@  discard block
 block discarded – undo
6 6
 
7 7
 class ComposerStaticInitf71e7bc9895f702f48d84a180f514421
8 8
 {
9
-    public static $files = array (
9
+    public static $files = array(
10 10
         '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php',
11 11
         '6124b4c8570aa390c21fafd04a26c69f' => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy/deep_copy.php',
12 12
     );
13 13
 
14
-    public static $prefixLengthsPsr4 = array (
14
+    public static $prefixLengthsPsr4 = array(
15 15
         'p' => 
16
-        array (
16
+        array(
17 17
             'phpDocumentor\\Reflection\\' => 25,
18 18
         ),
19 19
         'W' => 
20
-        array (
20
+        array(
21 21
             'WooCommerce\\RestApi\\' => 20,
22 22
             'Webmozart\\Assert\\' => 17,
23 23
         ),
24 24
         'S' => 
25
-        array (
25
+        array(
26 26
             'Symfony\\Polyfill\\Ctype\\' => 23,
27 27
         ),
28 28
         'D' => 
29
-        array (
29
+        array(
30 30
             'Doctrine\\Instantiator\\' => 22,
31 31
             'DeepCopy\\' => 9,
32 32
             'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => 55,
33 33
         ),
34 34
     );
35 35
 
36
-    public static $prefixDirsPsr4 = array (
36
+    public static $prefixDirsPsr4 = array(
37 37
         'phpDocumentor\\Reflection\\' => 
38
-        array (
38
+        array(
39 39
             0 => __DIR__ . '/..' . '/phpdocumentor/reflection-common/src',
40 40
             1 => __DIR__ . '/..' . '/phpdocumentor/type-resolver/src',
41 41
             2 => __DIR__ . '/..' . '/phpdocumentor/reflection-docblock/src',
42 42
         ),
43 43
         'WooCommerce\\RestApi\\' => 
44
-        array (
44
+        array(
45 45
             0 => __DIR__ . '/../..' . '/src',
46 46
         ),
47 47
         'Webmozart\\Assert\\' => 
48
-        array (
48
+        array(
49 49
             0 => __DIR__ . '/..' . '/webmozart/assert/src',
50 50
         ),
51 51
         'Symfony\\Polyfill\\Ctype\\' => 
52
-        array (
52
+        array(
53 53
             0 => __DIR__ . '/..' . '/symfony/polyfill-ctype',
54 54
         ),
55 55
         'Doctrine\\Instantiator\\' => 
56
-        array (
56
+        array(
57 57
             0 => __DIR__ . '/..' . '/doctrine/instantiator/src/Doctrine/Instantiator',
58 58
         ),
59 59
         'DeepCopy\\' => 
60
-        array (
60
+        array(
61 61
             0 => __DIR__ . '/..' . '/myclabs/deep-copy/src/DeepCopy',
62 62
         ),
63 63
         'Dealerdirect\\Composer\\Plugin\\Installers\\PHPCodeSniffer\\' => 
64
-        array (
64
+        array(
65 65
             0 => __DIR__ . '/..' . '/dealerdirect/phpcodesniffer-composer-installer/src',
66 66
         ),
67 67
     );
68 68
 
69
-    public static $prefixesPsr0 = array (
69
+    public static $prefixesPsr0 = array(
70 70
         'P' => 
71
-        array (
71
+        array(
72 72
             'Prophecy\\' => 
73
-            array (
73
+            array(
74 74
                 0 => __DIR__ . '/..' . '/phpspec/prophecy/src',
75 75
             ),
76 76
         ),
77 77
     );
78 78
 
79
-    public static $classMap = array (
79
+    public static $classMap = array(
80 80
         'File_Iterator' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Iterator.php',
81 81
         'File_Iterator_Facade' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Facade.php',
82 82
         'File_Iterator_Factory' => __DIR__ . '/..' . '/phpunit/php-file-iterator/src/Factory.php',
@@ -718,7 +718,7 @@  discard block
 block discarded – undo
718 718
 
719 719
     public static function getInitializer(ClassLoader $loader)
720 720
     {
721
-        return \Closure::bind(function () use ($loader) {
721
+        return \Closure::bind(function() use ($loader) {
722 722
             $loader->prefixLengthsPsr4 = ComposerStaticInitf71e7bc9895f702f48d84a180f514421::$prefixLengthsPsr4;
723 723
             $loader->prefixDirsPsr4 = ComposerStaticInitf71e7bc9895f702f48d84a180f514421::$prefixDirsPsr4;
724 724
             $loader->prefixesPsr0 = ComposerStaticInitf71e7bc9895f702f48d84a180f514421::$prefixesPsr0;
Please login to merge, or discard this patch.
vendor/composer/autoload_real.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@
 block discarded – undo
23 23
         self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24 24
         spl_autoload_unregister(array('ComposerAutoloaderInitf71e7bc9895f702f48d84a180f514421', 'loadClassLoader'));
25 25
 
26
-        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
26
+        $useStaticLoader = PHP_VERSION_ID >= 50600 && ! defined('HHVM_VERSION') && ( ! function_exists('zend_loader_file_encoded') || ! zend_loader_file_encoded());
27 27
         if ($useStaticLoader) {
28 28
             require_once __DIR__ . '/autoload_static.php';
29 29
 
Please login to merge, or discard this patch.