From 4b4abec0748d0d2c13ce8ffe05e2c7d985d7bef7 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Fri, 30 Sep 2022 00:37:11 +0200 Subject: [PATCH] workflow fix --- .github/workflows/main.yml | 8 ++++---- .../Backend/Components/AccountGroupSelector/BaseView.php | 2 +- .../Backend/Components/AccountGroupSelector/PopupView.php | 2 +- composer.json | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 80098e9..05f5df8 100755 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -73,7 +73,7 @@ jobs: fail-fast: false max-parallel: 3 matrix: - php-versions: ['8.0'] + php-versions: ['8.1'] steps: - name: Checkout Repository uses: actions/checkout@main @@ -135,7 +135,7 @@ jobs: fail-fast: false max-parallel: 3 matrix: - php-versions: ['8.0'] + php-versions: ['8.1'] steps: - name: Checkout Repository uses: actions/checkout@main @@ -184,7 +184,7 @@ jobs: fail-fast: false max-parallel: 3 matrix: - php-versions: ['8.0'] + php-versions: ['8.1'] steps: - name: Checkout Repository uses: actions/checkout@main @@ -240,7 +240,7 @@ jobs: submodules: recursive token: ${{ secrets.GH_PAT }} - name: Lint Code Base - uses: github/super-linter@v4 + uses: github/super-linter/slim@v4 env: VALIDATE_ALL_CODEBASE: false DEFAULT_BRANCH: develop diff --git a/Theme/Backend/Components/AccountGroupSelector/BaseView.php b/Theme/Backend/Components/AccountGroupSelector/BaseView.php index 879201c..2b5fd65 100755 --- a/Theme/Backend/Components/AccountGroupSelector/BaseView.php +++ b/Theme/Backend/Components/AccountGroupSelector/BaseView.php @@ -93,7 +93,7 @@ class BaseView extends View /** * {@inheritdoc} */ - public function render(...$data) : string + public function render(mixed ...$data) : string { $this->id = $data[0]; $this->name = $data[1]; diff --git a/Theme/Backend/Components/AccountGroupSelector/PopupView.php b/Theme/Backend/Components/AccountGroupSelector/PopupView.php index a6d841b..2bc051f 100755 --- a/Theme/Backend/Components/AccountGroupSelector/PopupView.php +++ b/Theme/Backend/Components/AccountGroupSelector/PopupView.php @@ -76,7 +76,7 @@ class PopupView extends View /** * {@inheritdoc} */ - public function render(...$data) : string + public function render(mixed ...$data) : string { $this->id = $data[0] ?? $this->id; return parent::render(); diff --git a/composer.json b/composer.json index ac4e7bd..15e8d01 100755 --- a/composer.json +++ b/composer.json @@ -12,7 +12,7 @@ "friendsofphp/php-cs-fixer": ">=3.8", "squizlabs/php_codesniffer": ">=3.6", "phpmd/phpmd": ">=2.9", - "phpstan/phpstan": ">=1.5.4", + "phpstan/phpstan": ">=1.8.6", "phan/phan": ">=3.2.6" }, "minimum-stability": "dev",