Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fakerphp 8.2 warnings #194

Closed
LordSimal opened this issue Dec 10, 2022 · 1 comment
Closed

fakerphp 8.2 warnings #194

LordSimal opened this issue Dec 10, 2022 · 1 comment

Comments

@LordSimal
Copy link
Contributor

It seems these types of warnings didn't come up when doing #191 but currently I am getting the following deprecation warning with PHP 8.2, vierge-noire/cakephp-fixture-factories 2.7.1 and fakerphp 1.20.0

Deprecated: Use of "static" in callables is deprecated in /app-path/vendor/fakerphp/faker/src/Faker/Provider/Base.php on line 463

There is already a issue present inside faker and a related PR which allegedly fixes those deprecations.

But it also seems that according to FakerPHP/Faker#479 (comment) there will be breaking changes which will come with the next major release of fakerphp.

Just wanted to ask if you have already looked into this? Since its just coming from the Faker package the only changes we (as Users of this package) would have to make are related to the Faker instance which is passed down to the factory.

@LordSimal
Copy link
Contributor Author

Seems like at least the deprecation warning has been fixed in https://github.com/FakerPHP/Faker/releases/tag/v1.21.0

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

No branches or pull requests

1 participant