Skip to content

remove deprecation warning in PHP8.1+

HM Linter / hmlinter failed Sep 20, 2024 in 2m 11s

hmlinter checks failed

20 errors

Request details

  • GitHub Event ID: 2adf2d60-7746-11ef-8d97-36cb54e17d28
  • API Gateway ID: 5de26b11-901e-4421-a163-7134c9902d5f
  • Lambda ID: b91744c1-677b-412d-81ed-99c4c78f2fed
  • Log Stream: 2024/09/20/[$LATEST]fd87d6ff9f0d42f989394321b3ec8926

Annotations

Check failure on line 1 in inc/admin/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/admin/namespace.php#L1

Missing file doc comment
Raw output
{
  "line": 1,
  "column": 1,
  "severity": "error",
  "message": "Missing file doc comment",
  "source": "Squiz.Commenting.FileComment.Missing"
}

Check failure on line 8 in inc/admin/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/admin/namespace.php#L8

Missing doc comment for function bootstrap()
Raw output
{
  "line": 8,
  "column": 1,
  "severity": "error",
  "message": "Missing doc comment for function bootstrap()",
  "source": "Squiz.Commenting.FunctionComment.Missing"
}

Check failure on line 13 in inc/admin/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/admin/namespace.php#L13

Missing doc comment for function output_metabox()
Raw output
{
  "line": 13,
  "column": 1,
  "severity": "error",
  "message": "Missing doc comment for function output_metabox()",
  "source": "Squiz.Commenting.FunctionComment.Missing"
}

Check failure on line 21 in inc/admin/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/admin/namespace.php#L21

Missing doc comment for function attachment_fields()
Raw output
{
  "line": 21,
  "column": 1,
  "severity": "error",
  "message": "Missing doc comment for function attachment_fields()",
  "source": "Squiz.Commenting.FunctionComment.Missing"
}

Check failure on line 44 in inc/admin/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/admin/namespace.php#L44

Missing doc comment for function get_keywords_html()
Raw output
{
  "line": 44,
  "column": 1,
  "severity": "error",
  "message": "Missing doc comment for function get_keywords_html()",
  "source": "Squiz.Commenting.FunctionComment.Missing"
}

Check failure on line 1 in inc/class-cli-command.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/class-cli-command.php#L1

Missing file doc comment
Raw output
{
  "line": 1,
  "column": 1,
  "severity": "error",
  "message": "Missing file doc comment",
  "source": "Squiz.Commenting.FileComment.Missing"
}

Check failure on line 7 in inc/class-cli-command.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/class-cli-command.php#L7

Missing doc comment for class CLI_Command
Raw output
{
  "line": 7,
  "column": 1,
  "severity": "error",
  "message": "Missing doc comment for class CLI_Command",
  "source": "Squiz.Commenting.ClassComment.Missing"
}

Check failure on line 9 in inc/class-cli-command.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/class-cli-command.php#L9

Doc comment for parameter "$args" missing
Raw output
{
  "line": 9,
  "column": 5,
  "severity": "error",
  "message": "Doc comment for parameter \"$args\" missing",
  "source": "Squiz.Commenting.FunctionComment.MissingParamTag"
}

Check failure on line 9 in inc/class-cli-command.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/class-cli-command.php#L9

Doc comment for parameter "$args_assoc" missing
Raw output
{
  "line": 9,
  "column": 5,
  "severity": "error",
  "message": "Doc comment for parameter \"$args_assoc\" missing",
  "source": "Squiz.Commenting.FunctionComment.MissingParamTag"
}

Check failure on line 18 in inc/class-cli-command.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/class-cli-command.php#L18

Doc comment for parameter "$args" missing
Raw output
{
  "line": 18,
  "column": 5,
  "severity": "error",
  "message": "Doc comment for parameter \"$args\" missing",
  "source": "Squiz.Commenting.FunctionComment.MissingParamTag"
}

Check failure on line 18 in inc/class-cli-command.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/class-cli-command.php#L18

Doc comment for parameter "$args_assoc" missing
Raw output
{
  "line": 18,
  "column": 5,
  "severity": "error",
  "message": "Doc comment for parameter \"$args_assoc\" missing",
  "source": "Squiz.Commenting.FunctionComment.MissingParamTag"
}

Check failure on line 1 in inc/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/namespace.php#L1

Missing file doc comment
Raw output
{
  "line": 1,
  "column": 1,
  "severity": "error",
  "message": "Missing file doc comment",
  "source": "Squiz.Commenting.FileComment.Missing"
}

Check failure on line 33 in inc/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/namespace.php#L33

Missing parameter comment
Raw output
{
  "line": 33,
  "column": 4,
  "severity": "error",
  "message": "Missing parameter comment",
  "source": "Squiz.Commenting.FunctionComment.MissingParamComment"
}

Check failure on line 34 in inc/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/namespace.php#L34

Missing parameter comment
Raw output
{
  "line": 34,
  "column": 4,
  "severity": "error",
  "message": "Missing parameter comment",
  "source": "Squiz.Commenting.FunctionComment.MissingParamComment"
}

Check failure on line 55 in inc/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/namespace.php#L55

Missing parameter comment
Raw output
{
  "line": 55,
  "column": 4,
  "severity": "error",
  "message": "Missing parameter comment",
  "source": "Squiz.Commenting.FunctionComment.MissingParamComment"
}

Check failure on line 229 in inc/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/namespace.php#L229

Missing doc comment for function update_attachment_data()
Raw output
{
  "line": 229,
  "column": 1,
  "severity": "error",
  "message": "Missing doc comment for function update_attachment_data()",
  "source": "Squiz.Commenting.FunctionComment.Missing"
}

Check failure on line 333 in inc/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/namespace.php#L333

Missing doc comment for function get_attachment_labels()
Raw output
{
  "line": 333,
  "column": 1,
  "severity": "error",
  "message": "Missing doc comment for function get_attachment_labels()",
  "source": "Squiz.Commenting.FunctionComment.Missing"
}

Check failure on line 507 in inc/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/namespace.php#L507

Missing parameter comment
Raw output
{
  "line": 507,
  "column": 4,
  "severity": "error",
  "message": "Missing parameter comment",
  "source": "Squiz.Commenting.FunctionComment.MissingParamComment"
}

Check failure on line 508 in inc/namespace.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

inc/namespace.php#L508

Missing parameter comment
Raw output
{
  "line": 508,
  "column": 4,
  "severity": "error",
  "message": "Missing parameter comment",
  "source": "Squiz.Commenting.FunctionComment.MissingParamComment"
}

Check failure on line 1 in plugin.php

See this annotation in the file changed.

@hm-linter hm-linter / hmlinter

plugin.php#L1

Missing file doc comment
Raw output
{
  "line": 1,
  "column": 1,
  "severity": "error",
  "message": "Missing file doc comment",
  "source": "Squiz.Commenting.FileComment.Missing"
}