-
Notifications
You must be signed in to change notification settings - Fork 104
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
Fix PHP 8 compatibility issues #84
Commits on Feb 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 35be713 - Browse repository at this point
Copy the full SHA 35be713View commit details -
Remove track_errors=1 ini option
This is no longer available in PHP 8, and generates an error on startup.
Configuration menu - View commit details
-
Copy full SHA for 446bda9 - Browse repository at this point
Copy the full SHA 446bda9View commit details -
Replace continue in switch with break
break and "continue 2" are the same in this case and the code mixes both. I'm using break here for simplicity.
Configuration menu - View commit details
-
Copy full SHA for de70ed8 - Browse repository at this point
Copy the full SHA de70ed8View commit details -
Make test_PEAR_Dependency2::singleton() method static
Because it is called statically
Configuration menu - View commit details
-
Copy full SHA for 47d80e3 - Browse repository at this point
Copy the full SHA 47d80e3View commit details -
Remove /e flag in preg_match_all
This flag hasn't been supported since PHP 7, but more importantly it doesn't even apply to preg_match_all in the first place.
Configuration menu - View commit details
-
Copy full SHA for 2af2980 - Browse repository at this point
Copy the full SHA 2af2980View commit details -
Configuration menu - View commit details
-
Copy full SHA for bf07026 - Browse repository at this point
Copy the full SHA bf07026View commit details -
Configuration menu - View commit details
-
Copy full SHA for 72d3c6f - Browse repository at this point
Copy the full SHA 72d3c6fView commit details -
Make PEAR_Dependency2::normalizeDep() static
Also adjust one call to it, though this is not strictly necessary.
Configuration menu - View commit details
-
Copy full SHA for 1488617 - Browse repository at this point
Copy the full SHA 1488617View commit details -
Configuration menu - View commit details
-
Copy full SHA for 550c0a6 - Browse repository at this point
Copy the full SHA 550c0a6View commit details -
Make PEAR_Dependency2::_getExtraString() static
Also make calls to it static (not strictly necessary) and drop an object instantiation that becomes unnecessary due to that.
Configuration menu - View commit details
-
Copy full SHA for 585246e - Browse repository at this point
Copy the full SHA 585246eView commit details -
Configuration menu - View commit details
-
Copy full SHA for b8d5595 - Browse repository at this point
Copy the full SHA b8d5595View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5aa5e9c - Browse repository at this point
Copy the full SHA 5aa5e9cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 87896ef - Browse repository at this point
Copy the full SHA 87896efView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b7d55b - Browse repository at this point
Copy the full SHA 3b7d55bView commit details -
Configuration menu - View commit details
-
Copy full SHA for b3db06d - Browse repository at this point
Copy the full SHA b3db06dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cf175f - Browse repository at this point
Copy the full SHA 7cf175fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 553b7a2 - Browse repository at this point
Copy the full SHA 553b7a2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8c5f6ae - Browse repository at this point
Copy the full SHA 8c5f6aeView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac4abec - Browse repository at this point
Copy the full SHA ac4abecView commit details -
Configuration menu - View commit details
-
Copy full SHA for 7a8ac62 - Browse repository at this point
Copy the full SHA 7a8ac62View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d48b4c - Browse repository at this point
Copy the full SHA 9d48b4cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 793f0f8 - Browse repository at this point
Copy the full SHA 793f0f8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d4ffa0 - Browse repository at this point
Copy the full SHA 5d4ffa0View commit details -
Make PEAR_Common::analyzeSourceCode() static
There are many non-static uses of that one, which I'm not touching. They aren't a problem.
Configuration menu - View commit details
-
Copy full SHA for d9916ac - Browse repository at this point
Copy the full SHA d9916acView commit details -
Configuration menu - View commit details
-
Copy full SHA for eb357e4 - Browse repository at this point
Copy the full SHA eb357e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 25061ef - Browse repository at this point
Copy the full SHA 25061efView commit details