Skip to content

Commit

Permalink
Ensure php 8.2 compatibility (#528)
Browse files Browse the repository at this point in the history
* Test against php 8.2

* Fix DateTime century test

* Fix generator unique test

* Optimize php 8.2 deprecations

* Optimize php 8.2 deprecations

* Optimize php 8.2 deprecations

* Revert "Fix generator unique test"

This reverts commit 879bc37

* Revert "Fix DateTime century test"

This reverts commit f1e63e1.

* Fix: Adjust number of allowed deprecations

* Fix: Update CHANGELOG.md

Co-authored-by: Andreas Möller <am@localheinz.com>
  • Loading branch information
chris-doehring and localheinz committed Dec 8, 2022
1 parent 28baaaa commit 44dc152
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/tests.yml
Expand Up @@ -19,6 +19,7 @@ jobs:
- "7.4"
- "8.0"
- "8.1"
- "8.2"

runs-on: "ubuntu-latest"

Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -3,6 +3,7 @@
## [Unreleased](https://github.com/FakerPHP/Faker/compare/v1.20.0...main)

- Dropped support for PHP 7.1, 7.2, and 7.3 (#543)
- Added support for PHP 8.2 (#528)

## [2022-07-20, v1.20.0](https://github.com/FakerPHP/Faker/compare/v1.19.0..v1.20.0)

Expand Down
3 changes: 3 additions & 0 deletions phpunit.xml.dist
Expand Up @@ -9,6 +9,9 @@
columns="max"
verbose="true"
>
<php>
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=605"/>
</php>
<testsuites>
<testsuite name="Faker Test Suite">
<directory suffix="Test.php">./test/Faker</directory>
Expand Down

0 comments on commit 44dc152

Please sign in to comment.