Completed
Push — rewrite ( 52397b...f38676 )
by Timothy
04:44
created
build/update_header_comments.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -13,19 +13,19 @@
 block discarded – undo
13 13
 
14 14
 if ( ! function_exists('glob_recursive'))
15 15
 {
16
-    // Does not support flag GLOB_BRACE
16
+	// Does not support flag GLOB_BRACE
17 17
 
18
-    function glob_recursive($pattern, $flags = 0)
19
-    {
20
-        $files = glob($pattern, $flags);
18
+	function glob_recursive($pattern, $flags = 0)
19
+	{
20
+		$files = glob($pattern, $flags);
21 21
 
22
-        foreach (glob(dirname($pattern).'/*', GLOB_ONLYDIR|GLOB_NOSORT) as $dir)
23
-        {
24
-            $files = array_merge($files, glob_recursive($dir.'/'.basename($pattern), $flags));
25
-        }
22
+		foreach (glob(dirname($pattern).'/*', GLOB_ONLYDIR|GLOB_NOSORT) as $dir)
23
+		{
24
+			$files = array_merge($files, glob_recursive($dir.'/'.basename($pattern), $flags));
25
+		}
26 26
 
27
-        return $files;
28
-    }
27
+		return $files;
28
+	}
29 29
 }
30 30
 
31 31
 function get_text_to_replace($tokens)
Please login to merge, or discard this patch.
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -19,9 +19,9 @@  discard block
 block discarded – undo
19 19
     {
20 20
         $files = glob($pattern, $flags);
21 21
 
22
-        foreach (glob(dirname($pattern).'/*', GLOB_ONLYDIR|GLOB_NOSORT) as $dir)
22
+        foreach (glob(dirname($pattern) . '/*', GLOB_ONLYDIR | GLOB_NOSORT) as $dir)
23 23
         {
24
-            $files = array_merge($files, glob_recursive($dir.'/'.basename($pattern), $flags));
24
+            $files = array_merge($files, glob_recursive($dir . '/' . basename($pattern), $flags));
25 25
         }
26 26
 
27 27
         return $files;
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
 	{
42 42
 		return "<?php\n" . $tokens[1][1];
43 43
 	}
44
-	else if($tokens[1][0] !== T_DOC_COMMENT)
44
+	else if ($tokens[1][0] !== T_DOC_COMMENT)
45 45
 	{
46 46
 		return "<?php";
47 47
 	}
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
 
55 55
 function replace_files(array $files, $template)
56 56
 {
57
-	foreach($files as $file)
57
+	foreach ($files as $file)
58 58
 	{
59 59
 		$source = file_get_contents($file);
60 60
 		$tokens = get_tokens($source);
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
 	}
69 69
 }
70 70
 
71
-foreach($animeclient_file_patterns as $glob)
71
+foreach ($animeclient_file_patterns as $glob)
72 72
 {
73 73
 	$files = glob_recursive($glob);
74 74
 	replace_files($files, '/animeclient_header_comment.txt');
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
 ];
81 81
 replace_files($loose_files, '/animeclient_header_comment.txt');
82 82
 
83
-foreach($ion_file_patterns as $glob)
83
+foreach ($ion_file_patterns as $glob)
84 84
 {
85 85
 	$files = glob_recursive($glob);
86 86
 	replace_files($files, '/ion_header_comment.txt');
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Config.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
 		}
70 70
 		else
71 71
 		{
72
-			$pos =& $this->map->get($key);
72
+			$pos = & $this->map->get($key);
73 73
 			$pos = NULL;
74 74
 		}
75 75
 	}
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Hummingbird Anime Client
4
- *
5
- * An API client for Hummingbird to manage anime and manga watch lists
6
- *
7
- * @package     HummingbirdAnimeClient
8
- * @author      Timothy J. Warren
9
- * @copyright   Copyright (c) 2015
10
- * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
- * @license     MIT
12
- */
3
+	 * Hummingbird Anime Client
4
+	 *
5
+	 * An API client for Hummingbird to manage anime and manga watch lists
6
+	 *
7
+	 * @package     HummingbirdAnimeClient
8
+	 * @author      Timothy J. Warren
9
+	 * @copyright   Copyright (c) 2015
10
+	 * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
+	 * @license     MIT
12
+	 */
13 13
 namespace Aviat\AnimeClient;
14 14
 
15 15
 use Aviat\Ion\Di\ContainerInterface;
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller/Anime.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Hummingbird Anime Client
4
- *
5
- * An API client for Hummingbird to manage anime and manga watch lists
6
- *
7
- * @package     HummingbirdAnimeClient
8
- * @author      Timothy J. Warren
9
- * @copyright   Copyright (c) 2015
10
- * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
- * @license     MIT
12
- */
3
+	 * Hummingbird Anime Client
4
+	 *
5
+	 * An API client for Hummingbird to manage anime and manga watch lists
6
+	 *
7
+	 * @package     HummingbirdAnimeClient
8
+	 * @author      Timothy J. Warren
9
+	 * @copyright   Copyright (c) 2015
10
+	 * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
+	 * @license     MIT
12
+	 */
13 13
 
