gathering / wannabe

Event-system for TG - wannabe.gathering.org
GNU General Public License v3.0
12 stars 7 forks source link

WIP - PHP 7 upgrade #68

Open niccofyren opened 3 years ago

niccofyren commented 3 years ago

Lots of bigger and smaller tweaks to get rid of PHP 7 warnings and notices. It doesn't take care of each one (more than enough work to go around), but things that seem breaking and encountered while browsing a few of the more common app routes.

Most notable πŸ§‘β€πŸ”§ :

Unrelated πŸ₯• :

I think the only way to properly verify this is to try to run it locally or in a stage environment, doing misc stuff and seeing where any critical errors are thrown. (Misc PHP 7 compatibility tools report no errors, but still a bunch of notices and warnings) To run locally you might have to remove the two git related lines from Dockerfile, to make sure it uses local files instead of master/another branch.