Skip to content

Conversation

@malberts
Copy link
Collaborator

@malberts malberts commented Dec 17, 2022

Fixes #42 and #51

This is a first pass to make PHP 8.1 work. This includes dropping support for < MW 1.35 and < PHP 8.0.

Most of the issues were caused by using hooks to register things programmatically. While removing them means we lose the ability to test some basic config, it does however make the extension much simpler and avoids the PHP 8.1 GLOBALS issue.

Basic manual testing (special page and parser function) done with:

  • MW 1.39.0 and PHP 8.1
  • MW 1.35.8 and PHP 8.0

@malberts malberts linked an issue Dec 17, 2022 that may be closed by this pull request
@JeroenDeDauw JeroenDeDauw merged commit ea82107 into master Dec 17, 2022
@JeroenDeDauw JeroenDeDauw deleted the 2.0 branch December 17, 2022 12:48
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 compatibility with PHP 8.1+ Test via GitHub actions

3 participants