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

build(deps): bump github.com/laytan/php-parser from 0.9.1-0.20230411203829-6b3673ece43a to 0.10.0 #152

Conversation

dependabot[bot]
Copy link

@dependabot dependabot bot commented on behalf of github Apr 17, 2023

Bumps github.com/laytan/php-parser from 0.9.1-0.20230411203829-6b3673ece43a to 0.10.0.

Release notes

Sourced from github.com/laytan/php-parser's releases.

v0.10.0 2023-17-04

Breaking Changes

  • Changed VKCOM to laytan in imports and go.mod

Added

  • ast.Type enum and ast.Vertex GetType() ast.Type function for easily checking and storing vertex types
  • Expose the internal lexer using lexer.New(src []byte, config conf.Config) (Lexer, error)

Fixes

  • Added some boundary checks in the formatter to prevent some panics
  • A newline will now be added after a doc comment in the printer
  • Some fixes for start and end column addition in previous release
Changelog

Sourced from github.com/laytan/php-parser's changelog.

v0.10.0 2023-17-04

Breaking Changes

  • Changed VKCOM to laytan in imports and go.mod

Added

  • ast.Type enum and ast.Vertex GetType() ast.Type function for easily checking and storing vertex types
  • Expose the internal lexer using lexer.New(src []byte, config conf.Config) (Lexer, error)

Fixes

  • Added some boundary checks in the formatter to prevent some panics
  • A newline will now be added after a doc comment in the printer
  • Some fixes for start and end column addition in previous release

v0.9.0 2023-26-03

Breaking Changes

  • Dropped PHP 5 support to increase velocity/productivity

Added

  • Nodes and tokens now also contain their StartCol and EndCol
  • 2 new interfaces for traversers (backwards compatible):
    • traversers.CheckEntrance interface: provides an EnterNode(ast.Vertex) bool that, when implemented, is called before entering a node, allowing short circuiting and more control over the traversal
    • traversers.NotifyLeave interface: provides an LeaveNode(ast.Vertex) that, when implemented, is called when a node has fully been traversed, again allowing for more control

Fixes

  • Fixed a bug where the parser would use token.DefaultBlockSize instead of position.DefaultBlockSize when instantiating the parser

Internals

  • Rely on code generations for several repeating/boilerplate tasks
  • Refactors and deduplication after PHP 5 removal
  • Add golangci-lint configuration and an editorconfig file

v0.8.3 2022-09-09

Changed

  • reduce memory usage by allocating smaller position blocks

v0.8.2 2022-26-06

Added

... (truncated)

Commits

Dependabot compatibility score

Dependabot 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 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)

Bumps [github.com/laytan/php-parser](https://github.com/laytan/php-parser) from 0.9.1-0.20230411203829-6b3673ece43a to 0.10.0.
- [Release notes](https://github.com/laytan/php-parser/releases)
- [Changelog](https://github.com/laytan/php-parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/laytan/php-parser/commits/v0.10.0)

---
updated-dependencies:
- dependency-name: github.com/laytan/php-parser
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file go Pull requests that update Go code labels Apr 17, 2023
@laytan
Copy link
Owner

laytan commented Apr 19, 2023

@dependabot close
This is already done within #150

@dependabot dependabot bot closed this Apr 19, 2023
@dependabot dependabot bot deleted the dependabot/go_modules/github.com/laytan/php-parser-0.10.0 branch April 19, 2023 22:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file go Pull requests that update Go code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant