Completed
Push — 1.x ( 257780...f31d1d )
by Mikaël
42:33 queued 33:38
created
src/ConfigurationReader/ServiceReservedMethod.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -18,6 +18,6 @@
 block discarded – undo
18 18
      */
19 19
     public static function getDefaultConfigurationPath()
20 20
     {
21
-        return dirname(__FILE__) . '/../resources/config/service_reserved_keywords.yml';
21
+        return dirname(__FILE__).'/../resources/config/service_reserved_keywords.yml';
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/ConfigurationReader/XsdTypes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
      */
46 46
     public static function instance($filename = null)
47 47
     {
48
-        return parent::instance(empty($filename) ? dirname(__FILE__) . '/../resources/config/xsd_types.yml' : $filename);
48
+        return parent::instance(empty($filename) ? dirname(__FILE__).'/../resources/config/xsd_types.yml' : $filename);
49 49
     }
50 50
     /**
51 51
      * @param string $xsdType
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
      */
62 62
     public static function isAnonymous($xsdType)
63 63
     {
64
-        return (bool) preg_match(self::ANONYMOUS_TYPE, $xsdType);
64
+        return (bool)preg_match(self::ANONYMOUS_TYPE, $xsdType);
65 65
     }
66 66
     /**
67 67
      * @param string $xsdType
Please login to merge, or discard this patch.
src/ConfigurationReader/GeneratorOptions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
      */
120 120
     public static function getDefaultConfigurationPath()
121 121
     {
122
-        return dirname(__FILE__) . '/../resources/config/generator_options.yml';
122
+        return dirname(__FILE__).'/../resources/config/generator_options.yml';
123 123
     }
124 124
     /**
125 125
      * Get category option value
Please login to merge, or discard this patch.
src/Model/Method.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -82,7 +82,7 @@
 block discarded – undo
82 82
                 if (is_string($this->getParameterType())) {
83 83
                     $methodName .= ucfirst($this->getParameterType());
84 84
                 } else {
85
-                    $methodName .= '_' . md5(var_export($this->getParameterType(), true));
85
+                    $methodName .= '_'.md5(var_export($this->getParameterType(), true));
86 86
                 }
87 87
             }
88 88
             $context = $this->getOwner()->getPackagedName();
Please login to merge, or discard this patch.
src/Model/StructValue.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -61,11 +61,11 @@  discard block
 block discarded – undo
61 61
     public function getCleanName($keepMultipleUnderscores = false)
62 62
     {
63 63
         if ($this->getGenerator()->getOptionGenericConstantsNames()) {
64
-            return 'ENUM_VALUE_' . $this->getIndex();
64
+            return 'ENUM_VALUE_'.$this->getIndex();
65 65
         } else {
66 66
             $nameWithSeparatedWords = $this->getNameWithSeparatedWords($keepMultipleUnderscores);
67 67
             $key = self::constantSuffix($this->getOwner()->getName(), $nameWithSeparatedWords, $this->getIndex());
68
-            return 'VALUE_' . strtoupper($nameWithSeparatedWords . ($key ? '_' . $key : ''));
68
+            return 'VALUE_'.strtoupper($nameWithSeparatedWords.($key ? '_'.$key : ''));
69 69
         }
70 70
     }
71 71
     /**
@@ -118,8 +118,8 @@  discard block
 block discarded – undo
118 118
      */
119 119
     private static function constantSuffix($structName, $value, $index)
120 120
     {
121
-        $key = strtoupper($structName . '_' . $value);
122
-        $indexedKey = $key . '_' . $index;
121
+        $key = strtoupper($structName.'_'.$value);
122
+        $indexedKey = $key.'_'.$index;
123 123
         if (array_key_exists($indexedKey, self::$uniqueConstants)) {
124 124
             return self::$uniqueConstants[$indexedKey];
125 125
         } elseif (!array_key_exists($key, self::$uniqueConstants)) {
Please login to merge, or discard this patch.