Completed
Push — master ( 125148...6e4e8e )
by Timothy
16:08
created
src/Aviat/Ion/View.php 2 patches
Indentation   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Ion
4
- *
5
- * Building blocks for web development
6
- *
7
- * @package     Ion
8
- * @author      Timothy J. Warren
9
- * @copyright   Copyright (c) 2015
10
- * @license     MIT
11
- */
3
+	 * Ion
4
+	 *
5
+	 * Building blocks for web development
6
+	 *
7
+	 * @package     Ion
8
+	 * @author      Timothy J. Warren
9
+	 * @copyright   Copyright (c) 2015
10
+	 * @license     MIT
11
+	 */
12 12
 
13 13
 namespace Aviat\Ion\View;
14 14
 
Please login to merge, or discard this patch.
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 	 *
51 51
 	 * @var boolean
52 52
 	 */
53
-	protected $hasRendered = false;
53
+	protected $hasRendered = FALSE;
54 54
 
55 55
 	/**
56 56
 	 * Constructor
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
 	 */
82 82
 	public function __toString()
83 83
 	{
84
-		$this->hasRendered = true;
84
+		$this->hasRendered = TRUE;
85 85
 		return $this->getOutput();
86 86
 	}
87 87
 
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 	 */
127 127
 	public function send()
128 128
 	{
129
-		$this->hasRendered = true;
129
+		$this->hasRendered = TRUE;
130 130
 		$this->output();
131 131
 	}
132 132
 
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller/Anime.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -120,9 +120,9 @@  discard block
 block discarded – undo
120 120
 
121 121
 		$statuses = [];
122 122
 
123
-		foreach($raw_status_list as $status_item)
123
+		foreach ($raw_status_list as $status_item)
124 124
 		{
125
-			$statuses[$status_item] = (string) $this->string($status_item)
125
+			$statuses[$status_item] = (string)$this->string($status_item)
126 126
 				->underscored()
127 127
 				->humanize()
128 128
 				->titleize();
@@ -171,16 +171,16 @@  discard block
 block discarded – undo
171 171
 	 * @param string $status
172 172
 	 * @return void
173 173
 	 */
174
-	public function edit($id, $status="all")
174
+	public function edit($id, $status = "all")
175 175
 	{
176 176
 		$item = $this->model->get_library_anime($id, $status);
177 177
 		$raw_status_list = AnimeWatchingStatus::getConstList();
178 178
 
179 179
 		$statuses = [];
180 180
 
181
-		foreach($raw_status_list as $status_item)
181
+		foreach ($raw_status_list as $status_item)
182 182
 		{
183
-			$statuses[$status_item] = (string) $this->string($status_item)
183
+			$statuses[$status_item] = (string)$this->string($status_item)
184 184
 				->underscored()
185 185
 				->humanize()
186 186
 				->titleize();
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
 	 * @param string|null $url
128 128
 	 * @return void
129 129
 	 */
130
-	public function set_session_redirect($url=NULL)
130
+	public function set_session_redirect($url = NULL)
131 131
 	{
132 132
 		$anime_client = $this->container->get('anime-client');
133 133
 		$double_form_page = $this->request->server->get('HTTP_REFERER') == $this->request->url->get();
@@ -317,7 +317,7 @@  discard block
 block discarded – undo
317 317
 	 * @param string $type
318 318
 	 * @return void
319 319
 	 */
320
-	public function set_flash_message($message, $type="info")
320
+	public function set_flash_message($message, $type = "info")
321 321
 	{
322 322
 		$this->session->setFlash('message', [
323 323
 			'message_type' => $type,
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Hummingbird/Transformer/AnimeListTransformer.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
 	 */
30 30
 	public function transform($item)
31 31
 	{
32
-		$anime =& $item['anime'];
32
+		$anime = & $item['anime'];
33 33
 		$genres = $this->linearize_genres($item['anime']['genres']);
34 34
 
35 35
 		$rating = NULL;
@@ -82,10 +82,10 @@  discard block
 block discarded – undo
82 82
 			'id' => $item['id'],
83 83
 			'watching_status' => $item['status'],
84 84
 			'notes' => $item['notes'],
85
-			'rewatching' => (bool) $item['rewatching'],
85
+			'rewatching' => (bool)$item['rewatching'],
86 86
 			'rewatched' => $item['rewatched_times'],
87 87
 			'user_rating' => $rating,
88
-			'private' => (bool) $item['private'],
88
+			'private' => (bool)$item['private'],
89 89
 		];
90 90
 	}
91 91
 
Please login to merge, or discard this patch.