Skip to content

Commit

Permalink
chore: fix PHP version for Psalm to 8.1
Browse files Browse the repository at this point in the history
PHP 7.4 causes UndefinedFunction errors.

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)
  • Loading branch information
kenjis committed Apr 8, 2024
1 parent 341ba47 commit 2b34e31
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions psalm.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0"?>
<psalm
phpVersion="8.1"
errorLevel="7"
resolveFromConfigFile="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
Expand Down

0 comments on commit 2b34e31

Please sign in to comment.