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

chore(deps): update dependency slevomat/coding-standard to v8 #75

Open
wants to merge 3 commits into
base: 2.4.x
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 31, 2022

Mend Renovate

This PR contains the following updates:

Package Type Update Change
slevomat/coding-standard require major ^7.0 -> ^7.0 || ^8.0

Configuration

πŸ“… Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

β™» Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.

πŸ”• Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

Read more information about the use of Renovate Bot within Laminas.

Signed-off-by: Renovate Bot <bot@renovateapp.com>

| datasource | package                  | from   | to    |
| ---------- | ------------------------ | ------ | ----- |
| packagist  | slevomat/coding-standard | 7.0.18 | 8.3.0 |
@renovate renovate bot added the renovate label Jul 31, 2022
@Ocramius Ocramius added this to the 3.0.0 milestone Jul 31, 2022
@geerteltink geerteltink force-pushed the renovate/slevomat-coding-standard-8.x branch from 32a7b0b to 234e8ae Compare July 31, 2022 09:54
"squizlabs/php_codesniffer": "^3.6",
"webimpress/coding-standard": "^1.2"
"dealerdirect/phpcodesniffer-composer-installer": "^0.7.2",
"slevomat/coding-standard": "^8.3.0",
Copy link
Member

Choose a reason for hiding this comment

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

@geerteltink this PR was about bumping slevomat/coding-standard: it would be OK to bump to any latest ^7.x, but ^8.x is a breaking change, and we can't have that in 2.x.

Copy link
Member

Choose a reason for hiding this comment

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

Thinking about it, I see what you mean. Someone can have their own custom rule set.

slevomat 7 is usable anyway. This PR is to bump to version 8. So I guess merging this into version 3.x is fine. There is no point in updating to 7.x.x. If you install the coding standard you will have the latest 7.x.x ruleset anyway.

Copy link
Member

Choose a reason for hiding this comment

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

I think that before we move this to 3.x, we need to make sure (tomorrow, next TSC meeting) that everyone is on board with having the next release of laminas/laminas-coding-standard be a major one, perhaps with some long-awaited BC breaks in it.

Ocramius added a commit to Ocramius/laminas-coding-standard that referenced this pull request Aug 24, 2022
As found out in many pull requests that update `composer.lock`, `phpstan/phpdoc-parser:1.6` and
beyond are incompatible with `slevomat/coding-standard:^7`, and we should therefore restrict the
compatibility range (for now) in order to prevent downstream crashes.

This can be reverted once we upgrade to `slevomat/coding-standard:^8` (in laminas#75)
Ocramius added a commit to Ocramius/laminas-coding-standard that referenced this pull request Aug 24, 2022
As found out in many pull requests that update `composer.lock`, `phpstan/phpdoc-parser:1.6` and
beyond are incompatible with `slevomat/coding-standard:^7`, and we should therefore restrict the
compatibility range (for now) in order to prevent downstream crashes.

This can be reverted once we upgrade to `slevomat/coding-standard:^8` (in laminas#75)
@renovate
Copy link
Contributor Author

renovate bot commented Nov 28, 2022

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠ Warning: custom changes will be lost.

@underdpt
Copy link

Hi all,

Are there any plans to upgrade slevomat/coding-standard to version 8? I think we're missing some bugfixes and new sniffs that would be good to have.

Regards!

@Ocramius
Copy link
Member

@underdpt yes, but in 3.0.x

Feel free to start a patch for that πŸ‘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants