Setting up php code sniffer (phpcs), PHP Code Beautifier and Fixer, (php cbf), php stan and ading those rules to cursor #4
Annotations
10 errors and 11 warnings
Run phpcs:
lib/AppInfo/Application.php#L2
Missing file doc comment
|
Run phpcs:
lib/AppInfo/Application.php#L12
Opening brace of a class must be on the line after the definition
|
Run phpcs:
lib/AppInfo/Application.php#L13
Spaces must be used to indent lines; tabs are not allowed
|
Run phpcs:
lib/AppInfo/Application.php#L13
Line indented incorrectly; expected 4 spaces, found 1
|
Run phpcs:
lib/AppInfo/Application.php#L15
Spaces must be used to indent lines; tabs are not allowed
|
Run phpcs:
lib/AppInfo/Application.php#L15
Line indented incorrectly; expected at least 4 spaces, found 1
|
Run phpcs:
lib/AppInfo/Application.php#L15
The open comment tag must be the only content on the line
|
Run phpcs:
lib/AppInfo/Application.php#L15
Missing short description in doc comment
|
Run phpcs:
lib/AppInfo/Application.php#L15
The close comment tag must be the only content on the line
|
Run phpcs:
lib/AppInfo/Application.php#L16
Spaces must be used to indent lines; tabs are not allowed
|
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/
|
Run phpcs:
lib/Sections/OpenConnectorAdmin.php#L13
Equals sign not aligned with surrounding assignments; expected 12 spaces but found 1 space
|
Run phpcs:
lib/Controller/DashboardController.php#L40
Equals sign not aligned with surrounding assignments; expected 9 spaces but found 1 space
|
Run phpcs:
lib/Controller/DashboardController.php#L41
Equals sign not aligned with surrounding assignments; expected 18 spaces but found 1 space
|
Run phpcs:
lib/Controller/DashboardController.php#L43
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
|
Run phpcs:
lib/Controller/DashboardController.php#L44
Equals sign not aligned with surrounding assignments; expected 16 spaces but found 1 space
|
Run phpcs:
lib/Controller/DashboardController.php#L45
Equals sign not aligned with surrounding assignments; expected 21 spaces but found 1 space
|
Run phpcs:
lib/Controller/DashboardController.php#L46
Equals sign not aligned with surrounding assignments; expected 17 spaces but found 1 space
|
Run phpcs:
lib/Db/CallLog.php#L11
Equals sign not aligned with surrounding assignments; expected 11 spaces but found 1 space
|
Run phpcs:
lib/Db/CallLog.php#L12
Equals sign not aligned with surrounding assignments; expected 8 spaces but found 1 space
|
Run phpcs:
lib/Db/CallLog.php#L13
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space
|
Loading