Completed
Push — master ( 37f1fc...bff11b )
by Jacob
08:53
created
src/Domain/Waterfall/Companion/CompanionRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Waterfall\Companion;
4 4
 
5
-interface CompanionRepositoryInterface
6
-{
5
+interface CompanionRepositoryInterface
6
+{
7 7
     public function getCompanionList();
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Blog/Post/PostRepositoryInterface.php 2 patches
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Blog\Post;
4 4
 
5
-interface PostRepositoryInterface
6
-{
5
+interface PostRepositoryInterface
6
+{
7 7
     public function findPostByPath($path);
8 8
     public function getActivePosts($limit = null, $offset= 0);
9 9
     public function getActivePostsCount();
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@
 block discarded – undo
5 5
 interface PostRepositoryInterface
6 6
 {
7 7
     public function findPostByPath($path);
8
-    public function getActivePosts($limit = null, $offset= 0);
8
+    public function getActivePosts($limit = null, $offset = 0);
9 9
     public function getActivePostsCount();
10 10
     public function getActivePostsByTag($tag, $limit = null, $offset = 0);
11 11
     public function getActivePostsCountByTag($tag);
Please login to merge, or discard this patch.
src/Domain/Blog/Series/SeriesRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Blog\Series;
4 4
 
5
-interface SeriesRepositoryInterface
6
-{
5
+interface SeriesRepositoryInterface
6
+{
7 7
     public function getSeriesForPost($post);
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Blog/Tag/TagRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Blog\Tag;
4 4
 
5
-interface TagRepositoryInterface
6
-{
5
+interface TagRepositoryInterface
6
+{
7 7
     public function findTagByTitle($title);
8 8
     public function getAllTags();
9 9
     public function getTagCloud();
Please login to merge, or discard this patch.
src/Domain/Blog/Introduction/IntroductionRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Blog\Introduction;
4 4
 
5
-interface IntroductionRepositoryInterface
6
-{
5
+interface IntroductionRepositoryInterface
6
+{
7 7
     public function findByType($type, $value = '');
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Stream/Changelog/ChangelogRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,7 +2,7 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Stream\Changelog;
4 4
 
5
-interface ChangelogRepositoryInterface
6
-{
5
+interface ChangelogRepositoryInterface
6
+{
7 7
     public function getChanges($limit = null, $offset = 0);
8 8
 }
Please login to merge, or discard this patch.
src/Domain/Stream/Activity/ActivityRepositoryInterface.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -2,8 +2,8 @@
 block discarded – undo
2 2
 
3 3
 namespace Jacobemerick\Web\Domain\Stream\Activity;
4 4
 
5
-interface ActivityRepositoryInterface
6
-{
5
+interface ActivityRepositoryInterface
6
+{
7 7
     public function getActivityById($id);
8 8
     public function getActivities($limit = null, $offset = 0);
9 9
     public function getActivitiesCount();
Please login to merge, or discard this patch.
collector/image/PhotoCollector.class.inc.php 2 patches
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@  discard block
 block discarded – undo
5 5
 final class PhotoCollector extends Collector
6 6
 {
7 7
 
8
-	public static function fetchRow($category, $photo)
9
-	{
10
-		$query = "
8
+    public static function fetchRow($category, $photo)
9
+    {
10
+        $query = "
11 11
 			SELECT
12 12
 				`photo`.`name`,
13 13
 				`photo_category`.`name` AS `category`,
@@ -24,12 +24,12 @@  discard block
 block discarded – undo
24 24
 				`photo`.`name` = '{$photo}' &&
25 25
 				`photo_category`.`name` = '{$category}'
26 26
 			LIMIT 1";
27
-		return self::run_row_query($query);
28
-	}
27
+        return self::run_row_query($query);
28
+    }
29 29
 
30
-	public static function getRow($id)
31
-	{
32
-		$query = "
30
+    public static function getRow($id)
31
+    {
32
+        $query = "
33 33
 			SELECT
34 34
 				`photo`.`name`,
35 35
 				`photo_category`.`name` AS `category`,
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 				`photo`.`photographer` = `photographer`.`id` &&
46 46
 				`photo`.`id` = '{$id}'
47 47
 			LIMIT 1";
48
-		return self::run_row_query($query);
49
-	}
48
+        return self::run_row_query($query);
49
+    }
50 50
 
51 51
 }
Please login to merge, or discard this patch.
Braces   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@  discard block
 block discarded – undo
2 2
 
3 3
 Loader::load('collector', 'Collector');
4 4
 
5
-final class PhotoCollector extends Collector
6
-{
5
+final class PhotoCollector extends Collector
6
+{
7 7
 
8
-	public static function fetchRow($category, $photo)
9
-	{
8
+	public static function fetchRow($category, $photo)
9
+	{
10 10
 		$query = "
11 11
 			SELECT
12 12
 				`photo`.`name`,
@@ -27,8 +27,8 @@  discard block
 block discarded – undo
27 27
 		return self::run_row_query($query);
28 28
 	}
29 29
 
30
-	public static function getRow($id)
31
-	{
30
+	public static function getRow($id)
31
+	{
32 32
 		$query = "
33 33
 			SELECT
34 34
 				`photo`.`name`,
Please login to merge, or discard this patch.
collector/image/AlbumCollector.class.inc.php 2 patches
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -5,9 +5,9 @@  discard block
 block discarded – undo
5 5
 final class AlbumCollector extends Collector
6 6
 {
7 7
 
8
-	public static function getPhotoListForAlbum($album)
9
-	{
10
-		$query = "
8
+    public static function getPhotoListForAlbum($album)
9
+    {
10
+        $query = "
11 11
 			SELECT
12 12
 				`photo`.`name`,
13 13
 				`photo_category`.`name` AS `category`,
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
 			ORDER BY
39 39
 				`photo`.`date_taken`";
40 40
 		
41
-		return self::run_query($query);
42
-	}
41
+        return self::run_query($query);
42
+    }
43 43
 
44 44
 }
45 45
\ No newline at end of file
Please login to merge, or discard this patch.
Braces   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -2,11 +2,11 @@
 block discarded – undo
2 2
 
3 3
 Loader::load('collector', 'Collector');
4 4
 
5
-final class AlbumCollector extends Collector
6
-{
5
+final class AlbumCollector extends Collector
6
+{
7 7
 
8
-	public static function getPhotoListForAlbum($album)
9
-	{
8
+	public static function getPhotoListForAlbum($album)
9
+	{
10 10
 		$query = "
11 11
 			SELECT
12 12
 				`photo`.`name`,
Please login to merge, or discard this patch.