Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for PHP 8.x #62

Closed
wants to merge 6 commits into from
Closed

Conversation

mymatenige
Copy link
Contributor

@mymatenige mymatenige commented Dec 4, 2021

I've worked through a number of small issues so that MythWeb will work with PHP 8.x.

I started by fixing all issues identifed by PhpStorm, then fixed a couple of other errors thrown as FATAL and suppressed the errors thrown as WARNING. These errors have existed for a long time, so there is no harm done by suppressing them. As MythWeb is considered to be a legacy code base, I believe that an approach such as this is acceptable.

This branch seems to work fine with PHP 8.0 and I believe it will work with PHP 8.1.

Please consider merging my pull request into the official repository. It resolves #63.

Nigel Jewell added 5 commits November 28, 2021 14:59
Inspected code with PHP 5.6 through 8.1.
All remaining issues are "Undefined variable" due to how MythWeb was built.
No attempt was made to fix any other bugs.
This isn't ideal, but as MythWeb is a legacy code base it avoids having to
make considerable code changes.  These issues exist when running under
PHP 7.x and cause no noticable issues.
@mymatenige mymatenige mentioned this pull request Dec 4, 2021
@mymatenige
Copy link
Contributor Author

Searches aren't working. Closing for now.

@mymatenige mymatenige closed this Dec 5, 2021
@mymatenige mymatenige deleted the php-8.0 branch December 9, 2021 21:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add support for PHP 8.x
1 participant