? Pending

User tests: Successful: Unsuccessful:

avatar PhilETaylor
PhilETaylor
9 Jan 2021

Summary of Changes

Symfony provides Command::SUCCESS and Command::FAILURE return statuses

This PR replaces hand typed integers with those constants

AND Bonus: Fixes typo in CONFIG_GET_OPTION_NOT_FOUND in libraries/src/Console/GetConfigurationCommand.php

The Command::SUCCESS and Command::FAILURE constants were introduced in Symfony 5.1.

Testing Instructions

run commands

Actual result BEFORE applying this Pull Request

All commands work and return exit codes appropriate to their exit status

Expected result AFTER applying this Pull Request

All commands work and return exit codes appropriate to their exit status while reusing built in Class Constants provided by \Symfony\Component\Console\Command\Command

Documentation Changes Required

None

avatar PhilETaylor PhilETaylor - open - 9 Jan 2021
avatar PhilETaylor PhilETaylor - change - 9 Jan 2021
Status New Pending
avatar joomla-cms-bot joomla-cms-bot - change - 9 Jan 2021
Category Libraries
avatar PhilETaylor PhilETaylor - change - 9 Jan 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 9 Jan 2021
avatar PhilETaylor PhilETaylor - change - 9 Jan 2021
The description was changed
avatar PhilETaylor PhilETaylor - edited - 9 Jan 2021
avatar wilsonge wilsonge - change - 10 Jan 2021
Status Pending Fixed in Code Base
Closed_Date 0000-00-00 00:00:00 2021-01-10 00:57:19
Closed_By wilsonge
Labels Added: ?
avatar wilsonge wilsonge - close - 10 Jan 2021
avatar wilsonge wilsonge - merge - 10 Jan 2021
avatar wilsonge
wilsonge - comment - 10 Jan 2021

Merged on review

Add a Comment

Login with GitHub to post a comment