garden-cli
garden-cli copied to clipboard
49 - add explicit nullable declarations
This should address #49 by adding the following explicit nullable declarations:
-
Cli::parse:$argv -
Cli::validateType$def
The underlying issue is not visible when testing with PHP 8.4 and PHPUnit 8, so there is no clear difference when running the test suite.
However, when testing from an external project with PHP 8.4 and PHPUnit 12, two deprecation notices appear before the change and disappear after the change.
Just ran into this issue and was about to report it, thanks for sending a patch
Looks like main Vanilla project is abandoned from 2021 https://open.vanillaforums.com/discussion/39558/official-releases-have-ended and things are not getting merged.