Skip to content

Commit

Permalink
fix support php 8.2, unsupport php 8.0
Browse files Browse the repository at this point in the history
  • Loading branch information
oreno4649 committed May 11, 2024
1 parent 90fdd90 commit 5f3d2b1
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php-cs-fixer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.0", "8.1" ]
php: [ "8.1", "8.2" ]
steps:
- uses: actions/checkout@v3

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/phpstan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
- 'tests/**'

jobs:
php-cs-fixer:
phpstan:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
php: [ "8.0", "8.1" ]
php: [ "8.1", "8.2" ]
steps:
- uses: actions/checkout@v3

Expand All @@ -31,6 +31,6 @@ jobs:
cat /etc/os-release
php -v
./vendor/bin/phpstan --version
- name: Execute php-cs-fixer
- name: Execute phpstan
run: |
./vendor/bin/phpstan analyse
2 changes: 1 addition & 1 deletion .github/workflows/unittest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php: [ "8.0", "8.1" ]
php: [ "8.2", "8.1" ]
steps:
- uses: actions/checkout@v3

Expand Down
1 change: 1 addition & 0 deletions src/Controllers/PermissionController.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
/**
* @property mixed $http_method
*/
#[\AllowDynamicProperties]
class PermissionController extends AdminController
{
/**
Expand Down
1 change: 1 addition & 0 deletions src/Widgets/Grid/Grid.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
* @property mixed $variables
* @property mixed $originalCollection
*/
#[\AllowDynamicProperties]
class Grid
{
use Concerns\HasElementNames,
Expand Down

0 comments on commit 5f3d2b1

Please sign in to comment.