Skip to content

Refactor Theme.php and ThemeManager.php files to improve code structu… #77

Refactor Theme.php and ThemeManager.php files to improve code structu…

Refactor Theme.php and ThemeManager.php files to improve code structu… #77

Triggered via push August 9, 2023 14:24
Status Failure
Total duration 1m 50s
Artifacts
Matrix: types
Fit to window
Zoom out
Zoom in

Annotations

21 errors
PHP 8.2 - Static Analysis: src/Admin/Http/Actions/CalendarController.php#L149
Ignored error pattern #^Cannot call method render\(\) on array\<Igniter\\Admin\\Widgets\\Toolbar\>\.$# in path /home/runner/work/core/core/src/Admin/Http/Actions/CalendarController.php is expected to occur 1 time, but occurred 2 times.
PHP 8.2 - Static Analysis: src/Admin/Http/Actions/CalendarController.php#L164
Cannot call method render() on array<Igniter\Admin\Widgets\Toolbar>.
PHP 8.2 - Static Analysis: src/Admin/Http/Actions/FormController.php#L409
Call to an undefined static method Igniter\Admin\Facades\AdminMenu::setPreviousUrl().
PHP 8.2 - Static Analysis: src/Admin/Http/Actions/ListController.php#L102
Call to an undefined static method Igniter\Admin\Facades\AdminMenu::setPreviousUrl().
PHP 8.2 - Static Analysis: src/Main/Classes/Theme.php#L263
Access to an undefined property Igniter\Main\Models\Theme::$code.
PHP 8.2 - Static Analysis: src/Main/Classes/ThemeManager.php#L180
Call to an undefined method Igniter\Flame\Pagic\Source\SourceResolverInterface::addSource().
PHP 8.2 - Static Analysis: src/Main/Classes/ThemeManager.php#L597
Ignored error pattern #^Access to an undefined property Igniter\\Main\\Models\\Theme\:\:\$code\.$# in path /home/runner/work/core/core/src/Main/Classes/ThemeManager.php is expected to occur 3 times, but occurred only 2 times.
PHP 8.2 - Static Analysis: src/Main/Providers/ThemeServiceProvider.php#L1
Ignored error pattern #^Call to an undefined method Igniter\\Flame\\Pagic\\Source\\SourceResolverInterface\:\:addSource\(\)\.$# in path /home/runner/work/core/core/src/Main/Providers/ThemeServiceProvider.php was not matched in reported errors.
PHP 8.2 - Static Analysis: src/Main/Providers/ThemeServiceProvider.php#L1
Ignored error pattern #^Call to an undefined method Igniter\\Flame\\Pagic\\Source\\SourceResolverInterface\:\:hasSource\(\)\.$# in path /home/runner/work/core/core/src/Main/Providers/ThemeServiceProvider.php was not matched in reported errors.
PHP 8.2 - Static Analysis: src/System/Http/Controllers/Extensions.php#L77
Call to an undefined static method Igniter\Admin\Facades\AdminMenu::setPreviousUrl().
PHP 8.1 - Static Analysis
The job was canceled because "_8_2" failed.
PHP 8.1 - Static Analysis: src/Admin/Http/Actions/CalendarController.php#L149
Ignored error pattern #^Cannot call method render\(\) on array\<Igniter\\Admin\\Widgets\\Toolbar\>\.$# in path /home/runner/work/core/core/src/Admin/Http/Actions/CalendarController.php is expected to occur 1 time, but occurred 2 times.
PHP 8.1 - Static Analysis: src/Admin/Http/Actions/CalendarController.php#L164
Cannot call method render() on array<Igniter\Admin\Widgets\Toolbar>.
PHP 8.1 - Static Analysis: src/Admin/Http/Actions/FormController.php#L409
Call to an undefined static method Igniter\Admin\Facades\AdminMenu::setPreviousUrl().
PHP 8.1 - Static Analysis: src/Admin/Http/Actions/ListController.php#L102
Call to an undefined static method Igniter\Admin\Facades\AdminMenu::setPreviousUrl().
PHP 8.1 - Static Analysis: src/Main/Classes/Theme.php#L263
Access to an undefined property Igniter\Main\Models\Theme::$code.
PHP 8.1 - Static Analysis: src/Main/Classes/ThemeManager.php#L180
Call to an undefined method Igniter\Flame\Pagic\Source\SourceResolverInterface::addSource().
PHP 8.1 - Static Analysis: src/Main/Classes/ThemeManager.php#L597
Ignored error pattern #^Access to an undefined property Igniter\\Main\\Models\\Theme\:\:\$code\.$# in path /home/runner/work/core/core/src/Main/Classes/ThemeManager.php is expected to occur 3 times, but occurred only 2 times.
PHP 8.1 - Static Analysis: src/Main/Providers/ThemeServiceProvider.php#L1
Ignored error pattern #^Call to an undefined method Igniter\\Flame\\Pagic\\Source\\SourceResolverInterface\:\:addSource\(\)\.$# in path /home/runner/work/core/core/src/Main/Providers/ThemeServiceProvider.php was not matched in reported errors.
PHP 8.1 - Static Analysis: src/Main/Providers/ThemeServiceProvider.php#L1
Ignored error pattern #^Call to an undefined method Igniter\\Flame\\Pagic\\Source\\SourceResolverInterface\:\:hasSource\(\)\.$# in path /home/runner/work/core/core/src/Main/Providers/ThemeServiceProvider.php was not matched in reported errors.
PHP 8.1 - Static Analysis: src/System/Http/Controllers/Extensions.php#L77
Call to an undefined static method Igniter\Admin\Facades\AdminMenu::setPreviousUrl().