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

Revert "replace squizlabs/php_codesniffer with phpcsstandards/php_codesniffer" #1646

Merged
merged 2 commits into from
Dec 11, 2023

Conversation

jrfnl
Copy link
Contributor

@jrfnl jrfnl commented Dec 9, 2023

Revert "replace squizlabs/php_codesniffer with phpcsstandards/php_codesniffer"

This reverts commit 2713947.

See: #1641 (comment)

Also: https://github.com/PHPCSStandards/PHP_CodeSniffer/releases/tag/3.8.0

TestCase: update for new Ruleset::$properties format

Related to the handling of the PHP 8.2 dynamic properties deprecation.

Note: this issue will not block end-users, it is only the test suite which is affected.

Refs:

@jrfnl jrfnl force-pushed the feature/composer-fix-phpcs-ref branch from 2df5218 to eb92adb Compare December 9, 2023 04:39
@kukulich
Copy link
Contributor

Thanks.

@kukulich kukulich merged commit ad4eab6 into slevomat:master Dec 11, 2023
36 checks passed
@jrfnl jrfnl deleted the feature/composer-fix-phpcs-ref branch December 11, 2023 15:50
@janedbal
Copy link
Contributor

janedbal commented Jan 2, 2024

Is this really good idea?

I think that since old repo does not contain releases, dependabot summaries are not as good anymore. See e.g. editorconfig-checker/editorconfig-checker.php#298

@janedbal
Copy link
Contributor

janedbal commented Jan 2, 2024

And I mean using proper package name in general, not in this particular repository.

@jrfnl
Copy link
Contributor Author

jrfnl commented Jan 2, 2024

Is this really good idea?

I think that since old repo does not contain releases, dependabot summaries are not as good anymore. See e.g. editorconfig-checker/editorconfig-checker.php#298

Yes it is. The package name ended up not being changed and Packagist was updated to look at the new repo, so releases will now be taken from the new repo. If Dependabot does not handle this correctly, you need to report a bug there.

For the record, this means that the "proper package name" is still squizlabs/php_codesniffer and any repo which points to phpcsstandards/php_codesniffer should revert that change (and runs the risk of the package at some point not working anymore).

@janedbal
Copy link
Contributor

janedbal commented Jan 2, 2024

any repo which points to phpcsstandards/php_codesniffer should revert that change (and runs the risk of the package at some point not working anymore)

Why? Can you describe/link some more details on this topic? Thx

@jrfnl
Copy link
Contributor Author

jrfnl commented Jan 2, 2024

any repo which points to phpcsstandards/php_codesniffer should revert that change (and runs the risk of the package at some point not working anymore)

Why? Can you describe/link some more details on this topic? Thx

Because that name will be taken offline as soon as possible, or at the very least marked as abandoned.

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.

3 participants