codeigniter4 / shield

Authentication and Authorization for CodeIgniter 4
https://shield.codeigniter.com
MIT License
351 stars 123 forks source link

chore: update psalm.xml #1089

Closed kenjis closed 3 months ago

kenjis commented 3 months ago

Description Update to fix errors with CI 4.5.0 like:

Error: 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)
Error: src/Auth.php:139:23: UndefinedFunction: Function CodeIgniter\Shield\config does not exist (see https://psalm.dev/021)
Error: 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)

CI 4.5.0 requires PHP 8.1 or later.

Checklist: