Passed
Branch master (b68e36)
by Pavel
02:57
created
src/AppBundle/Html/Tag/AttributeRemover.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@
 block discarded – undo
39 39
         $dom = new DOMDocument();
40 40
 
41 41
         // https://stackoverflow.com/a/8218649/3121455
42
-        $dom->loadHTML('<?xml encoding="utf-8" ?>' . $html);
42
+        $dom->loadHTML('<?xml encoding="utf-8" ?>'.$html);
43 43
 
44 44
         $xpath = new DOMXPath($dom);
45 45
         $nodes = $xpath->query('//@*');
Please login to merge, or discard this patch.
src/AppBundle/Integration/MinistryOfTruth/LocaleOptionsTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
         $optionsResolver->setDefault(
44 44
             'default_locale',
45
-            function (Options $options, $previousValue) {
45
+            function(Options $options, $previousValue) {
46 46
                 if (!is_array($options['locales']) || !in_array($previousValue, $options['locales'])) {
47 47
                     throw new InvalidOptionsException(
48 48
                         'Value of the "default_locale" option is not present in locales array'
Please login to merge, or discard this patch.
src/AppBundle/Workflow/Vacancy/Research/Conveyor.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -111,7 +111,7 @@  discard block
 block discarded – undo
111 111
 
112 112
         foreach ($transitions as $transition) {
113 113
             $transitionName = $transition->getName();
114
-            $queueNames[]   = $this->queuePrefix . $transitionName;
114
+            $queueNames[]   = $this->queuePrefix.$transitionName;
115 115
         }
116 116
 
117 117
         $this->distribute($payload, $queueNames);
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
         $transition = array_shift($transitions);
137 137
 
138 138
         $transitionName = $transition->getName();
139
-        $queueName      = $this->queuePrefix . $transitionName;
139
+        $queueName      = $this->queuePrefix.$transitionName;
140 140
 
141 141
         return $this->get($dtoClass, $queueName);
142 142
     }
@@ -165,7 +165,7 @@  discard block
 block discarded – undo
165 165
             } catch (Exception $e) {
166 166
                 $channel->txRollback();
167 167
 
168
-                $channel->close()->then(function () {
168
+                $channel->close()->then(function() {
169 169
                     $this->amqpClient->disconnect();
170 170
                 });
171 171
 
Please login to merge, or discard this patch.
src/AppBundle/DependencyInjection/VesloAppExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function load(array $configs, ContainerBuilder $container)
51 51
     {
52
-        $locator = new FileLocator(__DIR__ . implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources']));
52
+        $locator = new FileLocator(__DIR__.implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources']));
53 53
         $loader  = new YamlFileLoader($container, $locator);
54 54
 
55 55
         $configFiles = [
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         ];
64 64
 
65 65
         foreach ($configFiles as $configFile) {
66
-            $loader->load('config' . DIRECTORY_SEPARATOR . $configFile);
66
+            $loader->load('config'.DIRECTORY_SEPARATOR.$configFile);
67 67
         }
68 68
 
69 69
         $configuration = new Configuration();
Please login to merge, or discard this patch.
src/AppBundle/DependencyInjection/Configuration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
                         ->end()
94 94
                     ->end()
95 95
                     ->beforeNormalization()
96
-                        ->ifTrue(function ($v) {
96
+                        ->ifTrue(function($v) {
97 97
                             if (!$v['enabled']) {
98 98
                                 return false;
99 99
                             }
Please login to merge, or discard this patch.
src/AnthillBundle/Command/Roadmap/ListCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
 
69 69
         foreach ($roadmaps as $roadmapName => $roadmap) {
70 70
             $message .= "\n  <info>$roadmapName</info>\n";
71
-            $message .= '    Type: ' . get_class($roadmap) . "\n";
71
+            $message .= '    Type: '.get_class($roadmap)."\n";
72 72
         }
73 73
 
74 74
         $message .= "\nNew roadmaps can be registered in <comment>roadmaps.yml</comment>";
Please login to merge, or discard this patch.
src/AnthillBundle/DependencyInjection/VesloAnthillExtension.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@  discard block
 block discarded – undo
30 30
      */
31 31
     public function load(array $configs, ContainerBuilder $container)
32 32
     {
33
-        $locator = new FileLocator(__DIR__ . implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources']));
33
+        $locator = new FileLocator(__DIR__.implode(DIRECTORY_SEPARATOR, ['', '..', 'Resources']));
34 34
         $loader  = new YamlFileLoader($container, $locator);
35 35
 
36 36
         $configFiles = [
@@ -51,7 +51,7 @@  discard block
 block discarded – undo
51 51
         ];
52 52
 
53 53
         foreach ($configFiles as $configFile) {
54
-            $loader->load('config' . DIRECTORY_SEPARATOR . $configFile);
54
+            $loader->load('config'.DIRECTORY_SEPARATOR.$configFile);
55 55
         }
56 56
 
57 57
         $configuration = new Configuration();
Please login to merge, or discard this patch.
AnthillBundle/Vacancy/Scanner/Strategy/HeadHunter/Api/Version20190213.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -234,7 +234,7 @@
 block discarded – undo
234 234
 
235 235
             $propertyConfig = array_filter(
236 236
                 self::PROPERTY_MAP,
237
-                function (array $propertyConfig) use ($propertyTo) {
237
+                function(array $propertyConfig) use ($propertyTo) {
238 238
                     return $propertyTo === $propertyConfig[0];
239 239
                 }
240 240
             );
Please login to merge, or discard this patch.
src/AnthillBundle/Vacancy/Scanner/ConveyorAwareScanner.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -63,7 +63,7 @@
 block discarded – undo
63 63
         $parsedDto = new ParsedDto();
64 64
         $parsedDto->setVacancy($rawDto);
65 65
 
66
-        $scannerDto  = $this->scanner instanceof MultistrategicScanner
66
+        $scannerDto = $this->scanner instanceof MultistrategicScanner
67 67
             ? new MultistrategicScannerDto()
68 68
             : new ScannerDto();
69 69
 
Please login to merge, or discard this patch.