@@ -58,7 +58,7 @@ discard block |
||
58 | 58 | return $db->setQuery( |
59 | 59 | $query |
60 | 60 | ->select('*') |
61 | - ->from($db->quoteName('#__jstats_counter_' . $column)) |
|
61 | + ->from($db->quoteName('#__jstats_counter_'.$column)) |
|
62 | 62 | )->loadAssocList(); |
63 | 63 | } |
64 | 64 | |
@@ -75,7 +75,7 @@ discard block |
||
75 | 75 | $return[$column] = $db->setQuery( |
76 | 76 | $query->clear() |
77 | 77 | ->select('*') |
78 | - ->from($db->quoteName('#__jstats_counter_' . $column)) |
|
78 | + ->from($db->quoteName('#__jstats_counter_'.$column)) |
|
79 | 79 | )->loadAssocList(); |
80 | 80 | } |
81 | 81 | |
@@ -108,7 +108,7 @@ discard block |
||
108 | 108 | |
109 | 109 | $return[$column] = $db->setQuery( |
110 | 110 | $query->select($column) |
111 | - ->select('COUNT(' . $column . ') AS count') |
|
111 | + ->select('COUNT('.$column.') AS count') |
|
112 | 112 | ->from($db->quoteName('#__jstats')) |
113 | 113 | ->where('modified BETWEEN DATE_SUB(NOW(), INTERVAL 90 DAY) AND NOW()') |
114 | 114 | ->group($column) |
@@ -101,14 +101,14 @@ discard block |
||
101 | 101 | $explodedVersion = explode('.', $version); |
102 | 102 | |
103 | 103 | $nextPatch = $explodedVersion[2] + 1; |
104 | - $versions[] = $explodedVersion[0] . '.' . $explodedVersion[1] . '.' . $nextPatch; |
|
104 | + $versions[] = $explodedVersion[0].'.'.$explodedVersion[1].'.'.$nextPatch; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | // Use $branch from the previous loop to allow the next minor version (PHP's master branch) |
108 | 108 | $explodedVersion = explode('.', $branch); |
109 | 109 | |
110 | 110 | $nextMinor = $explodedVersion[1] + 1; |
111 | - $nextRelease = $explodedVersion[0] . '.' . $nextMinor . '.0'; |
|
111 | + $nextRelease = $explodedVersion[0].'.'.$nextMinor.'.0'; |
|
112 | 112 | |
113 | 113 | if (!in_array($nextRelease, $versions, true)) |
114 | 114 | { |
@@ -116,7 +116,7 @@ discard block |
||
116 | 116 | } |
117 | 117 | |
118 | 118 | // Store the version data now |
119 | - $path = APPROOT . '/versions/php.json'; |
|
119 | + $path = APPROOT.'/versions/php.json'; |
|
120 | 120 | |
121 | 121 | if (file_put_contents($path, json_encode($versions)) === false) |
122 | 122 | { |