Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit cb87f8d

Browse files
PHP 8.4 support added (#44)
Add support for PHP 8.4 and fix minor docs linting issues Signed-off-by: Atul-glo35265 <glo35265@adobe.com>
1 parent f3b26b9 commit cb87f8d

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

.laminas-ci.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
22
"ignore_php_platform_requirements": {
3-
"8.3": true
3+
"8.4": true
44
}
55
}

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
}
2626
},
2727
"require": {
28-
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0",
28+
"php": "~8.0.0 || ~8.1.0 || ~8.2.0 || ~8.3.0 || ~8.4.0",
2929
"laminas/laminas-stdlib": "^3.2.1"
3030
},
3131
"require-dev": {

composer.lock

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/book/adapters.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ constructor. The available options are:
2525

2626
Option name | Type | Description
2727
---------------- | ----------------------- | -----------
28-
outputStream | `string|resource` | A different output stream, if you don't want to stream to `STDOUT`. Can be any other stream like `php://stderr` or a path to a file.
29-
width | `int|ProgressBar::AUTO` | Console width to use; `ProgressBar::AUTO` indicates the adapter should autodetect the width.
30-
elements | `null|array` | Which elements to include in the display; `null` to include all, or an array with one of the `Console` constants, as detailed below.
28+
outputStream | `string OR resource` | A different output stream, if you don't want to stream to `STDOUT`. Can be any other stream like `php://stderr` or a path to a file.
29+
width | `int OR ProgressBar::AUTO` | Console width to use; `ProgressBar::AUTO` indicates the adapter should autodetect the width.
30+
elements | `null OR array` | Which elements to include in the display; `null` to include all, or an array with one of the `Console` constants, as detailed below.
3131
textWidth | `int` | Width in characters of the ``ELEMENT_TEXT`` element. Default is 20.
3232
charset | `string` | Charset of the ``ELEMENT_TEXT`` element. Default is utf-8.
3333
barLeftChar | `string` | String to use on the left-hand side of the progressbar indicator.
@@ -58,7 +58,7 @@ constructor. The available options are:
5858
Option name | Type | Description
5959
---------------- | ------------- | -----------
6060
updateMethodName | `string` | The JavaScript method which should be called on every update. Default value is `Laminas\ProgressBar\Update`.
61-
finishMethodName | `null|string` | The JavaScript method which should be called when sending the finish status. Default value is `NULL`, which means nothing is done.
61+
finishMethodName | `null OR string` | The JavaScript method which should be called when sending the finish status. Default value is `NULL`, which means nothing is done.
6262

6363
To use this adapter, first create a progressbar in your browser, either with
6464
JavaScript or plain HTML. Then define the update method and optionally a finish

0 commit comments

Comments
 (0)