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

Deprecation warning from vendored library #164

Open
snake14 opened this issue Feb 3, 2025 · 2 comments · May be fixed by #165
Open

Deprecation warning from vendored library #164

snake14 opened this issue Feb 3, 2025 · 2 comments · May be fixed by #165

Comments

@snake14
Copy link
Contributor

snake14 commented Feb 3, 2025

While generating some visits using the CLI command, I noticed many instances of the same deprecation warning. We need to see if the dependency has any updates available:

WARNING   [2025-02-03 20:47:05] 18526  /var/www/html/plugins/VisitorGenerator/vendor/fzaninotto/faker/src/Faker/Provider/Base.php(505): Deprecated - Use of "static" in callables is deprecated - Matomo 5.3.0-alpha - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already)
@snake14
Copy link
Contributor Author

snake14 commented Feb 3, 2025

It looks like the repo for the dependency has been archived, so we need to find an alternative.

@snake14
Copy link
Contributor Author

snake14 commented Feb 3, 2025

The fakerphp/faker package appears to have been forked from fzaninotto/faker and appears to support PHP 8. Since it is based off of the package we're currently using, it shouldn't be a huge transistion, but I'm sure that some changes will be necessary.

@snake14 snake14 linked a pull request Feb 3, 2025 that will close this issue
11 tasks
@innocraft-automation innocraft-automation added this to the Current sprint milestone Feb 4, 2025
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

Successfully merging a pull request may close this issue.

2 participants