File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # This workflow is provided via the organization template repository
2- #
3- # https://github.com/nextcloud/.github
4- # https://docs.github.com/en/actions/learn-github-actions/sharing-workflows-with-your-organization
5- #
61# SPDX-FileCopyrightText: 2026 Nextcloud GmbH and Nextcloud contributors
72# SPDX-License-Identifier: MIT
83
94name : PHPUnit key-value store
105
116on :
127 pull_request :
13- schedule :
14- - cron : " 5 2 * * *"
158
169permissions :
1710 contents : read
@@ -21,7 +14,6 @@ concurrency:
2114 cancel-in-progress : true
2215
2316env :
24- # Official Valkey image, see https://hub.docker.com/r/valkey/valkey
2517 VALKEY_IMAGE : valkey/valkey:8
2618
2719jobs :
3830 with :
3931 filters : |
4032 src:
41- - '.github/workflows/** '
33+ - '.github/workflows/phpunit-kvstore.yml '
4234 - '3rdparty/**'
4335 - '**/appinfo/**'
44- - '**/lib/**'
45- - '**/templates/**'
46- - '**/tests/**'
47- - 'vendor/**'
48- - 'vendor-bin/**'
49- - '.php-cs-fixer.dist.php'
50- - 'composer.json'
51- - 'composer.lock'
5236 - '**.php'
5337
5438 phpunit-kvstore :
Original file line number Diff line number Diff line change @@ -264,7 +264,7 @@ private function normalizeTtl(int $ttl): int {
264264 }
265265
266266 protected static function encodeValue (mixed $ value ): string {
267- return is_int ($ value ) ? (string )$ value : json_encode ($ value );
267+ return is_int ($ value ) ? (string )$ value : json_encode ($ value, JSON_THROW_ON_ERROR );
268268 }
269269
270270 protected static function decodeValue (string $ value ): mixed {
You can’t perform that action at this time.
0 commit comments