Completed
Push — master ( ae0301...fb53b4 )
by Florian
05:23
created
src/BackgroundProcess.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@  discard block
 block discarded – undo
86 86
     public function isRunning()
87 87
     {
88 88
         $this->checkSupportingOS('Cocur\BackgroundProcess can only check if a process is running on *nix-based '.
89
-                                 'systems, such as Unix, Linux or Mac OS X. You are running "%s".');
89
+                                    'systems, such as Unix, Linux or Mac OS X. You are running "%s".');
90 90
 
91 91
         try {
92 92
             $result = shell_exec(sprintf('ps %d 2>&1', $this->pid));
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
     public function stop()
108 108
     {
109 109
         $this->checkSupportingOS('Cocur\BackgroundProcess can only stop a process on *nix-based systems, such as '.
110
-                                 'Unix, Linux or Mac OS X. You are running "%s".');
110
+                                    'Unix, Linux or Mac OS X. You are running "%s".');
111 111
 
112 112
         try {
113 113
             $result = shell_exec(sprintf('kill %d 2>&1', $this->pid));
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
     public function getPid()
129 129
     {
130 130
         $this->checkSupportingOS('Cocur\BackgroundProcess can only return the PID of a process on *nix-based systems, '.
131
-                                 'such as Unix, Linux or Mac OS X. You are running "%s".');
131
+                                    'such as Unix, Linux or Mac OS X. You are running "%s".');
132 132
 
133 133
         return $this->pid;
134 134
     }
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@
 block discarded – undo
66 66
                 shell_exec(sprintf('%s &', $this->command, $outputFile));
67 67
                 break;
68 68
             case self::OS_NIX:
69
-                $this->pid = (int)shell_exec(sprintf('%s > %s 2>&1 & echo $!', $this->command, $outputFile));
69
+                $this->pid = (int) shell_exec(sprintf('%s > %s 2>&1 & echo $!', $this->command, $outputFile));
70 70
                 break;
71 71
             default:
72 72
                 throw new RuntimeException(sprintf(
Please login to merge, or discard this patch.
src/Factory.php 1 patch
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,9 +1,9 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * This file is part of cocur/background-process.
4
- *
5
- * (c) 2013-2104 Florian Eckerstorfer
6
- */
3
+     * This file is part of cocur/background-process.
4
+     *
5
+     * (c) 2013-2104 Florian Eckerstorfer
6
+     */
7 7
 
8 8
 namespace Cocur\BackgroundProcess;
9 9
 
Please login to merge, or discard this patch.