Skip to content

Deprecated messages with PHP 8.1.14 #1

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

Closed
tricoos opened this issue Jan 29, 2023 · 0 comments · Fixed by #2
Closed

Deprecated messages with PHP 8.1.14 #1

tricoos opened this issue Jan 29, 2023 · 0 comments · Fixed by #2

Comments

@tricoos
Copy link

tricoos commented Jan 29, 2023

Deprecated: Return type of Konsulting\JsonDiffResult::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/konsulting/json-diff/src/JsonDiffResult.php on line 62

Deprecated: Return type of Konsulting\JsonDiffResult::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/konsulting/json-diff/src/JsonDiffResult.php on line 67

Deprecated: Return type of Konsulting\JsonDiffResult::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/konsulting/json-diff/src/JsonDiffResult.php on line 72

Deprecated: Return type of Konsulting\JsonDiffResult::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/vendor/konsulting/json-diff/src/JsonDiffResult.php on line 77
xelan added a commit to xelan/json-diff that referenced this issue Dec 17, 2024
As PHP attributes are implemented in a BC manner (treated as comments on PHP5/7),
the change is fully backwards-compatible.

Fixes konsulting#1
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.

1 participant