Skip to content

Setting up php code sniffer (phpcs), PHP Code Beautifier and Fixer, (php cbf), php stan and ading those rules to cursor #4

Setting up php code sniffer (phpcs), PHP Code Beautifier and Fixer, (php cbf), php stan and ading those rules to cursor

Setting up php code sniffer (phpcs), PHP Code Beautifier and Fixer, (php cbf), php stan and ading those rules to cursor #4

Triggered via pull request November 11, 2024 21:33
Status Success
Total duration 20s
Artifacts

phpcs.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
build: lib/AppInfo/Application.php#L2
Missing file doc comment
build: lib/AppInfo/Application.php#L12
Opening brace of a class must be on the line after the definition
build: lib/AppInfo/Application.php#L13
Spaces must be used to indent lines; tabs are not allowed
build: lib/AppInfo/Application.php#L13
Line indented incorrectly; expected 4 spaces, found 1
build: lib/AppInfo/Application.php#L15
Spaces must be used to indent lines; tabs are not allowed
build: lib/AppInfo/Application.php#L15
Line indented incorrectly; expected at least 4 spaces, found 1
build: lib/AppInfo/Application.php#L15
The open comment tag must be the only content on the line
build: lib/AppInfo/Application.php#L15
Missing short description in doc comment
build: lib/AppInfo/Application.php#L15
The close comment tag must be the only content on the line
build: lib/AppInfo/Application.php#L16
Spaces must be used to indent lines; tabs are not allowed
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: lib/Sections/OpenConnectorAdmin.php#L13
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
build: lib/Controller/DashboardController.php#L40
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
build: lib/Controller/DashboardController.php#L41
Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
build: lib/Controller/DashboardController.php#L43
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
build: lib/Controller/DashboardController.php#L44
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
build: lib/Controller/DashboardController.php#L45
Equals sign not aligned with surrounding assignments; expected 21 spaces but found 1 space
build: lib/Controller/DashboardController.php#L46
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
build: lib/Db/CallLog.php#L11
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
build: lib/Db/CallLog.php#L12
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
build: lib/Db/CallLog.php#L13
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space