Skip to content

Check the SDK library against PSR-12 - #17

Draft
eunomie wants to merge 1 commit into
readme-function-rolesfrom
phpcs-psr12
Draft

eunomie wants to merge 1 commit into
readme-function-rolesfrom
phpcs-psr12

Conversation

@eunomie

@eunomie eunomie commented Nov 11, 2026

Copy link
Copy Markdown
Member

Adds sdk/phpcs.xml.dist (PSR-1 and PSR-12 over sdk/src and sdk/tests/Unit/Module) and an e2e sdk-style-check modelled on sdk-unit-check. Three overlong lines are wrapped; the two files that hold generated Dang text are exempt from the line-length sniff. The vendored tests outside tests/Unit/Module stay unchecked (77 errors); a formatting change can follow if wanted.

Check, on the beta.27 engine and CLI: sdk-style-check fails on a deliberately bad file and passes on the final tree (0 errors, 0 warnings).

The vendored tests outside tests/Unit/Module stay unchecked (77 errors);
a formatting change can follow.

Signed-off-by: Yves Brissaud <yves@dagger.io>
@eunomie
eunomie changed the base branch from main to readme-function-roles November 11, 2026 14:32
@eunomie
eunomie added this pull request to stack #32 November 11, 2026 14:32
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