Completed
Push — master ( bda266...ce7873 )
by Aleksandr
15s queued 10s
created
src/Helpers/string.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
         $hex = '';
38 38
 
39 39
         for ($i = 0; $i < $len; $i++) {
40
-            $hex .= substr('0'.dechex(ord($string[$i])), -2);
40
+            $hex .= substr('0' . dechex(ord($string[$i])), -2);
41 41
         }
42 42
 
43 43
         return strtoupper($hex);
Please login to merge, or discard this patch.
src/System/Windows/Profile/Service.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
      */
47 47
     public function create(string $password): bool
48 48
     {
49
-        return (bool) file_put_contents($this->getTmpProfileFileName(), $this->renderTemplate($password));
49
+        return (bool)file_put_contents($this->getTmpProfileFileName(), $this->renderTemplate($password));
50 50
     }
51 51
 
52 52
     /**
Please login to merge, or discard this patch.
src/System/Windows/Network.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -29,11 +29,11 @@  discard block
 block discarded – undo
29 29
         Command::exec(
30 30
             implode(' && ', [
31 31
                 sprintf(
32
-                    ($this->getUtility().' add profile filename="%s"'),
32
+                    ($this->getUtility() . ' add profile filename="%s"'),
33 33
                     $this->getProfileService()->getTmpProfileFileName()
34 34
                 ),
35 35
                 sprintf(
36
-                    ($this->getUtility().' connect interface="%s" ssid="%s" name="%s"'),
36
+                    ($this->getUtility() . ' connect interface="%s" ssid="%s" name="%s"'),
37 37
                     $device,
38 38
                     $this->ssid,
39 39
                     $this->ssid
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
     public function disconnect(string $device): void
53 53
     {
54 54
         Command::exec(
55
-            sprintf($this->getUtility().' disconnect interface="%s"', $device)
55
+            sprintf($this->getUtility() . ' disconnect interface="%s"', $device)
56 56
         );
57 57
     }
58 58
 
@@ -66,10 +66,10 @@  discard block
 block discarded – undo
66 66
         $instance = new self();
67 67
         $instance->ssid = $network[0];
68 68
         $instance->bssid = $network[4];
69
-        $instance->channel = (int) $network[7];
69
+        $instance->channel = (int)$network[7];
70 70
         $instance->security = $network[2];
71 71
         $instance->securityFlags = $network[3];
72
-        $instance->quality = (int) $network[5];
72
+        $instance->quality = (int)$network[5];
73 73
         $instance->frequency = $instance->getFrequency();
74 74
         $instance->dbm = $instance->qualityToDBm();
75 75
         $instance->connected = isset($network[10]);
Please login to merge, or discard this patch.