@@ -41,7 +41,7 @@ discard block |
||
41 | 41 | { |
42 | 42 | if ($this->db === null || $this->db->conn_id === false) |
43 | 43 | { |
44 | - $CI =& get_instance(); |
|
44 | + $CI = & get_instance(); |
|
45 | 45 | $CI->load->database(); |
46 | 46 | $this->db = $CI->db; |
47 | 47 | } |
@@ -60,7 +60,7 @@ discard block |
||
60 | 60 | */ |
61 | 61 | protected function tearDown() |
62 | 62 | { |
63 | - if (! empty($this->insertCache)) |
|
63 | + if ( ! empty($this->insertCache)) |
|
64 | 64 | { |
65 | 65 | foreach ($this->insertCache as $row) |
66 | 66 | { |
@@ -10,8 +10,8 @@ discard block |
||
10 | 10 | |
11 | 11 | namespace Kenjis\MonkeyPatch\Patcher; |
12 | 12 | |
13 | -require __DIR__ . '/MethodPatcher/NodeVisitor.php'; |
|
14 | -require __DIR__ . '/MethodPatcher/PatchManager.php'; |
|
13 | +require __DIR__.'/MethodPatcher/NodeVisitor.php'; |
|
14 | +require __DIR__.'/MethodPatcher/PatchManager.php'; |
|
15 | 15 | |
16 | 16 | use LogicException; |
17 | 17 | |
@@ -61,7 +61,7 @@ discard block |
||
61 | 61 | { |
62 | 62 | if ($start_method && $token === '{') |
63 | 63 | { |
64 | - $new_source .= '{ ' . self::CODE; |
|
64 | + $new_source .= '{ '.self::CODE; |
|
65 | 65 | $start_method = false; |
66 | 66 | $replacement['key'] = key(self::$replacement); |
67 | 67 | $replacement['value'] = current(self::$replacement); |