diff --git a/.github/workflows/php-code-quality.yml b/.github/workflows/php-code-quality.yml index 47997d7..4cc0391 100644 --- a/.github/workflows/php-code-quality.yml +++ b/.github/workflows/php-code-quality.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: operating-system: [ubuntu-latest] - php-versions: [ '8.3', '8.2', '8.1' ] + php-versions: [ '8.4', '8.3', '8.2', '8.1' ] dependency-stability: [ 'prefer-stable','prefer-lowest' ] runs-on: ${{ matrix.operating-system }} diff --git a/.github/workflows/php-lint.yml b/.github/workflows/php-lint.yml index 2579972..8ab4f87 100644 --- a/.github/workflows/php-lint.yml +++ b/.github/workflows/php-lint.yml @@ -25,6 +25,6 @@ jobs: run: composer run-script test - name: PHP Syntax Checker (Lint) - uses: StephaneBour/actions-php-lint@8.2 + uses: StephaneBour/actions-php-lint@8.3 with: dir: './src' diff --git a/CHANGELOG.md b/CHANGELOG.md index f80d464..6fc694d 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Changelog +## 1.0.1 - WIP +- Upgrade to PHP 8.4 + ## 1.0.0 - 2024-03-13 - upgrading packages diff --git a/src/Lens/Traits/ConfigLens.php b/src/Lens/Traits/ConfigLens.php index f03e840..7c121ce 100644 --- a/src/Lens/Traits/ConfigLens.php +++ b/src/Lens/Traits/ConfigLens.php @@ -6,7 +6,7 @@ trait ConfigLens { - public function getConfigsDatabaseFromEnv(ResultLens $results = null): \HiFolks\LaraLens\ResultLens + public function getConfigsDatabaseFromEnv(ResultLens|null $results = null): \HiFolks\LaraLens\ResultLens { if (is_null($results)) { $results = new ResultLens(); @@ -27,7 +27,7 @@ public function getConfigsDatabaseFromEnv(ResultLens $results = null): \HiFolks\ return $results; } - public function checkDebugEnv(ResultLens $results = null): \HiFolks\LaraLens\ResultLens + public function checkDebugEnv(ResultLens|null $results = null): \HiFolks\LaraLens\ResultLens { if (is_null($results)) { $results = new ResultLens(); @@ -52,7 +52,7 @@ public function checkDebugEnv(ResultLens $results = null): \HiFolks\LaraLens\Res return $results; } - public function getConfigsDatabase(ResultLens $results = null): \HiFolks\LaraLens\ResultLens + public function getConfigsDatabase(ResultLens|null $results = null): \HiFolks\LaraLens\ResultLens { if (is_null($results)) { $results = new ResultLens();