Skip to content

fix: Call to a member function getErrors() on null in CheckQueryReturnTrait #1679

fix: Call to a member function getErrors() on null in CheckQueryReturnTrait

fix: Call to a member function getErrors() on null in CheckQueryReturnTrait #1679

Triggered via pull request April 8, 2024 02:02
Status Failure
Total duration 43s
Artifacts

psalm.yml

on: pull_request
psalm  /  Psalm Analysis
31s
psalm / Psalm Analysis
Fit to window
Zoom out
Zoom in

Annotations

10 errors
MissingDependency: src/Auth.php#L54
src/Auth.php:54:15: MissingDependency: CodeIgniter\Shield\Models\UserModel depends on class or interface codeigniter\basemodel that does not exist (see https://psalm.dev/157)
UndefinedFunction: src/Auth.php#L139
src/Auth.php:139:23: UndefinedFunction: Function CodeIgniter\Shield\config does not exist (see https://psalm.dev/021)
MissingDependency: src/Auth.php#L162
src/Auth.php:162:36: MissingDependency: CodeIgniter\Shield\Models\UserModel depends on class or interface codeigniter\basemodel that does not exist (see https://psalm.dev/157)
UndefinedClass: src/Authentication/Actions/ActionInterface.php#L43
src/Authentication/Actions/ActionInterface.php:43:28: UndefinedClass: Class, interface or enum named CodeIgniter\HTTP\IncomingRequest does not exist (see https://psalm.dev/019)
UndefinedClass: src/Authentication/Actions/ActionInterface.php#L53
src/Authentication/Actions/ActionInterface.php:53:28: UndefinedClass: Class, interface or enum named CodeIgniter\HTTP\IncomingRequest does not exist (see https://psalm.dev/019)
UndefinedClass: src/Authentication/Actions/Email2FA.php#L63
src/Authentication/Actions/Email2FA.php:63:28: UndefinedClass: Class, interface or enum named CodeIgniter\HTTP\IncomingRequest does not exist (see https://psalm.dev/019)
UndefinedClass: src/Authentication/Actions/Email2FA.php#L116
src/Authentication/Actions/Email2FA.php:116:28: UndefinedClass: Class, interface or enum named CodeIgniter\HTTP\IncomingRequest does not exist (see https://psalm.dev/019)
MissingDependency: src/Authentication/Actions/Email2FA.php#L149
src/Authentication/Actions/Email2FA.php:149:9: MissingDependency: CodeIgniter\Shield\Models\UserIdentityModel depends on class or interface codeigniter\basemodel that does not exist (see https://psalm.dev/157)
UndefinedFunction: src/Authentication/Actions/Email2FA.php#L149
src/Authentication/Actions/Email2FA.php:149:26: UndefinedFunction: Function CodeIgniter\Shield\Authentication\Actions\model does not exist (see https://psalm.dev/021)
MissingDependency: src/Authentication/Actions/Email2FA.php#L149
src/Authentication/Actions/Email2FA.php:149:32: MissingDependency: CodeIgniter\Shield\Models\UserIdentityModel depends on class or interface codeigniter\basemodel that does not exist (see https://psalm.dev/157)