-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
⬆️ Bump nikic/php-parser from 4.18.0 to 5.0.0 #129
⬆️ Bump nikic/php-parser from 4.18.0 to 5.0.0 #129
Conversation
Bumps [nikic/php-parser](https://github.com/nikic/PHP-Parser) from 4.18.0 to 5.0.0. - [Release notes](https://github.com/nikic/PHP-Parser/releases) - [Changelog](https://github.com/nikic/PHP-Parser/blob/master/CHANGELOG.md) - [Commits](nikic/PHP-Parser@v4.18.0...v5.0.0) --- updated-dependencies: - dependency-name: nikic/php-parser dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]>
8c6c12f
to
b7d0937
Compare
@ErikSchierboom note that the representation will certainly change in some cases. Is it okay for Exercism ? Maybe there should be a "representationVersion" field in the json. Or you re-run the representer on all the solution when a new commit is pushed ? |
We don't normally re-run the representer on all solutions when a new version is released, as that would be quite costly. We can re-run existing solutions is needed, but even better is that we actually have a version number: https://exercism.org/docs/building/tooling/representers/interface |
Oh, thank you, I saw this earlier, but I thought this was the "exercism version" and not the "code representation version", I will update this Pull Request to increase the number. |
php-parser v5 made some changes to its pretty-print representation
@ErikSchierboom I did increase the representer version in c0f2d86 If you think that will cost too much resources I can try to make it backward compatible, but I think this is not worth the changes as this may require more code in the future. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you update the smoke tests to also check for the representation.json
file? See https://github.com/exercism/php-representer/tree/main/tests/example-multiple-files for an example test case
- Add test on expected_representation.json - Remove smoke tests that expect errors (not supported anymore)
Done with 89bcd11 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Bumps nikic/php-parser from 4.18.0 to 5.0.0.
Release notes
Sourced from nikic/php-parser's releases.
... (truncated)
Changelog
Sourced from nikic/php-parser's changelog.
... (truncated)
Commits
4a21235
Update documentation links in READMEfba1d62
Release PHP-Parser 5.0.05cc5a67
Upgrading guide tweaksf603e19
Avoid PHPUnit deprecation warnings1eeeb2d
Fix parent class of PropertyItem and UseItem255000a
Release PHP-Parser 5.0.0rc1f7d484a
Fix handling of empty inputf82a636
Add upgrading nodes for changes since beta113a41f0
Fix typos in UPGRADE-5.0.mdf666500
Fix NameResolver for class constant native typeDependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebase
will rebase this PR@dependabot recreate
will recreate this PR, overwriting any edits that have been made to it@dependabot merge
will merge this PR after your CI passes on it@dependabot squash and merge
will squash and merge this PR after your CI passes on it@dependabot cancel merge
will cancel a previously requested merge and block automerging@dependabot reopen
will reopen this PR if it is closed@dependabot close
will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditions
will show all of the ignore conditions of the specified dependency@dependabot ignore this major version
will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor version
will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependency
will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)