You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Phive 0.15.2 - Copyright (C) 2015-2024 by Arne Blankerts, Sebastian Heuer and Contributors
Error: [ERROR] An error occurred while processing your request:
PharIo\Phive\XmlFile::query(): Implicitly marking parameter $ctx as nullable is deprecated, the explicit nullable type must be used instead
#0 src/shared/XmlFile.php(71)
#1 (347): PharIo\Phive\Cli\Runner->errorHandler()
#2 (347): require()
#3 src/Factory.php(438): {closure:/home/runner/work/captainhook/captainhook/tools/phive:27}()
#4 src/Factory.php(97): PharIo\Phive\Factory->getPhiveXmlConfig()
#5 src/commands/CommandLocator.php(42): PharIo\Phive\Factory->getInstallCommand()
#6 src/shared/cli/Runner.php(241): PharIo\Phive\CommandLocator->getCommand()
#7 src/shared/cli/Runner.php(95): PharIo\Phive\Cli\Runner->execute()
#8 (354): PharIo\Phive\Cli\Runner->run()
#9 {main}
Environment: PHP 8.4.0-dev (on Linux 6.5.0-1025-azure)
Phive Version: 0.15.2
This should not have happened and is most likely a bug.
Please report it at https://github.com/phar-io/phive/issues, make sure you include
the full output of this error message. Thank you!
Error: [ERROR] An error occurred while processing your request:
PharIo\Phive\Config::__construct(): Implicitly marking parameter $now as nullable is deprecated, the explicit nullable type must be used instead
#0 src/shared/config/Config.php(34)
#1 unknown file(0): PharIo\Phive\Cli\Runner->shutdownHandler()
#2 {main}
Environment: PHP 8.4.0-dev (on Linux 6.5.0-1025-azure)
Phive Version: 0.15.2
This should not have happened and is most likely a bug.
Please report it at https://github.com/phar-io/phive/issues, make sure you include
the full output of this error message. Thank you!
Error: Process completed with exit code 10.
Because if I understand the RFC correctly using ?Type $var = null should be the actual fix for the deprecation Type $var = null. But maybe I did not get it :/
So it could be a dev version issue and actually a problem with PHP
The text was updated successfully, but these errors were encountered:
The problem is here:
phive/src/shared/XmlFile.php
Line 71 in 9dee308
And I think here as well
phive/src/shared/config/Config.php
Line 36 in 9dee308
and here and following
phive/src/shared/phar/ConfiguredPhar.php
Line 39 in 9dee308
Because if I understand the RFC correctly using
?Type $var = null
should be the actual fix for the deprecationType $var = null
. But maybe I did not get it :/So it could be a dev version issue and actually a problem with PHP
The text was updated successfully, but these errors were encountered: