Skip to content

Support PHP 8.1, minimum to 7.3#20

Merged
francislavoie merged 1 commit intomasterfrom
support-php-81
Nov 26, 2021
Merged

Support PHP 8.1, minimum to 7.3#20
francislavoie merged 1 commit intomasterfrom
support-php-81

Conversation

@francislavoie
Copy link
Copy Markdown
Contributor

@francislavoie francislavoie commented Nov 26, 2021

  • Bump PHPUnit to v9, so we can test 8.x. Migrate the config.
  • Bump PHP minimum to 7.3, we don't need older anymore
  • Remove dunit, obsolete
  • Add #[\ReturnTypeWillChange] attributes to silence PHP 8.1 deprecations (will remove them when PHP is >=8.0)
  • Test on Github Actions for PHP versions 7.3 to 8.1
  • Update tests to switch from setExpectedException to expectException/expectExceptionMessage

@francislavoie francislavoie marked this pull request as ready for review November 26, 2021 18:50
@francislavoie francislavoie merged commit df4ca79 into master Nov 26, 2021
@francislavoie francislavoie deleted the support-php-81 branch November 26, 2021 18:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant