Skip to content

Stop committing composer.lock, require phpcs ^3.13.6 - #7

Merged
Schrank merged 1 commit into
developfrom
fix/dependabot-2026-10
Oct 3, 2026
Merged

Schrank merged 1 commit into
developfrom
fix/dependabot-2026-10

Conversation

@mautz-et-tong

Copy link
Copy Markdown
Contributor

Library packages should not ship a lock file; consumers never use it. Constraint raised to the patched line (GHSA-hmqg-cxww-wqhq). Should close alert 2.

Heads-up: the sniffs still use the removed PHP_CodeSniffer_Exception class and fatal on current phpcs 3.13.x (already the case with ^3.6 resolving to recent versions). Needs a separate modernisation if the standard is still used.

….13.6

Libraries should not ship a lockfile. Removing it also closes
Dependabot alert 2 (squizlabs/php_codesniffer < 3.13.6).
@Schrank

Schrank commented Oct 3, 2026

Copy link
Copy Markdown
Member

Thanks @mautz-et-tong

@copilot open a new issue for the PHP_CodeSniffer_Exception. It is not shipped anymore with the dependency.

Copilot AI commented Oct 3, 2026

Copy link
Copy Markdown

Thanks @mautz-et-tong

@copilot open a new issue for the PHP_CodeSniffer_Exception. It is not shipped anymore with the dependency.

I can’t create a GitHub issue with the repository tools available in this session. PHP_CodeSniffer_Exception is referenced in four sniffs, so this does warrant a separate modernization issue; please open one for those compatibility failures.

Copilot AI requested a review from Schrank October 3, 2026 14:55
@Schrank
Schrank merged commit 991ed0d into develop Oct 3, 2026
1 check passed
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