Skip to content

php 8.5: Replace deprecated methods for SplObjectStorage()#533

Open
sreichel wants to merge 4 commits intoShardj:masterfrom
sreichel:php85-splstorage
Open

php 8.5: Replace deprecated methods for SplObjectStorage()#533
sreichel wants to merge 4 commits intoShardj:masterfrom
sreichel:php85-splstorage

Conversation

@sreichel
Copy link
Copy Markdown

@develart-projects
Copy link
Copy Markdown
Collaborator

imo append() is more appropriate to use, when not setting the index explicitly. What do you think?

@sreichel
Copy link
Copy Markdown
Author

Dont get it. There is no append()?

@develart-projects
Copy link
Copy Markdown
Collaborator

I mixed that with array object, sry

@develart-projects
Copy link
Copy Markdown
Collaborator

btw, why do we have both failing and successful tests for PHP 8.3-8.5 ?

@sreichel
Copy link
Copy Markdown
Author

@develart-projects
Copy link
Copy Markdown
Collaborator

@sreichel could you please explain the point of splitting the PHP test, so unsupported version are now both failing and passing?

@sreichel
Copy link
Copy Markdown
Author

Thinks its okay that tests for 8.4 and 8.5 fail, as we dont support it. Its only to have it on screen ...

The test for 8.3 already failed befor, but showed green for some reason.

Try to help asap.

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.

Method SplObjectStorage::contains() is deprecated since 8.5

2 participants