Skip to content
This repository has been archived by the owner on Jan 28, 2022. It is now read-only.

PHP 8 #40

Merged
merged 5 commits into from
Dec 1, 2020
Merged

PHP 8 #40

merged 5 commits into from
Dec 1, 2020

Conversation

jasonvarga
Copy link
Contributor

@jasonvarga jasonvarga commented Nov 30, 2020

This PR adds support for PHP 8.

Not quite ready yet. It's waiting on PHP 8 support to be added to mrclay/minify#684
I haven't committed changes to composer.lock yet because I had to use a local composer repo to test mrclay/minify.

Rather than update mrclay/minify, which seems to have a bunch of dependency issues itself, I've removed it entirely and replaced it with a single class that mimics the functionality being used.

It's basically just the process method here. I've cherry picked only the bits that make the test suite pass. Any differences are what php cs fixer required.

Also, like ueberdosis/prosemirror-to-html#44, I've added lowest and highest to the test matrix.

@jasonvarga jasonvarga mentioned this pull request Nov 30, 2020
8 tasks
@jasonvarga jasonvarga marked this pull request as ready for review November 30, 2020 23:01
@hanspagel
Copy link
Contributor

How cool is that! Thanks Jason! Amazing contributon. 💖

@hanspagel hanspagel merged commit ea1b80c into ueberdosis:main Dec 1, 2020
@jasonvarga jasonvarga deleted the php8 branch December 1, 2020 14:03
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants