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

Update PSR-16 example code to latest version #1313

Closed
wants to merge 1 commit into from

Conversation

kayw-geek
Copy link

This PR updated the example code as the psr/simple-cache package upgraded

@kayw-geek kayw-geek requested a review from a team as a code owner January 4, 2024 05:23
@kayw-geek kayw-geek changed the title Update example code to latest version Update PSR-16 example code to latest version Jan 4, 2024
Copy link
Contributor

@Crell Crell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have not updated the main body of the spec for other specs that had type updates. We've only updated the package, and left an Errata in the meta doc. We should do the same here.

@kayw-geek
Copy link
Author

kayw-geek commented Jan 5, 2024

We have not updated the main body of the spec for other specs that had type updates. We've only updated the package, and left an Errata in the meta doc. We should do the same here.

I see. So your suggestion is that the sample code doesn't need to be changed at all?

Aside from that, the sample code has changes in the extends class and modifications to the comments. I think it's not a bad thing to let more people see the latest and correct sample code.

@Crell
Copy link
Contributor

Crell commented Jan 5, 2024

It's not sample code. It's the spec. The spec doesn't change. The interface packages are tweaked to move the already-defined type rules into the source. That just needs a mention in the metadoc, which... I think already happened for PSR-16, didn't it?

@kayw-geek kayw-geek closed this Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants