summaryrefslogtreecommitdiff
path: root/vendor/chillerlan/php-settings-container
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/chillerlan/php-settings-container')
-rw-r--r--vendor/chillerlan/php-settings-container/.github/workflows/tests.yml14
-rw-r--r--vendor/chillerlan/php-settings-container/README.md2
-rw-r--r--vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php1
3 files changed, 8 insertions, 9 deletions
diff --git a/vendor/chillerlan/php-settings-container/.github/workflows/tests.yml b/vendor/chillerlan/php-settings-container/.github/workflows/tests.yml
index e52681849..8f108f0dd 100644
--- a/vendor/chillerlan/php-settings-container/.github/workflows/tests.yml
+++ b/vendor/chillerlan/php-settings-container/.github/workflows/tests.yml
@@ -25,7 +25,7 @@ jobs:
steps:
- name: "Checkout"
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: "Install PHP"
uses: shivammathur/setup-php@v2
@@ -48,12 +48,12 @@ jobs:
steps:
- name: "Checkout sources"
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: "Install PHP"
uses: shivammathur/setup-php@v2
with:
- php-version: "7.4"
+ php-version: "8.1"
coverage: none
tools: phpDocumentor
extensions: json
@@ -62,7 +62,7 @@ jobs:
run: phpdoc --config=phpdoc.xml
- name: "Publish Docs to gh-pages"
- uses: JamesIves/[email protected]
+ uses: JamesIves/[email protected]
with:
branch: gh-pages
folder: docs
@@ -86,7 +86,7 @@ jobs:
steps:
- name: "Checkout"
- uses: actions/checkout@v2
+ uses: actions/checkout@v3
- name: "Install PHP with extensions"
uses: shivammathur/setup-php@v2
@@ -102,6 +102,4 @@ jobs:
run: php vendor/phpunit/phpunit/phpunit --configuration=phpunit.xml
- name: "Send code coverage report to Codecov.io"
- uses: codecov/codecov-action@v1
- with:
- token: ${{ secrets.CODECOV_TOKEN }}
+ uses: codecov/codecov-action@v3
diff --git a/vendor/chillerlan/php-settings-container/README.md b/vendor/chillerlan/php-settings-container/README.md
index b5fd4ad27..579696b6e 100644
--- a/vendor/chillerlan/php-settings-container/README.md
+++ b/vendor/chillerlan/php-settings-container/README.md
@@ -35,7 +35,7 @@ A container class for immutable settings objects. Not a DI container. PHP 7.4+
```json
{
"require": {
- "php": "^7.4",
+ "php": "^7.4 || ^8.0",
"chillerlan/php-settings-container": "dev-main"
}
}
diff --git a/vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php b/vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php
index f643f73d0..6b7a1ecc2 100644
--- a/vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php
+++ b/vendor/chillerlan/php-settings-container/src/SettingsContainerAbstract.php
@@ -154,6 +154,7 @@ abstract class SettingsContainerAbstract implements SettingsContainerInterface{
/**
* @inheritdoc
*/
+ #[\ReturnTypeWillChange]
public function jsonSerialize():array{
return $this->toArray();
}