diff --git a/CHANGELOG.md b/CHANGELOG.md index a72f417..98c1193 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,10 @@ This project adheres to [Semantic Versioning](http://semver.org/). **View all [Unreleased][] changes here** +## [1.0.2][] +#### Fixed +- Fixed `InputCollection::getArgumentsByIndex()` so it returns NULL if the index does not exist instead of throwing an E_NOTICE message + ## [1.0.1][] #### Changed - Updated example to use `Cli\manpage()` provided by the `pointybeard/helpers-functions-cli` package @@ -13,5 +17,6 @@ This project adheres to [Semantic Versioning](http://semver.org/). #### Added - Initial release -[Unreleased]: https://github.com/pointybeard/helpers-functions-cli/compare/1.0.1...integration +[Unreleased]: https://github.com/pointybeard/helpers-functions-cli/compare/1.0.2...integration +[1.0.2]: https://github.com/pointybeard/helpers-functions-cli/compare/1.0.1...1.0.2 [1.0.1]: https://github.com/pointybeard/helpers-functions-cli/compare/1.0.0...1.0.1 diff --git a/README.md b/README.md index 17b49a0..e8823ce 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # PHP Helpers: Command-line Input and Input Type Handlers -- Version: v1.0.1 -- Date: May 20 2019 +- Version: v1.0.2 +- Date: May 23 2019 - [Release notes](https://github.com/pointybeard/helpers-cli-input/blob/master/CHANGELOG.md) - [GitHub repository](https://github.com/pointybeard/helpers-cli-input) diff --git a/composer.json b/composer.json index 937c4d3..9bfb571 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { "name": "pointybeard/helpers-cli-input", - "version": "1.0.1", + "version": "1.0.2", "description": "Collection of classes for handling argv (and other) input when calling command-line scripts. Helps with parsing, collecting and validating arguments, options, and flags.", "homepage": "https://github.com/pointybeard/helpers-cli-input", "license": "MIT", @@ -14,14 +14,14 @@ ], "require": { "php": ">=7.2", - "pointybeard/helpers-foundation-factory": "~1.0", - "pointybeard/helpers-functions-flags": "~1.0" + "pointybeard/helpers-foundation-factory": "~1", + "pointybeard/helpers-functions-flags": "~1" }, "require-dev": { "phpunit/phpunit": "^8", - "pointybeard/helpers-functions-strings": "~1.0", - "pointybeard/helpers-cli-colour": "~1.0", - "pointybeard/helpers-functions-cli": "~1.1" + "pointybeard/helpers-functions-strings": "^1", + "pointybeard/helpers-cli-colour": "^1", + "pointybeard/helpers-functions-cli": "^1" }, "support": { "issues": "https://github.com/pointybeard/helpers-cli-input/issues",