Skip to content

PHP 8.3 fixes - #57

Open
fluffy-critter wants to merge 8 commits into
RomanSixty:masterfrom
fluffy-critter:php-8.3-fixes
Open

PHP 8.3 fixes#57
fluffy-critter wants to merge 8 commits into
RomanSixty:masterfrom
fluffy-critter:php-8.3-fixes

Conversation

@fluffy-critter

Copy link
Copy Markdown
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

fluffy-critter commented Aug 21, 2024

Copy link
Copy Markdown
Contributor Author

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
Copy Markdown
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