Skip to content

Added __set_state for options #40

Added __set_state for options

Added __set_state for options #40

Triggered via push August 2, 2024 10:47
Status Failure
Total duration 25s
Artifacts

test.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

39 errors and 2 warnings
PHP 8.0 Test on ubuntu-latest: src/Options/AbstractOption.php#L12
Method Onliner\ImgProxy\Options\AbstractOption::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.0 Test on ubuntu-latest: src/Options/AbstractOption.php#L19
Undefined variable: $this
PHP 8.0 Test on ubuntu-latest: src/Support/Color.php#L36
Method Onliner\ImgProxy\Support\Color::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.0 Test on ubuntu-latest: src/Support/Color.php#L38
Unsafe usage of new static().
PHP 8.0 Test on ubuntu-latest: src/Support/GravityType.php#L53
Method Onliner\ImgProxy\Support\GravityType::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.0 Test on ubuntu-latest: src/Support/GravityType.php#L55
Unsafe usage of new static().
PHP 8.0 Test on ubuntu-latest: src/Support/ImageFormat.php#L30
Method Onliner\ImgProxy\Support\ImageFormat::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.0 Test on ubuntu-latest: src/Support/ImageFormat.php#L32
Unsafe usage of new static().
PHP 8.0 Test on ubuntu-latest
Process completed with exit code 2.
PHP 8.1 Test on ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
PHP 8.1 Test on ubuntu-latest: src/Options/AbstractOption.php#L12
Method Onliner\ImgProxy\Options\AbstractOption::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.1 Test on ubuntu-latest: src/Options/AbstractOption.php#L19
Undefined variable: $this
PHP 8.1 Test on ubuntu-latest: src/Support/Color.php#L36
Method Onliner\ImgProxy\Support\Color::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.1 Test on ubuntu-latest: src/Support/Color.php#L38
Unsafe usage of new static().
PHP 8.1 Test on ubuntu-latest: src/Support/GravityType.php#L53
Method Onliner\ImgProxy\Support\GravityType::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.1 Test on ubuntu-latest: src/Support/GravityType.php#L55
Unsafe usage of new static().
PHP 8.1 Test on ubuntu-latest: src/Support/ImageFormat.php#L30
Method Onliner\ImgProxy\Support\ImageFormat::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.1 Test on ubuntu-latest: src/Support/ImageFormat.php#L32
Unsafe usage of new static().
PHP 8.1 Test on ubuntu-latest
Process completed with exit code 2.
PHP 8.2 Test on ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
PHP 8.2 Test on ubuntu-latest: src/Options/AbstractOption.php#L12
Method Onliner\ImgProxy\Options\AbstractOption::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.2 Test on ubuntu-latest: src/Options/AbstractOption.php#L19
Undefined variable: $this
PHP 8.2 Test on ubuntu-latest: src/Support/Color.php#L36
Method Onliner\ImgProxy\Support\Color::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.2 Test on ubuntu-latest: src/Support/Color.php#L38
Unsafe usage of new static().
PHP 8.2 Test on ubuntu-latest: src/Support/GravityType.php#L53
Method Onliner\ImgProxy\Support\GravityType::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.2 Test on ubuntu-latest: src/Support/GravityType.php#L55
Unsafe usage of new static().
PHP 8.2 Test on ubuntu-latest: src/Support/ImageFormat.php#L30
Method Onliner\ImgProxy\Support\ImageFormat::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.2 Test on ubuntu-latest: src/Support/ImageFormat.php#L32
Unsafe usage of new static().
PHP 8.2 Test on ubuntu-latest
The operation was canceled.
PHP 8.3 Test on ubuntu-latest
The job was canceled because "ubuntu-latest_8_0" failed.
PHP 8.3 Test on ubuntu-latest: src/Options/AbstractOption.php#L12
Method Onliner\ImgProxy\Options\AbstractOption::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.3 Test on ubuntu-latest: src/Options/AbstractOption.php#L19
Undefined variable: $this
PHP 8.3 Test on ubuntu-latest: src/Support/Color.php#L36
Method Onliner\ImgProxy\Support\Color::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.3 Test on ubuntu-latest: src/Support/Color.php#L38
Unsafe usage of new static().
PHP 8.3 Test on ubuntu-latest: src/Support/GravityType.php#L53
Method Onliner\ImgProxy\Support\GravityType::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.3 Test on ubuntu-latest: src/Support/GravityType.php#L55
Unsafe usage of new static().
PHP 8.3 Test on ubuntu-latest: src/Support/ImageFormat.php#L30
Method Onliner\ImgProxy\Support\ImageFormat::__set_state() has parameter $data with no value type specified in iterable type array.
PHP 8.3 Test on ubuntu-latest: src/Support/ImageFormat.php#L32
Unsafe usage of new static().
PHP 8.3 Test on ubuntu-latest
The operation was canceled.
PHP 8.0 Test on ubuntu-latest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
PHP 8.0 Test on ubuntu-latest
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/