Passed
Branch master (b68e36)
by Pavel
02:57
created
src/SanityBundle/Vacancy/Tag/Group/Provider/MinistryOfTruth.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
      */
113 113
     public function getTagGroups(): array
114 114
     {
115
-        $cacheKey            = $this->options['cache']['namespace'] . __FUNCTION__;
115
+        $cacheKey            = $this->options['cache']['namespace'].__FUNCTION__;
116 116
         $groupDtoArrayCached = $this->cache->getItem($cacheKey);
117 117
 
118 118
         if ($groupDtoArrayCached->isHit()) {
@@ -158,7 +158,7 @@  discard block
 block discarded – undo
158 158
         if (method_exists(OptionsResolver::class, 'isNested')) {
159 159
             $optionsResolver->setDefault(
160 160
                 'cache',
161
-                function (OptionsResolver $cacheOptionsResolver) {
161
+                function(OptionsResolver $cacheOptionsResolver) {
162 162
                     $cacheOptionsResolver->setDefault('namespace', md5(__CLASS__));
163 163
                 }
164 164
             );
Please login to merge, or discard this patch.
web/config.php 1 patch
Braces   +9 added lines, -3 removed lines patch added patch discarded remove patch
@@ -382,7 +382,10 @@  discard block
 block discarded – undo
382 382
                         <?php if ($hasMinorProblems): ?>
383 383
                             <h2>Recommendations</h2>
384 384
                             <p>
385
-                                <?php if ($hasMajorProblems): ?>Additionally, to<?php else: ?>To<?php endif; ?> enhance your Symfony experience,
385
+                                <?php if ($hasMajorProblems): ?>Additionally, to<?php else {
386
+    : ?>To<?php endif;
387
+}
388
+?> enhance your Symfony experience,
386 389
                                 it’s recommended that you fix the following:
387 390
                             </p>
388 391
                             <ol>
@@ -398,9 +401,12 @@  discard block
 block discarded – undo
398 401
                             <p id="phpini">*
399 402
                                 <?php if ($symfonyRequirements->getPhpIniConfigPath()): ?>
400 403
                                     Changes to the <strong>php.ini</strong> file must be done in "<strong><?php echo $symfonyRequirements->getPhpIniConfigPath() ?></strong>".
401
-                                <?php else: ?>
404
+                                <?php else {
405
+    : ?>
402 406
                                     To change settings, create a "<strong>php.ini</strong>".
403
-                                <?php endif; ?>
407
+                                <?php endif;
408
+}
409
+?>
404 410
                             </p>
405 411
                         <?php endif; ?>
406 412
 
Please login to merge, or discard this patch.
web/app_dev.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -26,10 +26,10 @@  discard block
 block discarded – undo
26 26
 // Feel free to remove this, extend it, or make something more sophisticated.
27 27
 if (!getenv('APP_DEBUG')) {
28 28
     header('HTTP/1.0 403 Forbidden');
29
-    exit('You are not allowed to access this file. Check ' . basename(__FILE__) . ' for more information.');
29
+    exit('You are not allowed to access this file. Check '.basename(__FILE__).' for more information.');
30 30
 }
31 31
 
32
-require __DIR__ . '/../vendor/autoload.php';
32
+require __DIR__.'/../vendor/autoload.php';
33 33
 
34 34
 Debug::enable();
35 35
 
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
             . ' as a Composer dependency to load variables from a .env file.'
42 42
         );
43 43
     }
44
-    (new Dotenv())->load(__DIR__ . '/../.env');
44
+    (new Dotenv())->load(__DIR__.'/../.env');
45 45
 }
46 46
 
47 47
 $kernel = new AppKernel($_SERVER['APP_ENV'], true);
Please login to merge, or discard this patch.