Register post types & expose them on REST API #2
Annotations
8 errors and 4 warnings
src/plugin/plugin.php#L1
Class file names should be based on the class name with "class-" prepended. Expected class-liberationengine.php, but found plugin.php.
|
src/plugin/plugin.php#L26
There must not be a space before the colon in a return type declaration
|
src/plugin/plugin.php#L33
Inline comments must end in full-stops, exclamation marks, or question marks
|
src/plugin/plugin.php#L44
Inline comments must end in full-stops, exclamation marks, or question marks
|
src/plugin/plugin.php#L55
Inline comments must end in full-stops, exclamation marks, or question marks
|
src/plugin/plugin.php#L66
Inline comments must end in full-stops, exclamation marks, or question marks
|
src/plugin/plugin.php#L73
There must not be a space before the colon in a return type declaration
|
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/plugin/plugin.php#L17
Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
|
src/plugin/plugin.php#L18
Equals sign not aligned with surrounding assignments; expected 7 spaces but found 1 space
|
src/plugin/plugin.php#L19
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space
|
This job failed
Loading