Completed
Push — master ( 69cdb4...c2609a )
by Nazar
03:54
created
components/modules/Blogs/drafts.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   Blogs
4
- * @category  modules
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+	 * @package   Blogs
4
+	 * @category  modules
5
+	 * @author    Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
7
+	 * @license   MIT License, see license.txt
8
+	 */
9 9
 namespace cs\modules\Blogs;
10 10
 use
11 11
 	cs\Config,
@@ -26,31 +26,31 @@  discard block
 block discarded – undo
26 26
 $User   = User::instance();
27 27
 $Page->title($L->drafts);
28 28
 /**
29
- * Determine current page
30
- */
29
+	 * Determine current page
30
+	 */
31 31
 $page = max(
32 32
 	isset($Route->ids[0]) ? array_slice($Route->ids, -1)[0] : 1,
33 33
 	1
34 34
 );
35 35
 /**
36
- * If this is not first page - show that in page title
37
- */
36
+	 * If this is not first page - show that in page title
37
+	 */
38 38
 if ($page > 1) {
39 39
 	$Page->title($L->blogs_nav_page($page));
40 40
 }
41 41
 /**
42
- * Get posts for current page in JSON-LD structure format
43
- */
42
+	 * Get posts for current page in JSON-LD structure format
43
+	 */
44 44
 $posts_per_page = $Config->module('Blogs')->posts_per_page;
45 45
 $posts          = $Posts->get_drafts($User->id, $page, $posts_per_page);
46 46
 $posts_count    = $Posts->get_drafts_count($User->id);
47 47
 /**
48
- * Base url (without page number)
49
- */
48
+	 * Base url (without page number)
49
+	 */
50 50
 $base_url = $Config->base_url().'/'.path($L->Blogs).'/'.path($L->drafts);
51 51
 /**
52
- * Render posts page
53
- */
52
+	 * Render posts page
53
+	 */
54 54
 Helpers::show_posts_list(
55 55
 	$posts,
56 56
 	$posts_count,
Please login to merge, or discard this patch.
components/plugins/Json_ld/Json_ld.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   Json_ld
4
- * @category  plugins
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+	 * @package   Json_ld
4
+	 * @category  plugins
5
+	 * @author    Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi
7
+	 * @license   MIT License, see license.txt
8
+	 */
9 9
 
10 10
 namespace cs\plugins\Json_ld;
11 11
 use
Please login to merge, or discard this patch.
components/plugins/Composer_assets/Assets_processing.php 2 patches
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   Composer assets
4
- * @category  plugins
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+	 * @package   Composer assets
4
+	 * @category  plugins
5
+	 * @author    Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi
7
+	 * @license   MIT License, see license.txt
8
+	 */
9 9
 namespace cs\plugins\Composer_assets;
10 10
 use
11 11
 	Exception,
Please login to merge, or discard this patch.
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
 <FilesMatch "\.css$">
89 89
 	Header set Content-Type text/css
90 90
 </FilesMatch>
91
-HTACCESS
91
+htaccess
92 92
 			);
93 93
 		}
94 94
 		foreach ($files as $file) {
Please login to merge, or discard this patch.
components/plugins/Tags/Tags.php 1 patch
Indentation   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -1,22 +1,22 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   Tags
4
- * @category  plugins
5
- * @author    Nazar Mokrynskyi <[email protected]>
6
- * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi
7
- * @license   MIT License, see license.txt
8
- */
3
+	 * @package   Tags
4
+	 * @category  plugins
5
+	 * @author    Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright Copyright (c) 2015-2016, Nazar Mokrynskyi
7
+	 * @license   MIT License, see license.txt
8
+	 */
9 9
 namespace cs\plugins\Tags;
10 10
 use
11 11
 	cs\DB\Accessor;
12 12
 /**
13
- * Tags trait
14
- *
15
- * Provides methods for working with tags for faster development
16
- *
17
- * @property \cs\Cache\Prefix $cache
18
- * @property string           $table
19
- */
13
+	 * Tags trait
14
+	 *
15
+	 * Provides methods for working with tags for faster development
16
+	 *
17
+	 * @property \cs\Cache\Prefix $cache
18
+	 * @property string           $table
19
+	 */
20 20
 trait Tags {
21 21
 	use
22 22
 		Accessor;
Please login to merge, or discard this patch.
service_scripts/make_css_shadow_dom_ready.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -1,11 +1,11 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package    CleverStyle CMS
4
- * @subpackage Service scripts
5
- * @author     Nazar Mokrynskyi <[email protected]>
6
- * @copyright  Copyright (c) 2014-2016, Nazar Mokrynskyi
7
- * @license    MIT License, see license.txt
8
- */
3
+	 * @package    CleverStyle CMS
4
+	 * @subpackage Service scripts
5
+	 * @author     Nazar Mokrynskyi <[email protected]>
6
+	 * @copyright  Copyright (c) 2014-2016, Nazar Mokrynskyi
7
+	 * @license    MIT License, see license.txt
8
+	 */
9 9
 if ($argc < 2) {
10 10
 	echo 'Converts any CSS file into CSS that works inside Shadow DOM (native support of polyfill needed after conversion).\nUsage: php make_css_shadow_dom_ready.php source.css[ destination.css]';
11 11
 	return;
Please login to merge, or discard this patch.
core/engines/Cache/APC.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   CleverStyle CMS
4
- * @author    Nazar Mokrynskyi <[email protected]>
5
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
6
- * @license   MIT License, see license.txt
7
- */
3
+	 * @package   CleverStyle CMS
4
+	 * @author    Nazar Mokrynskyi <[email protected]>
5
+	 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
6
+	 * @license   MIT License, see license.txt
7
+	 */
8 8
 namespace cs\Cache;
9 9
 /**
10
- * Provides cache functionality based on APCu
11
- */
10
+	 * Provides cache functionality based on APCu
11
+	 */
12 12
 class APC extends _Abstract {
13 13
 	protected $apc;
14 14
 	protected $root_versions_cache = [];
Please login to merge, or discard this patch.
core/engines/Cache/BlackHole.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   CleverStyle CMS
4
- * @author    Nazar Mokrynskyi <[email protected]>
5
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
6
- * @license   MIT License, see license.txt
7
- */
3
+	 * @package   CleverStyle CMS
4
+	 * @author    Nazar Mokrynskyi <[email protected]>
5
+	 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
6
+	 * @license   MIT License, see license.txt
7
+	 */
8 8
 namespace cs\Cache;
9 9
 /**
10
- * It works like black hole - i.e. does nothing. May be suitable for debugging purposes, when cache saving should be disabled, but debug mode is disabled too
11
- */
10
+	 * It works like black hole - i.e. does nothing. May be suitable for debugging purposes, when cache saving should be disabled, but debug mode is disabled too
11
+	 */
12 12
 class BlackHole extends _Abstract {
13 13
 	/**
14 14
 	 * @inheritdoc
Please login to merge, or discard this patch.
core/classes/Language/Prefix.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,16 +1,16 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package   CleverStyle CMS
4
- * @author    Nazar Mokrynskyi <[email protected]>
5
- * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
6
- * @license   MIT License, see license.txt
7
- */
3
+	 * @package   CleverStyle CMS
4
+	 * @author    Nazar Mokrynskyi <[email protected]>
5
+	 * @copyright Copyright (c) 2011-2016, Nazar Mokrynskyi
6
+	 * @license   MIT License, see license.txt
7
+	 */
8 8
 namespace cs\Language;
9 9
 use
10 10
 	cs\Language;
11 11
 /**
12
- * Class for simplified work with languages, when using common prefix
13
- */
12
+	 * Class for simplified work with languages, when using common prefix
13
+	 */
14 14
 class Prefix {
15 15
 	/**
16 16
 	 * @var string
Please login to merge, or discard this patch.
core/classes/Page/Meta.php 1 patch
Indentation   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1,10 +1,10 @@
 block discarded – undo
1 1
 <?php
2 2
 /**
3
- * @package        CleverStyle CMS
4
- * @author         Nazar Mokrynskyi <[email protected]>
5
- * @copyright      Copyright (c) 2014-2016, Nazar Mokrynskyi
6
- * @license        MIT License, see license.txt
7
- */
3
+	 * @package        CleverStyle CMS
4
+	 * @author         Nazar Mokrynskyi <[email protected]>
5
+	 * @copyright      Copyright (c) 2014-2016, Nazar Mokrynskyi
6
+	 * @license        MIT License, see license.txt
7
+	 */
8 8
 namespace cs\Page;
9 9
 use
10 10
 	cs\Config,
Please login to merge, or discard this patch.