Completed
Branch develop (6d735e)
by Timothy
07:48
created
src/API/Kitsu.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
 	 */
101 101
 	protected static function getServiceMetaData(string $hostname = null): array
102 102
 	{
103
-		switch($hostname)
103
+		switch ($hostname)
104 104
 		{
105 105
 			case 'www.crunchyroll.com':
106 106
 				return [
@@ -212,7 +212,7 @@  discard block
 block discarded – undo
212 212
 
213 213
 		if (array_key_exists('titles', $data))
214 214
 		{
215
-			foreach($data['titles'] as $alternateTitle)
215
+			foreach ($data['titles'] as $alternateTitle)
216 216
 			{
217 217
 				if (self::titleIsUnique($alternateTitle, $valid))
218 218
 				{
@@ -238,7 +238,7 @@  discard block
 block discarded – undo
238 238
 			return false;
239 239
 		}
240 240
 
241
-		foreach($existingTitles as $existing)
241
+		foreach ($existingTitles as $existing)
242 242
 		{
243 243
 			$isSubset = stripos($existing, $title) !== FALSE;
244 244
 			$diff = levenshtein($existing, $title);
Please login to merge, or discard this patch.
src/API/AbstractListItem.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/API/GuzzleTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/API/XML.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
@@ -184,7 +184,7 @@  discard block
 block discarded – undo
184 184
 		for ($i = 0; $i < $length; $i++)
185 185
 		{
186 186
 			$el = $nodeList->item($i);
187
-			$current =& $root[$el->nodeName];
187
+			$current = & $root[$el->nodeName];
188 188
 
189 189
 			// It's a top level element!
190 190
 			if (is_a($el->childNodes->item(0), 'DomText') || ( ! $el->hasChildNodes()))
@@ -232,14 +232,14 @@  discard block
 block discarded – undo
232 232
 	 * @param array $data The data for the current node
233 233
 	 * @return void
234 234
 	 */
235
-	private static function arrayPropertiesToXmlNodes(DOMDocument &$dom, DOMNode &$parent, array $data)
235
+	private static function arrayPropertiesToXmlNodes(DOMDocument & $dom, DOMNode & $parent, array $data)
236 236
 	{
237
-		foreach($data as $key => $props)
237
+		foreach ($data as $key => $props)
238 238
 		{
239 239
 			// 'Flatten' the array as you create the xml
240 240
 			if (is_numeric($key))
241 241
 			{
242
-				foreach($props as $key => $props)
242
+				foreach ($props as $key => $props)
243 243
 				{
244 244
 					break;
245 245
 				}
Please login to merge, or discard this patch.
src/API/MAL.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/API/ListItemInterface.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/API/CacheTrait.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
Please login to merge, or discard this patch.
src/MenuGenerator.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Hummingbird Anime Client
4 4
  *
Please login to merge, or discard this patch.
src/Command/BaseCommand.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,4 +1,4 @@  discard block
 block discarded – undo
1
-<?php declare(strict_types=1);
1
+<?php declare(strict_types = 1);
2 2
 /**
3 3
  * Anime List Client
4 4
  *
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
 		$config = AnimeClient::loadToml($CONF_DIR);
76 76
 		$config_array = array_merge($base_config, $config);
77 77
 
78
-		$di = function ($config_array) use ($APP_DIR) {
78
+		$di = function($config_array) use ($APP_DIR) {
79 79
 			$container = new Container();
80 80
 			
81 81
 			// -------------------------------------------------------------------------
Please login to merge, or discard this patch.