diff --git a/.github/workflows/phpstan.yml b/.github/workflows/phpstan.yml index c9d5bc9a7b..69ca927133 100644 --- a/.github/workflows/phpstan.yml +++ b/.github/workflows/phpstan.yml @@ -10,7 +10,7 @@ jobs: strategy: fail-fast: false matrix: - php: [8.3, 8.2] + php: [8.4, 8.3, 8.2] laravel: [12.*, 11.*] dependency-version: [prefer-stable] include: diff --git a/packages/schemas/src/Components/Concerns/HasState.php b/packages/schemas/src/Components/Concerns/HasState.php index aff342b0da..877130d15e 100644 --- a/packages/schemas/src/Components/Concerns/HasState.php +++ b/packages/schemas/src/Components/Concerns/HasState.php @@ -806,6 +806,7 @@ trait HasState protected function flushCachedAbsoluteStatePath(): void { + /** @phpstan-ignore unset.possiblyHookedProperty */ unset($this->cachedAbsoluteStatePath); } diff --git a/packages/schemas/src/Concerns/HasState.php b/packages/schemas/src/Concerns/HasState.php index fe050197f4..a956a98df0 100644 --- a/packages/schemas/src/Concerns/HasState.php +++ b/packages/schemas/src/Concerns/HasState.php @@ -469,6 +469,7 @@ trait HasState protected function flushCachedAbsoluteStatePath(): void { + /** @phpstan-ignore unset.possiblyHookedProperty */ unset($this->cachedAbsoluteStatePath); }