delight-im / PHP-Auth

Authentication for PHP. Simple, lightweight and secure.
MIT License
1.11k stars 235 forks source link

[php 8.2.4] - Deprecated: Automatic conversion of false to array is deprecated / multi-projects #295

Open suppenfritz opened 1 year ago

suppenfritz commented 1 year ago

hi, first, great lib, thx! i'm use php 8.2.4(xampp) for testing when i played with the /test/index, become follow nfo-msg:

Deprecated: Automatic conversion of false to array is deprecated in E:\xampp\vendor\delight-im\auth\src\Auth.php on line 1781

i changed line 1777 from "$bucket = [];" to "$bucket = array();" is it correct?

is it sensible to add column "projects(path,name,prj_id etc.)" for use the same db for more simple sites, maybe one idea or upgrade?! beforehand thx for fix/upgrade!

bg(hobby-dev)