Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Provide PHP 8.1 support #19

Merged
merged 6 commits into from
Oct 1, 2021

Conversation

weierophinney
Copy link
Member

This patch provides PHP 8.1 support, via the following changes:

  • Adds ~8.1.0 to the list of allowed PHP versions
  • Bumps laminas-stdlib minimum supported version to 3.6
  • Bumps PHPUnit to 9.5.5
  • Adds CI configuration to ignore platform PHP when installing under 8.1
  • Adds #[ReturnTypeWillChange] annotations to methods of Config implementing internal interfaces
  • Updates the unit test suite to work under PHPUnit 9.5

- Add `~8.1.0` to PHP constraint
- Bump dependency versions to those known to work with 8.1, where possible
- Bump PHPUnit to 9.5.5+
- Remove docheader checking

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
…ing based on PHP version

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
For Countable, Iterator, and ArrayAccess methods.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
To ensure availability of PHP 8.1 compatible code.

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@weierophinney weierophinney added this to the 3.7.0 milestone Oct 1, 2021
No longer needed with Laminas CI configured

Signed-off-by: Matthew Weier O'Phinney <matthew@weierophinney.net>
@weierophinney weierophinney marked this pull request as ready for review October 1, 2021 16:06
@weierophinney weierophinney merged commit e43d13d into laminas:3.7.x Oct 1, 2021
@weierophinney weierophinney deleted the feature/php-8.1-support branch October 1, 2021 16:07
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant