Skip to content
This repository has been archived by the owner on Nov 15, 2023. It is now read-only.

Add support for PHP 8 #9

Merged
merged 6 commits into from
Jun 3, 2021
Merged

Add support for PHP 8 #9

merged 6 commits into from
Jun 3, 2021

Conversation

sprain
Copy link
Contributor

@sprain sprain commented Feb 24, 2021

Closes #8

  • Updated composer.json to include PHP 8
  • Added IdRequestInterface and IdRequestTrait in order to have a cleaner setup when replacing the id in the url in RequestCommonsTrait. This failed in tests with PHP 8 because str_replace() no longer accepts null values as second parameter.

Todo:

  • Failing tests with --prefer-lowest

in order to improve behaviour of replacing id in urls starting from PHP 8
@sprain sprain added the needs-work Improvements are needed to make this mergable label Feb 24, 2021
@sprain sprain removed the needs-work Improvements are needed to make this mergable label Jun 3, 2021
@sprain sprain merged commit e98782b into master Jun 3, 2021
@sprain sprain deleted the php-8 branch June 3, 2021 13:14
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.

Add support for PHP 8
1 participant