Skip to content

Update to phpcs v4#420

Merged
markstory merged 3 commits into
5.nextfrom
phpcs-v4
Sep 19, 2025
Merged

Update to phpcs v4#420
markstory merged 3 commits into
5.nextfrom
phpcs-v4

Conversation

@ADmad

@ADmad ADmad commented Sep 17, 2025

Copy link
Copy Markdown
Member

@ADmad

ADmad commented Sep 18, 2025

Copy link
Copy Markdown
Member Author

Hmm.. Trying out this branch with cakephp codebase gives me errors like this one for all slevomat sniffs when running phpcs

ERROR: Referenced sniff "SlevomatCodingStandard.Arrays.TrailingArrayComma" does not exist.

dealerdirect/phpcodesniffer-composer-installer is already an indirect
dependency through slevomat/coding-standards. This package avoids
having to manually specify the paths to custom phpcs standards.
@ADmad

ADmad commented Sep 18, 2025

Copy link
Copy Markdown
Member Author

Fixed above issue

@ADmad

ADmad commented Sep 18, 2025

Copy link
Copy Markdown
Member Author

This is ready for merging. Tested against the core and everything seems fine cakephp/cakephp#18917

@markstory markstory merged commit 3fab702 into 5.next Sep 19, 2025
6 checks passed
@markstory markstory deleted the phpcs-v4 branch September 19, 2025 15:12
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