Skip to content

Fixed scoper-autoload.php PHP 5.6 incompatibility#1024

Merged
theofidry merged 2 commits intohumbug:mainfrom
marekdedic:php-5-fix
May 3, 2024
Merged

Fixed scoper-autoload.php PHP 5.6 incompatibility#1024
theofidry merged 2 commits intohumbug:mainfrom
marekdedic:php-5-fix

Conversation

@marekdedic
Copy link
Copy Markdown
Contributor

Closes #1023

Copy link
Copy Markdown
Member

@theofidry theofidry left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought the Composer autoloader now requires PHP 7.2 minimum?

@marekdedic
Copy link
Copy Markdown
Contributor Author

I thought the Composer autoloader now requires PHP 7.2 minimum?

I don't think so - the autoload script definitely checks if it's on PHP 5.6 or older, so I suppose it should support very old PHP...? You can't run composer on such old PHP, but that's a different thing from running the generated autoloader...

@theofidry theofidry enabled auto-merge (squash) May 3, 2024 20:06
@theofidry
Copy link
Copy Markdown
Member

Thank you @marekdedic, I can't promise this sticks around without any automated test for it but it doesn't hurt to have

@theofidry theofidry merged commit bc0a7d8 into humbug:main May 3, 2024
@marekdedic marekdedic deleted the php-5-fix branch May 3, 2024 20:47
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.

scoper-autoload.php doesn't support PHP 5.6 (again)

2 participants