Completed
Pull Request — master (#288)
by Sébastien
08:32
created
Tests/Features/Context/FeatureContext.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
      */
24 24
     public function iWaitSeconds($nbr)
25 25
     {
26
-        $this->getSession()->wait($nbr * 1000);
26
+        $this->getSession()->wait($nbr*1000);
27 27
     }
28 28
 
29 29
     public function getSymfonyProfile()
Please login to merge, or discard this patch.
src/Acme/AppBundle/DataFixtures/Seeds/Loader/VictoireYamlLoader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -19,7 +19,7 @@
 block discarded – undo
19 19
     {
20 20
         ob_start();
21 21
         $loader = $this;
22
-        $includeWrapper = function () use ($file, $loader) {
22
+        $includeWrapper = function() use ($file, $loader) {
23 23
         return include $file;
24 24
     };
25 25
         $data = $includeWrapper();
Please login to merge, or discard this patch.
Functionnal/src/Acme/AppBundle/DataFixtures/Seeds/ORM/LoadFixtureData.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -151,7 +151,7 @@
 block discarded – undo
151 151
         while ($file = readdir($openFolder)) {
152 152
             if ($file != '.' && $file != '..') {
153 153
                 // Remove file
154
-            $recursiveDelete = function ($str) use (&$recursiveDelete) {
154
+            $recursiveDelete = function($str) use (&$recursiveDelete) {
155 155
             if (is_file($str)) {
156 156
                 return @unlink($str);
157 157
             } elseif (is_dir($str)) {
Please login to merge, or discard this patch.
Tests/bootstrap.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -746,7 +746,7 @@  discard block
 block discarded – undo
746 746
 
747 747
         public static function setTrustedHosts(array $hostPatterns)
748 748
         {
749
-            self::$trustedHostPatterns = array_map(function ($hostPattern) {
749
+            self::$trustedHostPatterns = array_map(function($hostPattern) {
750 750
                     return sprintf('#%s#i', $hostPattern);
751 751
                 }, $hostPatterns);
752 752
             self::$trustedHosts = [];
@@ -1558,7 +1558,7 @@  discard block
 block discarded – undo
1558 1558
             503 => 'Service Unavailable',
1559 1559
             504 => 'Gateway Timeout',
1560 1560
             505 => 'HTTP Version Not Supported',
1561
-            506 => 'Variant Also Negotiates (Experimental)', 507 => 'Insufficient Storage', 508 => 'Loop Detected', 510 => 'Not Extended', 511 => 'Network Authentication Required',];
1561
+            506 => 'Variant Also Negotiates (Experimental)', 507 => 'Insufficient Storage', 508 => 'Loop Detected', 510 => 'Not Extended', 511 => 'Network Authentication Required', ];
1562 1562
 
1563 1563
         public function __construct($content = '', $status = 200, $headers = [])
1564 1564
         {
@@ -2525,7 +2525,7 @@  discard block
 block discarded – undo
2525 2525
                     $alternatives = [];
2526 2526
                     foreach ($this->services as $key => $associatedService) {
2527 2527
                         $lev = levenshtein($id, $key);
2528
-                        if ($lev <= strlen($id) / 3 || false !== strpos($key, $id)) {
2528
+                        if ($lev <= strlen($id)/3 || false !== strpos($key, $id)) {
2529 2529
                             $alternatives[] = $key;
2530 2530
                         }
2531 2531
                     }
Please login to merge, or discard this patch.