File tree Expand file tree Collapse file tree 1 file changed +6
-27
lines changed Expand file tree Collapse file tree 1 file changed +6
-27
lines changed Original file line number Diff line number Diff line change @@ -78,42 +78,21 @@ $ php-matrix --mode=minor-only ">=7.2 <8.4"
78
78
}
79
79
```
80
80
81
- ## Options
81
+ ### Options
82
82
83
- ### ` --mode `
83
+ #### ` --mode `
84
84
85
- <dl >
86
- <dt ><code >minor-only</code > (default)</dt >
87
- <dd >Report <code >MAJOR.MINOR</code > versions only</dd >
88
- </dl >
85
+ Available modes:
86
+ - ` minor-only ` * (default)* : Report ` MAJOR.MINOR ` versions only
87
+ - ` full ` : Report all satisfying versions in ` MAJOR.MINOR.PATCH ` format
89
88
90
- <dl >
91
- <dt ><code >full</code ></dt >
92
- <dd >Report all satisfying versions in <code >MAJOR.MINOR.PATCH</code > format</dd >
93
- </dl >
94
-
95
- ### ` --source `
89
+ #### ` --source `
96
90
97
91
Available sources:
98
92
- ` auto ` * (default)* : Use ` offline ` in ` minor-only ` mode. Otherwise, fetch from [ php.net] ( https://www.php.net/releases/index.php )
99
93
- ` php.net ` : Fetch releases information from [ php.net] ( https://www.php.net/releases/index.php )
100
94
- ` offline ` : Use [ hardcoded releases information] ( resources/all-versions.json )
101
95
102
- <dl >
103
- <dt ><code >auto</code > (default)</dt >
104
- <dd >Use <code >offline</code > in <code >minor-only</code > mode. Otherwise, fetch from <a href =" https://www.php.net/releases/index.php " >php.net</a ></dd >
105
- </dl >
106
-
107
- <dl >
108
- <dt ><code >php.net</code ></dt >
109
- <dd >Fetch releases information from <a href =" https://www.php.net/releases/index.php " >php.net</a ></dd >
110
- </dl >
111
-
112
- <dl >
113
- <dt ><code >offline</code ></dt >
114
- <dd >Use <a href =" https://github.com/typisttech/php-matrix/blob/main/resources/all-versions.json " >hardcoded releases</a > information</dd >
115
- </dl >
116
-
117
96
## Installation
118
97
119
98
### Composer Global
You can’t perform that action at this time.
0 commit comments