Skip to content

Refactor code to use parameter, return type hints #34

Refactor code to use parameter, return type hints

Refactor code to use parameter, return type hints #34

Triggered via push January 14, 2024 01:29
Status Failure
Total duration 58s
Artifacts
Matrix: types
Fit to window
Zoom out
Zoom in

Annotations

19 errors
PHP 8.2 - Static Analysis: src/FormWidgets/MapArea.php#L1
Ignored error pattern #^Call to an undefined method Igniter\\Admin\\FormWidgets\\Relation\:\:find\(\)\.$# in path /home/runner/work/ti-ext-local/ti-ext-local/src/FormWidgets/MapArea.php was not matched in reported errors.
PHP 8.2 - Static Analysis: src/FormWidgets/MapArea.php#L189
Call to an undefined method Illuminate\Database\Eloquent\Model::reloadRelations().
PHP 8.2 - Static Analysis: src/FormWidgets/MapArea.php#L205
Call to an undefined method Illuminate\Database\Eloquent\Model::find().
PHP 8.2 - Static Analysis: src/FormWidgets/ScheduleEditor.php#L21
Property Igniter\Local\FormWidgets\ScheduleEditor::$model overriding property Igniter\Admin\Classes\BaseFormWidget::$model (Illuminate\Database\Eloquent\Model|null) should also have native type Illuminate\Database\Eloquent\Model|null.
PHP 8.2 - Static Analysis: src/FormWidgets/SettingsEditor.php#L19
Property Igniter\Local\FormWidgets\SettingsEditor::$model overriding property Igniter\Admin\Classes\BaseFormWidget::$model (Illuminate\Database\Eloquent\Model|null) should also have native type Illuminate\Database\Eloquent\Model|null.
PHP 8.2 - Static Analysis: src/Http/Actions/LocationAwareController.php#L1
Ignored error pattern #^Call to an undefined method Illuminate\\Routing\\Controller\:\:bindEvent\(\)\.$# in path /home/runner/work/ti-ext-local/ti-ext-local/src/Http/Actions/LocationAwareController.php was not matched in reported errors.
PHP 8.2 - Static Analysis: src/Http/Actions/LocationAwareController.php#L1
Ignored error pattern #^Call to an undefined method Illuminate\\Routing\\Controller\:\:isClassExtendedWith\(\)\.$# in path /home/runner/work/ti-ext-local/ti-ext-local/src/Http/Actions/LocationAwareController.php was not matched in reported errors.
PHP 8.2 - Static Analysis: src/Http/Actions/LocationAwareController.php#L40
Ignored error pattern #^Access to an undefined property Illuminate\\Routing\\Controller\:\:\$locationConfig\.$# in path /home/runner/work/ti-ext-local/ti-ext-local/src/Http/Actions/LocationAwareController.php is expected to occur 2 times, but occurred only 1 time.
PHP 8.2 - Static Analysis
Process completed with exit code 1.
PHP 8.1 - Static Analysis
The job was canceled because "_8_2" failed.
PHP 8.1 - Static Analysis: src/FormWidgets/MapArea.php#L1
Ignored error pattern #^Call to an undefined method Igniter\\Admin\\FormWidgets\\Relation\:\:find\(\)\.$# in path /home/runner/work/ti-ext-local/ti-ext-local/src/FormWidgets/MapArea.php was not matched in reported errors.
PHP 8.1 - Static Analysis: src/FormWidgets/MapArea.php#L189
Call to an undefined method Illuminate\Database\Eloquent\Model::reloadRelations().
PHP 8.1 - Static Analysis: src/FormWidgets/MapArea.php#L205
Call to an undefined method Illuminate\Database\Eloquent\Model::find().
PHP 8.1 - Static Analysis: src/FormWidgets/ScheduleEditor.php#L21
Property Igniter\Local\FormWidgets\ScheduleEditor::$model overriding property Igniter\Admin\Classes\BaseFormWidget::$model (Illuminate\Database\Eloquent\Model|null) should also have native type Illuminate\Database\Eloquent\Model|null.
PHP 8.1 - Static Analysis: src/FormWidgets/SettingsEditor.php#L19
Property Igniter\Local\FormWidgets\SettingsEditor::$model overriding property Igniter\Admin\Classes\BaseFormWidget::$model (Illuminate\Database\Eloquent\Model|null) should also have native type Illuminate\Database\Eloquent\Model|null.
PHP 8.1 - Static Analysis: src/Http/Actions/LocationAwareController.php#L1
Ignored error pattern #^Call to an undefined method Illuminate\\Routing\\Controller\:\:bindEvent\(\)\.$# in path /home/runner/work/ti-ext-local/ti-ext-local/src/Http/Actions/LocationAwareController.php was not matched in reported errors.
PHP 8.1 - Static Analysis: src/Http/Actions/LocationAwareController.php#L1
Ignored error pattern #^Call to an undefined method Illuminate\\Routing\\Controller\:\:isClassExtendedWith\(\)\.$# in path /home/runner/work/ti-ext-local/ti-ext-local/src/Http/Actions/LocationAwareController.php was not matched in reported errors.
PHP 8.1 - Static Analysis: src/Http/Actions/LocationAwareController.php#L40
Ignored error pattern #^Access to an undefined property Illuminate\\Routing\\Controller\:\:\$locationConfig\.$# in path /home/runner/work/ti-ext-local/ti-ext-local/src/Http/Actions/LocationAwareController.php is expected to occur 2 times, but occurred only 1 time.
PHP 8.1 - Static Analysis
Process completed with exit code 1.