- Make sure that all nullable property values are set to
nullexplicitly.
Just a re-release locking the interface in place. First final release!
Changes
- Small bugfix that crept up after splitting named commands and instantiated ones.
Changes
- Add static analysis using psalm.
Output::writelns(string ...$lines)now takes multiple string values instead of an array of those.Exceptionhas been renamed toConsoleExceptionfor clarity.- Multiple small code changes to make it more php8.
Changes
- Update parable-php/di dependency to 0.3.0
Changes
- Dropped support for php7, php8 only from now on.
Bugfixes
- When instantiating a command that was added with
addCommandByNameAndClass, it was not prepared properly. Now it is. - In addition,
Application::run()will check whether a command is already prepared and do so if needed.
Changes
- It is now possible to add commands lazily, by calling
Application::addCommandByNameAndClass(string $commandName, string $className). When the command is requested (throughgetCommand()orgetCommands()), it will be instantiated automatically. Command::getUsage()has been replaced withApplication::getCommandUsage($command).Tagsclass added, which is the only class that actually deals with tags.
Bugfixes
set_error_handlerhas been removed.
Changes
- Renamed
OptionandArgumentto haveParametersuffix for clarity (OptionParameterandArgumentParameter). - Renamed
Helpcommand toHelpCommandfor clarity. - Renamed
CommandandParameternamespaces to plural for consistency. - Changed
Environment::TERMINAL_DEFAULT_HEIGHTto 24. - Added
InputTestto prevent future breaking changes to that class as well.
Changes
Apphas been renamed toApplicationfor consistency reasons.- Running a
Command(or theApplication) will no longer return any values. All are typed to returnvoid.
Changes
- Upgrade
parable-php/dito0.2.3.
Changes
- Merged PR #2, which stops unknown tags from throwing.
- All files are now enforcing strict types.
Changes
- Code style clean-up.
Changes
- First release.