mirror of
https://github.com/Karaka-Management/oms-Media.git
synced 2026-01-11 17:08:40 +00:00
workflow fix
This commit is contained in:
parent
5ae3b16cb8
commit
aa435c76de
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -82,7 +82,7 @@ class BaseView extends View
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function render(...$data) : string
|
||||
public function render(mixed ...$data) : string
|
||||
{
|
||||
/** @var array{0:string, 1:string, 2:string, 3?:string, 4?:bool} $data */
|
||||
$this->form = $data[0];
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ class ElementView extends MediaView
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function render(...$data) : string
|
||||
public function render(mixed ...$data) : string
|
||||
{
|
||||
$this->media = $data[0];
|
||||
return parent::render();
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ class ListView extends View
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function render(...$data) : string
|
||||
public function render(mixed ...$data) : string
|
||||
{
|
||||
$this->media = $data[0];
|
||||
return parent::render();
|
||||
|
|
|
|||
|
|
@ -66,7 +66,7 @@ class BaseView extends View
|
|||
/**
|
||||
* {@inheritdoc}
|
||||
*/
|
||||
public function render(...$data) : string
|
||||
public function render(mixed ...$data) : string
|
||||
{
|
||||
/** @var array{0:string, 1?:string, 2?:string} $data */
|
||||
$this->form = $data[0];
|
||||
|
|
|
|||
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user