Skip to content

Commit 533444d

Browse files
committed
remove warning about implicit nullable parameters in PHP 8.4
1 parent 89dfe08 commit 533444d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"license": "MIT",
3131
"name": "ruckusing/ruckusing-migrations",
3232
"require": {
33-
"php": ">=5.2.0"
33+
"php": ">=7.1.0"
3434
},
3535
"require-dev": {
3636
"phpunit/phpunit": "3.7.*"

lib/Ruckusing/Exception.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ class Ruckusing_Exception extends Exception
4848
*
4949
* @return Ruckusing_Exception
5050
*/
51-
public function __construct($message, $code = 0, Exception $previous = null)
51+
public function __construct($message, $code = 0, ?Exception $previous = null)
5252
{
5353
// make sure everything is assigned properly
5454
if (version_compare(PHP_VERSION, '5.3.0', '>=')) {

lib/Ruckusing/FrameworkRunner.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class Ruckusing_FrameworkRunner
107107
*
108108
* @return Ruckusing_FrameworkRunner
109109
*/
110-
public function __construct($config, $argv, Ruckusing_Util_Logger $log = null)
110+
public function __construct($config, $argv, ?Ruckusing_Util_Logger $log = null)
111111
{
112112
set_error_handler(array('Ruckusing_Exception', 'errorHandler'), E_ALL);
113113
set_exception_handler(array('Ruckusing_Exception', 'exceptionHandler'));

0 commit comments

Comments
 (0)