Skip to content

Commit

Permalink
update phpunit
Browse files Browse the repository at this point in the history
  • Loading branch information
kcleung committed Aug 30, 2021
1 parent 2ac182c commit e6e0190
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 6 deletions.
19 changes: 15 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,31 @@
# phputil
A PHP Utils Helpers
A PHP Util Package


# composer test
```
composer init
```

local:
```
composer config repositories.backtend path "D:\backtend\phputil"
composer require backtend/phputil:^1.0.0 -vvv
composer require backtend/phputil:^1.0 -vvv
composer update backtend/phputil
```


本地开发composer包,若修改了composer.json需要重置:
```
composer remove backtend/phputil
composer require backtend/phputil
```


# 语义化版本
https://semver.org/lang/zh-CN/
[Version Tips](https://semver.org/lang/zh-CN/)

1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
```blade
1.0.0-alpha < 1.0.0-alpha.1 < 1.0.0-alpha.beta < 1.0.0-beta < 1.0.0-beta.2 < 1.0.0-beta.11 < 1.0.0-rc.1 < 1.0.0
```
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "backtend/phputil",
"description": "A PHP Util Functions",
"license": "Apache-2.0",
"version": "1.0.4",
"version": "1.0.5",
"authors": [
{
"name": "kcleung",
Expand All @@ -18,7 +18,7 @@
"php": ">=7.1"
},
"require-dev": {
"phpunit/phpunit": "~5.7.27 || ~6.5.5"
"phpunit/phpunit": "~9.5.8"
},
"minimum-stability": "stable",
"autoload": {
Expand Down

0 comments on commit e6e0190

Please sign in to comment.