Skip to content

Commit 6948355

Browse files
committed
docs: add new PHP argument to README.md
Signed-off-by: Maximilian Bösing <[email protected]>
1 parent 752d587 commit 6948355

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,14 @@ The `.laminas-ci/pre-install.sh` command runs before any other command is execut
114114
- `$1`: the user the QA command will run under
115115
- `$2`: the WORKDIR path
116116
- `$3`: the `$JOB` passed to the entrypoint (see above)
117+
- `$4`: the `$PHP` (<major>.<minor>) configured for execution
117118

118119
The `.laminas-ci/pre-run.sh` command runs immediately prior to the QA command, and will receive the following arguments:
119120

120121
- `$1`: the user the QA command will run under
121122
- `$2`: the WORKDIR path
122123
- `$3`: the `$JOB` passed to the entrypoint (see above)
124+
- `$4`: the `$PHP` (<major>.<minor>) configured for execution
123125

124126
It is also possible to pass `before_script` with a list of commands via the `$JOB` variable.
125127

@@ -129,6 +131,7 @@ The `.laminas-ci/post-run.sh` command will receive these arguments:
129131
- `$2`: the user the QA command will run under
130132
- `$3`: the WORKDIR path
131133
- `$4`: the `$JOB` passed to the entrypoint (see above)
134+
- `$5`: the `$PHP` (<major>.<minor>) configured for execution
132135

133136
It is also possible to pass `after_script` with a list of commands via the `$JOB` variable.
134137
`$STATUS` is a variable containing the exit code of the command and can be used in the commands listed in `after_script`.

0 commit comments

Comments
 (0)