14 14
 namespace Aviat\AnimeClient\Controller;
15 15
 
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller/Collection.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Hummingbird Anime Client
4
- *
5
- * An API client for Hummingbird to manage anime and manga watch lists
6
- *
7
- * @package     HummingbirdAnimeClient
8
- * @author      Timothy J. Warren
9
- * @copyright   Copyright (c) 2015
10
- * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
- * @license     MIT
12
- */
3
+	 * Hummingbird Anime Client
4
+	 *
5
+	 * An API client for Hummingbird to manage anime and manga watch lists
6
+	 *
7
+	 * @package     HummingbirdAnimeClient
8
+	 * @author      Timothy J. Warren
9
+	 * @copyright   Copyright (c) 2015
10
+	 * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
+	 * @license     MIT
12
+	 */
13 13
 
14 14
 namespace Aviat\AnimeClient\Controller;
15 15
 
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Controller/Manga.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Hummingbird Anime Client
4
- *
5
- * An API client for Hummingbird to manage anime and manga watch lists
6
- *
7
- * @package     HummingbirdAnimeClient
8
- * @author      Timothy J. Warren
9
- * @copyright   Copyright (c) 2015
10
- * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
- * @license     MIT
12
- */
3
+	 * Hummingbird Anime Client
4
+	 *
5
+	 * An API client for Hummingbird to manage anime and manga watch lists
6
+	 *
7
+	 * @package     HummingbirdAnimeClient
8
+	 * @author      Timothy J. Warren
9
+	 * @copyright   Copyright (c) 2015
10
+	 * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
+	 * @license     MIT
12
+	 */
13 13
 namespace Aviat\AnimeClient\Controller;
14 14
 
15 15
 use Aviat\Ion\Di\ContainerInterface;
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Dispatcher.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Hummingbird Anime Client
4
- *
5
- * An API client for Hummingbird to manage anime and manga watch lists
6
- *
7
- * @package     HummingbirdAnimeClient
8
- * @author      Timothy J. Warren
9
- * @copyright   Copyright (c) 2015
10
- * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
- * @license     MIT
12
- */
3
+	 * Hummingbird Anime Client
4
+	 *
5
+	 * An API client for Hummingbird to manage anime and manga watch lists
6
+	 *
7
+	 * @package     HummingbirdAnimeClient
8
+	 * @author      Timothy J. Warren
9
+	 * @copyright   Copyright (c) 2015
10
+	 * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
+	 * @license     MIT
12
+	 */
13 13
 namespace Aviat\AnimeClient;
14 14
 
15 15
 use Aura\Web\Request;
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Helper/Menu.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Hummingbird Anime Client
4
- *
5
- * An API client for Hummingbird to manage anime and manga watch lists
6
- *
7
- * @package     HummingbirdAnimeClient
8
- * @author      Timothy J. Warren
9
- * @copyright   Copyright (c) 2015
10
- * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
- * @license     MIT
12
- */
3
+	 * Hummingbird Anime Client
4
+	 *
5
+	 * An API client for Hummingbird to manage anime and manga watch lists
6
+	 *
7
+	 * @package     HummingbirdAnimeClient
8
+	 * @author      Timothy J. Warren
9
+	 * @copyright   Copyright (c) 2015
10
+	 * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
+	 * @license     MIT
12
+	 */
13 13
 
14 14
 namespace Aviat\AnimeClient\Helper;
15 15
 
Please login to merge, or discard this patch.
src/Aviat/AnimeClient/Hummingbird/Enum/AnimeShowType.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,15 +1,15 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * Hummingbird Anime Client
4
- *
5
- * An API client for Hummingbird to manage anime and manga watch lists
6
- *
7
- * @package     HummingbirdAnimeClient
8
- * @author      Timothy J. Warren
9
- * @copyright   Copyright (c) 2015
10
- * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
- * @license     MIT
12
- */
3
+	 * Hummingbird Anime Client
4
+	 *
5
+	 * An API client for Hummingbird to manage anime and manga watch lists
6
+	 *
7
+	 * @package     HummingbirdAnimeClient
8
+	 * @author      Timothy J. Warren
9
+	 * @copyright   Copyright (c) 2015
10
+	 * @link        https://github.com/timw4mail/HummingBirdAnimeClient
11
+	 * @license     MIT
12
+	 */
13 13
 
14 14
 namespace Aviat\AnimeClient\Hummingbird\Enum;
15 15
 
Please login to merge, or discard this patch.