Skip to content

Commit e315bc4

Browse files
authored
Merge pull request #104 from mambax7/feature/cosmetics
2 parents 52ed3ec + 4116726 commit e315bc4

36 files changed

+60
-61
lines changed

docs/gpl-3.0.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ the "copyright" line and a pointer to where the full notice is found.
645645
GNU General Public License for more details.
646646

647647
You should have received a copy of the GNU General Public License
648-
along with this program. If not, see <http://www.gnu.org/licenses/>.
648+
along with this program. If not, see <https://www.gnu.org/licenses/>.
649649

650650
Also add information on how to contact you by electronic and paper mail.
651651

@@ -664,11 +664,11 @@ might be different; for a GUI interface, you would use an "about box".
664664
You should also get your employer (if you work as a programmer) or school,
665665
if any, to sign a "copyright disclaimer" for the program, if necessary.
666666
For more information on this, and how to apply and follow the GNU GPL, see
667-
<http://www.gnu.org/licenses/>.
667+
<https://www.gnu.org/licenses/>.
668668

669669
The GNU General Public License does not permit incorporating your program
670670
into proprietary programs. If your program is a subroutine library, you
671671
may consider it more useful to permit linking proprietary applications with
672672
the library. If this is what you want to do, use the GNU Lesser General
673673
Public License instead of this License. But first, please read
674-
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
674+
<https://www.gnu.org/philosophy/why-not-lgpl.html>.

docs/license.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ Some portions of this work are licensed under the GNU Lesser General Public Lice
99

1010
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
1111

12-
You should have received a copy of the GNU General Public License, and the GNU Lesser General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.
12+
You should have received a copy of the GNU General Public License, and the GNU Lesser General Public License along with this program. If not, see <https://www.gnu.org/licenses/>.
1313

1414
You may contact the copyright holder through XOOPS Project: <https://xoops.org>

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?php
2-
header("HTTP/1.0 404 Not Found");
2+
header('HTTP/1.0 404 Not Found');

src/Assert.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* @package Xmf
2121
* @author Richard Griffith <richard@geekwright.com>
2222
* @copyright 2017 XOOPS Project (https://xoops.org)
23-
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
23+
* @license GNU GPL 2.0 or later (https://www.gnu.org/licenses/gpl-2.0.html)
2424
* @link https://xoops.org
2525
*/
2626
class Assert extends BaseAssertion

src/Database/TableLoad.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @package Xmf
2323
* @author Richard Griffith <richard@geekwright.com>
2424
* @copyright 2013-2018 XOOPS Project (https://xoops.org)
25-
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
25+
* @license GNU GPL 2.0 or later (https://www.gnu.org/licenses/gpl-2.0.html)
2626
* @link https://xoops.org
2727
*/
2828
class TableLoad
@@ -130,7 +130,7 @@ public static function countRows($table, $criteria = null)
130130
$prefixedTable = $db->prefix($table);
131131
$sql = 'SELECT COUNT(*) as `count` FROM ' . $prefixedTable . ' ';
132132
if (isset($criteria) && is_subclass_of($criteria, '\CriteriaElement')) {
133-
/* @var \CriteriaCompo $criteria */
133+
/** @var \CriteriaCompo $criteria */
134134
$sql .= $criteria->renderWhere();
135135
}
136136
$result = $db->query($sql);
@@ -157,7 +157,7 @@ public static function extractRows($table, $criteria = null, $skipColumns = arra
157157
$prefixedTable = $db->prefix($table);
158158
$sql = 'SELECT * FROM ' . $prefixedTable . ' ';
159159
if (isset($criteria) && is_subclass_of($criteria, '\CriteriaElement')) {
160-
/* @var \CriteriaCompo $criteria */
160+
/** @var \CriteriaCompo $criteria */
161161
$sql .= $criteria->renderWhere();
162162
}
163163
$rows = array();

src/Database/Tables.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -624,7 +624,7 @@ public function delete($table, $criteria)
624624
if (is_scalar($criteria)) {
625625
$where = $criteria;
626626
} elseif (is_object($criteria)) {
627-
/* @var \CriteriaCompo $criteria */
627+
/** @var \CriteriaCompo $criteria */
628628
$where = $criteria->renderWhere();
629629
}
630630
$this->queue[] = "DELETE FROM `{$tableDef['name']}` {$where}";
@@ -685,7 +685,7 @@ public function update($table, $columns, $criteria, $quoteValue = true)
685685
if (is_scalar($criteria)) {
686686
$where = $criteria;
687687
} elseif (is_object($criteria)) {
688-
/* @var \CriteriaCompo $criteria */
688+
/** @var \CriteriaCompo $criteria */
689689
$where = $criteria->renderWhere();
690690
}
691691
$colSql = '';

src/Database/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<?php
2-
header("HTTP/1.0 404 Not Found");
2+
header('HTTP/1.0 404 Not Found');

src/Debug.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
* @author trabis <lusopoemas@gmail.com>
2020
* @author Richard Griffith <richard@geekwright.com>
2121
* @copyright 2011-2021 XOOPS Project (https://xoops.org)
22-
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
22+
* @license GNU GPL 2.0 or later (https://www.gnu.org/licenses/gpl-2.0.html)
2323
* @link https://xoops.org
2424
*/
2525
class Debug extends \Kint

src/Highlighter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @package Xmf
1919
* @author Richard Griffith <richard@geekwright.com>
2020
* @copyright 2011-2018 XOOPS Project (https://xoops.org)
21-
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
21+
* @license GNU GPL 2.0 or later (https://www.gnu.org/licenses/gpl-2.0.html)
2222
* @link https://xoops.org
2323
*/
2424
class Highlighter

src/IPAddress.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* @package Xmf
1919
* @author trabis <lusopoemas@gmail.com>
2020
* @copyright 2018-2021 XOOPS Project (https://xoops.org)
21-
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html)
21+
* @license GNU GPL 2.0 or later (https://www.gnu.org/licenses/gpl-2.0.html)
2222
* @link https://xoops.org
2323
*/
2424
class IPAddress

0 commit comments

Comments
 (0)