Skip to content

PHP 8 Fix #17

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

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

PHP 8 Fix #17

wants to merge 4 commits into from

Conversation

tymolls
Copy link

@tymolls tymolls commented Jan 8, 2023

Upgraded to PHP 8, and had a couple of errors on the Normaliser Classes. Here's an example:

property_exists(): Argument #1 ($object_or_class) must be of type object|string, array given at /vendor/smartcat/smartcat-api/src/SmartCAT/API/Normalizer/ProjectModelNormalizer.php:50

I understand this was due to an upgrade to PHP 8.

So I've rewritten the function temporarily, and urge you to review and find a permanent fix.

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 this pull request may close these issues.

1 participant