kingston-enterprises / kingston-enterprises/icarus-framework

depracated userClass on Application

Open
#2 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
PHP
Stars
1
Forks
0
PR merge metrics
No merged PRs in 30d

Description

$userClass causes error:
```sh
Uncaught TypeError: Cannot assign null to property kingston\icarus\Application::$userClass of type string in /home/kingston/Documents/icarus-project/base-application/vendor/kingston/icarus/Application.php:160
Stack trace:
#0 /home/kingston/Documents/icarus-project/base-application/public/index.php(29): kingston\icarus\Application->__construct()
#1 {main}
thrown in /home/kingston/Documents/icarus-project/base-application/vendor/kingston/icarus/Application.php on line 160
```

to fix this the userClass is no longer required to start the application

Contributor guide

No contributing guide indexed for this repository

Research direction

Start in vendor/kingston/icarus/Application.php around line 160 and trace construction from public/index.php line 29. Reproduce startup without a userClass value, then verify the application starts without the reported null assignment error.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.