-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #78 from geekwright/php53compat
PHP 5.3 compatibility fixes
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ | |
* @package Xmf | ||
* @author trabis <[email protected]> | ||
* @author Richard Griffith <[email protected]> | ||
* @copyright 2011-2018 XOOPS Project (https://xoops.org) | ||
* @copyright 2011-2021 XOOPS Project (https://xoops.org) | ||
* @license GNU GPL 2 or later (http://www.gnu.org/licenses/gpl-2.0.html) | ||
* @link https://xoops.org | ||
*/ | ||
|
@@ -36,8 +36,8 @@ private static function doOnce() | |
if (true !== $done) { | ||
$done = true; | ||
$class = get_called_class(); | ||
parent::$aliases[] = [$class, 'dump']; | ||
parent::$aliases[] = [$class, 'backtrace']; | ||
parent::$aliases[] = array($class, 'dump'); | ||
parent::$aliases[] = array($class, 'backtrace'); | ||
parent::$enabled_mode = true; | ||
parent::$mode_default = \Kint::MODE_RICH; | ||
// display output inline ::folder = false, true puts all output at bottom of window | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,13 +17,13 @@ | |
* @category Xmf\Uuid | ||
* @package Xmf | ||
* @author Richard Griffith <[email protected]> | ||
* @copyright 2017-2019 XOOPS Project (https://xoops.org) | ||
* @copyright 2017-2021 XOOPS Project (https://xoops.org) | ||
* @license GNU GPL 2 or later (https://www.gnu.org/licenses/gpl-2.0.html) | ||
*/ | ||
class Uuid | ||
{ | ||
// match spec for version 4 UUID as per rfc4122 | ||
protected const UUID_REGEX = '/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/'; | ||
const UUID_REGEX = '/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/'; | ||
|
||
/** | ||
* generate - generate a version 4 (random) UUID | ||
|