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/Editor/BaseView.php b/Theme/Backend/Components/Editor/BaseView.php index 40f002c..1fedd81 100755 --- a/Theme/Backend/Components/Editor/BaseView.php +++ b/Theme/Backend/Components/Editor/BaseView.php @@ -68,7 +68,7 @@ class BaseView extends View /** * {@inheritdoc} */ - public function render(...$data) : string + public function render(mixed ...$data) : string { $this->id = ($data[0] ?? '') . '-tools'; return parent::render(); diff --git a/Theme/Backend/Components/Editor/TextView.php b/Theme/Backend/Components/Editor/TextView.php index 096315c..b0ab437 100755 --- a/Theme/Backend/Components/Editor/TextView.php +++ b/Theme/Backend/Components/Editor/TextView.php @@ -200,7 +200,7 @@ class TextView 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/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",