Skip to content

Commit

Permalink
Bump to version 0.3
Browse files Browse the repository at this point in the history
…and add check for PHP version compatibility
  • Loading branch information
bheisig committed May 8, 2019
1 parent 35d4836 commit 0fdae79
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.

## [Unreleased]

_tbd_


## [0.3] – 2019-05-08


### Added

Expand Down Expand Up @@ -55,5 +60,6 @@ Happy holidays 🎄
Initial release


[Unreleased]: https://github.com/bheisig/cli/compare/0.2...HEAD
[Unreleased]: https://github.com/bheisig/cli/compare/0.3...HEAD
[0.3]: https://github.com/bheisig/cli/compare/0.2...0.3
[0.2]: https://github.com/bheisig/cli/compare/0.1...0.2
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ For a simple application look at the `example/` folder.
Go to your project folder and require this framework via Composer:

~~~ {.bash}
composer require "bheisig/cli=>=0.2"
composer require bheisig/cli
~~~


Expand Down
6 changes: 6 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,9 @@
},
"require-dev": {
"php": ">=7.1.0",
"dealerdirect/phpcodesniffer-composer-installer": "^0.5.0",
"jakub-onderka/php-parallel-lint": "^1.0",
"phpcompatibility/php-compatibility": "*",
"phploc/phploc": "^4.0",
"phpmd/phpmd" : "@stable",
"phpstan/phpstan": "^0.11.5",
Expand All @@ -35,6 +37,7 @@
"sensiolabs/security-checker": "^5",
"squizlabs/php_codesniffer": "*"
},
"prefer-stable" : true,
"autoload": {
"psr-4": {
"bheisig\\cli\\": "src/"
Expand All @@ -45,12 +48,14 @@
"@composer syntax-check",
"@composer validate",
"@composer security-checker",
"@composer phpcompatibility",
"@composer phpcpd",
"@composer phpcs",
"@composer phpstan"
],
"gitstats": "gitstats -c project_name=`composer config name` . gitstats",
"gource": "gource -1280x720 --seconds-per-day 3 --auto-skip-seconds 1 --title `composer config name`",
"phpcompatibility": "./vendor/bin/phpcs -p --colors --extensions=php --standard=PHPCompatibility --runtime-set testVersion 7.0 src/",
"phpcpd": "./vendor/bin/phpcpd src/",
"phpcs": "./vendor/bin/phpcs --extensions=php --standard=PSR1,PSR2 --exclude=PSR2.Classes.ClassDeclaration,Squiz.Functions.MultiLineFunctionDeclaration src/ example/bin example/src",
"phploc": "./vendor/bin/phploc --exclude=vendor --exclude=docs --exclude=example .",
Expand All @@ -64,6 +69,7 @@
"ci": "Perform continuous integration tasks",
"gitstats": "Create Git statistics",
"gource": "Visualize Git history",
"phpcompatibility": "Run PHP compatibility checks",
"phpcpd": "Detect copy/paste in source code",
"phpcs": "Detect violations of defined coding standards",
"phploc": "Print source code statistics",
Expand Down

0 comments on commit 0fdae79

Please sign in to comment.