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

Add PHP justinrainbow/json-schema implementation #1512

Merged

Conversation

DannyvdSluijs
Copy link
Contributor

@DannyvdSluijs DannyvdSluijs commented Sep 10, 2024

This PR adds an implementation for justinrainbow/json-schema (written in PHP).

The PR was drafted using the instructions if anything is missing or overlooked please feel free to comment.

I'm currently one of the maintainers of justinrainbow/json-schema which we are reviving. First order of business is getting the library back into an actively maintained state. Which is one of the main reasons of opening this PR.


📚 Documentation preview 📚: https://bowtie-json-schema--1512.org.readthedocs.build/en/1512/

@Julian
Copy link
Member

Julian commented Sep 10, 2024

Very nice, thanks for this! Will do a release later tonight or tomorrow.

Good luck with the implementation (and stay in touch)!

@Julian Julian merged commit 584c631 into bowtie-json-schema:main Sep 10, 2024
55 checks passed
"description": "These sources contains the test harness implementation for Bowtie",
"license": "MIT",
"require": {
"justinrainbow/json-schema": "dev-master"
Copy link
Member

Choose a reason for hiding this comment

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

If perchance you're interested in a follow up PR, changing this to instead be a fixed version, (perhaps as soon as you publish one if that's not yet happened?) would be nice, and then relying on Dependabot to update it.

As is, right now the version information shown at https://bowtie.report/#/implementations/php-justinrainbow-json-schema (which is live, congrats!) won't be useful to someone, since it just says dev-master, but someone won't know what commit that corresponds to even if it was HEAD at some point in time.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks for the heads up. This is on my radar. Since the latest version is having issues with PHP 8.3 I've decided to use dev-master for now. But your points are very valid. Should be picked up in the near future.

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.

2 participants