Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Console] Improved checks for InputArgument and InputOption construct…
…or's $mode parameter. Check that $mode in InputArgument::__construct() is not below 1 to actually look if any of the flags are set. Check that $mode in InputOption::__construct() is not below 1 to actually look if any of the flags are set. Check for the correct parameter type, as in InputOption (integer). InputArgumentTest: Added test for negative integer $mode parameter input in constructor. InputOptionTest: Added test for negative integer $mode parameter input in constructor.
- Loading branch information
Showing
4 changed files
with
16 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters