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

PHP 8.3 fixes #57

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

fluffy-critter
Copy link
Contributor

Update everything to work with PHP 8.3

A lot of stuff has been deprecated or made stricter with return type annotations. Also, the SimplePie ad-hoc autoloader stopped working, so I switched it to use Composer to manage the external dependencies (SimplePie and urljoin). This also means that anyone installing or upgrading will need to run composer install (this has been documented in the README).

I have verified that this still works with PHP 8.1, although I cannot guarantee it on older versions.

@fluffy-critter
Copy link
Contributor Author

fluffy-critter commented Aug 21, 2024

I have no idea why this also pulled in my svg fix branch, I thought that was already merged in

EDIT: ah I see, github's being confusing again

A lot of stuff has been deprecated or made stricter with return type annotations. Also, the SimplePie ad-hoc autoloader stopped working, so I switched it to use [Composer](https://getcomposer.org/) to manage the external dependencies.

I have verified that this still works with PHP 8.1, although I cannot guarantee it on older versions.
@fluffy-critter
Copy link
Contributor Author

I've added a preflight check at the start of fof-install.php to ensure composer has been run, since that also caused some confusion for me when I attempted a new deployment.

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.

1 participant