- Added option conflict verification in OptionCollection
- Moved InvalidOptionValue to GetOptionKit\Exception\InvalidOptionValueException
- Added detail about regex when raising an InvalidOptionValue exception
- Implemented countable interface and merge method in OptionResult
- Fixed default value settings in ContinuousOptionParser
- Added closure support for defaultValue attribute
- Commit ded820e: Merged pull request #51 from ErikBooij/master
- Added PHPUnit as a dev dependency
- Removed 5.4+ new array syntax to support 5.3+
- Fixed bugs for multiple value parsing with arguments.
- OptionParser::parse(argv) now expects the first argument to be the program name, so you can pass argv directly to the parser.
- Fixed bugs for ContinuousOptionParser.
- ContinuousOptionParser improvements.
- Added PathType.
Merged PRs:
-
Commit 7bbb91b: Merge pull request #34 from 1Franck/master
added value type option(s) support, added class RegexType
-
Commit 3722992: Merge pull request #33 from 1Franck/patch-1
Clarified InvalidOptionValue exception message
- Added more types for type constraint option. url, ip, ipv4, ipv6, email by @1Franck++
- Several bug fixes by @1Franck++
- Added incremental option value support.
- Fixed #21 for negative value.
- Used autoloading with PSR-4
- Improved hinting text for default value
- Some coding style fix
- Added default value support
- Updated default value support for ContinuousOptionParser
- Added getValue() accessor on OptionSpec class
- Merged pull request #22 from Gasol/zero-option. @Gasol++
- Fix option that can't not be 0