Skip to content

Fix PHPCS violations in test files, remove most suppressions#94

Merged
alganet merged 1 commit intomasterfrom
phpcs-tests
Mar 15, 2026
Merged

Fix PHPCS violations in test files, remove most suppressions#94
alganet merged 1 commit intomasterfrom
phpcs-tests

Conversation

@alganet
Copy link
Member

@alganet alganet commented Mar 15, 2026

Rename snake_case test methods to camelCase, split multi-property declarations into separate lines, add nullable types to entity stub properties, add parameter types to data-provider tests, add traversable PHPDoc to providers, fix line length violations, and rename non-PascalCase test helper classes. Remove 9 of 10 phpcs suppressions — only MemberNotCamelCaps remains for DB column property names in inline stubs.

Rename snake_case test methods to camelCase, split multi-property
declarations into separate lines, add nullable types to entity
stub properties, add parameter types to data-provider tests, add
traversable PHPDoc to providers, fix line length violations, and
rename non-PascalCase test helper classes. Remove 9 of 10 phpcs
suppressions — only MemberNotCamelCaps remains for DB column
property names in inline stubs.
@alganet alganet marked this pull request as ready for review March 15, 2026 04:00
@alganet alganet merged commit ebd259d into master Mar 15, 2026
2 checks passed
@alganet alganet deleted the phpcs-tests branch March 15, 2026 04:10
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.

1 participant