Skip to content

Commit

Permalink
TASK: Fix errors in static analysis and add tests with php 8
Browse files Browse the repository at this point in the history
  • Loading branch information
mficzel committed Apr 1, 2022
1 parent 2ec5ba5 commit 55a413d
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,17 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.3', '7.4']
neos-versions: ['5.3', '7.0', '7.1']
php-versions: ['7.4', '8.0']
neos-versions: ['7.3']
include:
- php-versions: '7.3'
neos-versions: '5.3'
- php-versions: '7.3'
neos-versions: '7.0'
- php-versions: '7.3'
neos-versions: '7.1'
- php-versions: '7.3'
neos-versions: '7.2'

runs-on: ubuntu-latest

Expand Down
4 changes: 2 additions & 2 deletions Classes/Controller/DummyImageController.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class DummyImageController extends ActionController
/**
* @Flow\InjectConfiguration
*
* @var array
* @var mixed[]
*/
protected $settings;

Expand All @@ -57,7 +57,7 @@ class DummyImageController extends ActionController
* with a static Imagick instance,
* because Vips does not yet support draw
*/
public function initializeObject()
public function initializeObject(): void
{
if (isset($this->settings['dummyImage']['overrideImagineDriver']) && $this->settings['dummyImage']['overrideImagineDriver'] !== false) {
$className = 'Imagine\\'.$this->settings['dummyImage']['overrideImagineDriver'].'\\Imagine';
Expand Down

0 comments on commit 55a413d

Please sign in to comment.