Skip to content

Commit 48badb5

Browse files
authored
Update minor info (#57)
1 parent a4d8388 commit 48badb5

File tree

3 files changed

+11
-10
lines changed

3 files changed

+11
-10
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
## Usage
2727

2828
```console
29-
$ php-matrix "^7 || ^8"
29+
$ php-matrix constraint "^7 || ^8"
3030
{
3131
"constraint": "^7 || ^8",
3232
"versions": [
@@ -45,7 +45,7 @@ $ php-matrix "^7 || ^8"
4545
"highest": "8.4"
4646
}
4747

48-
$ php-matrix --mode=full "~7.4.29 || ~8.1.29"
48+
$ php-matrix constraint --mode=full "~7.4.29 || ~8.1.29"
4949
{
5050
"constraint": "~7.4.29 || ~8.1.29",
5151
"versions": [
@@ -61,7 +61,7 @@ $ php-matrix --mode=full "~7.4.29 || ~8.1.29"
6161
"highest": "8.1.31"
6262
}
6363

64-
$ php-matrix --mode=minor-only ">=7.2 <8.4"
64+
$ php-matrix constraint --mode=minor-only ">=7.2 <8.4"
6565
{
6666
"constraint": ">=7.2 <8.4",
6767
"versions": [
@@ -91,7 +91,7 @@ Available modes:
9191
Available sources:
9292
- `auto` *(default)*: Use `offline` in `minor-only` mode. Otherwise, fetch from [php.net](https://www.php.net/releases/index.php)
9393
- `php.net`: Fetch releases information from [php.net](https://www.php.net/releases/index.php)
94-
- `offline`: Use [hardcoded releases](data/all-versions.json) information
94+
- `offline`: Use [hardcoded releases](./data/all-versions.json) information
9595

9696
## Installation
9797

composer.json

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,18 +23,19 @@
2323
"homepage": "https://github.com/typisttech/php-matrix",
2424
"support": {
2525
"issues": "https://github.com/typisttech/php-matrix/issues",
26-
"source": "https://github.com/typisttech/php-matrix"
26+
"source": "https://github.com/typisttech/php-matrix",
27+
"security": "https://github.com/typisttech/php-matrix/security"
2728
},
2829
"require": {
2930
"php": "^8.4",
3031
"composer-runtime-api": "^2.2",
31-
"composer/semver": "^3.4.4",
32+
"composer/semver": "^3.4",
3233
"guzzlehttp/guzzle": "^7.10",
33-
"symfony/console": "^7.3.4"
34+
"symfony/console": "^7.3"
3435
},
3536
"require-dev": {
36-
"mockery/mockery": "^1.6.12",
37-
"pestphp/pest": "^4.1.2",
37+
"mockery/mockery": "^1.6",
38+
"pestphp/pest": "^4.1",
3839
"phpstan/extension-installer": "^1.4",
3940
"phpstan/phpstan": "^2.1",
4041
"phpstan/phpstan-deprecation-rules": "^2.0",

composer.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)