Skip to content

Conversation

kakserpom
Copy link
Contributor

A quick fix for these errors:

PHP Deprecated:  Return type of EvenNumbersArray::offsetSet(mixed $offset, mixed $value): ?void 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 Unknown on line 0

Deprecated: Return type of EvenNumbersArray::offsetSet(mixed $offset, mixed $value): ?void 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 Unknown on line 0
PHP Deprecated:  Return type of EvenNumbersArray::offsetUnset(mixed $offset): ?void should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0

Deprecated: Return type of EvenNumbersArray::offsetUnset(mixed $offset): ?void should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in Unknown on line 0

@coveralls
Copy link

coveralls commented Jun 19, 2025

Pull Request Test Coverage Report for Build 15997940746

Details

  • 1 of 1 (100.0%) changed or added relevant line in 1 file are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-0.03%) to 20.518%

Files with Coverage Reduction New Missed Lines %
src/zend/_type.rs 1 69.23%
Totals Coverage Status
Change from base Build 15997927037: -0.03%
Covered Lines: 760
Relevant Lines: 3704

💛 - Coveralls

@Xenira Xenira added bug Something isn't working stubs Related to stub generation labels Jun 19, 2025
@kakserpom kakserpom force-pushed the fix_return_type_nullable_void branch 2 times, most recently from 09c4b8b to 0fa9ab1 Compare June 27, 2025 16:30
@Xenira Xenira force-pushed the fix_return_type_nullable_void branch from 0fa9ab1 to ee1c5bf Compare July 1, 2025 11:24
@Xenira Xenira merged commit 8dbed1b into davidcole1340:master Jul 1, 2025
55 checks passed
@davidcole1340 davidcole1340 mentioned this pull request Jul 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working stubs Related to stub generation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants