diff --git a/.github/workflows/run-tests.yml b/.github/workflows/run-tests.yml index 66c8486..09024eb 100644 --- a/.github/workflows/run-tests.yml +++ b/.github/workflows/run-tests.yml @@ -9,7 +9,7 @@ jobs: strategy: fail-fast: true matrix: - php: [8.0, 8.1] + php: [8.1, 8.2] dependency-version: [prefer-lowest, prefer-stable] name: PHP ${{ matrix.php }} - ${{ matrix.dependency-version }} diff --git a/composer.json b/composer.json index e57c3b8..8d2d0e2 100644 --- a/composer.json +++ b/composer.json @@ -14,15 +14,15 @@ "type": "library", "license": "MIT", "require": { - "php": "^8.0", + "php": "^8.1", "ext-json": "*", - "arcanedev/support": "^9.0" + "arcanedev/support": "^9.0|^10.0" }, "require-dev": { "ext-intl": "*", - "laravel/framework": "^9.0", + "laravel/framework": "^9.0|^10.0", "mockery/mockery": "^1.4.4", - "orchestra/testbench-core": "^7.0", + "orchestra/testbench-core": "^7.0|^8.0", "phpunit/phpunit": "^9.5.10" }, "autoload": { diff --git a/src/Entities/Locale.php b/src/Entities/Locale.php index 36f776f..9f699a2 100644 --- a/src/Entities/Locale.php +++ b/src/Entities/Locale.php @@ -334,7 +334,7 @@ public function toJson($options = 0) * * @return array */ - public function jsonSerialize() + public function jsonSerialize(): mixed { return $this->toArray(); }