Skip to content

better code composition #14

better code composition

better code composition #14

Triggered via push November 28, 2024 21:34
Status Failure
Total duration 21s
Artifacts

linter.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
critic: sentra.pl#L1
No package-scoped "$VERSION" variable found at line 1, column 1. See page 404 of PBP.
critic: sentra.pl#L17
100 is not one of the allowed literal values (0, 1, 2). Use the Readonly or Const::Fast module or the "constant" pragma instead at line 17, column 20. Unnamed numeric literals make code less maintainable.
critic: tests/SearchFiles.t#L1
No package-scoped "$VERSION" variable found at line 1, column 1. See page 404 of PBP.
critic: tests/SearchFiles.t#L18
Regular expression without "/s" flag at line 18, column 17. See pages 240,241 of PBP.
critic: tests/SearchFiles.t#L18
Regular expression without "/m" flag at line 18, column 17. See page 237 of PBP.
critic: tests/SearchFiles.t#L19
200 is not one of the allowed literal values (0, 1, 2). Use the Readonly or Const::Fast module or the "constant" pragma instead at line 19, column 24. Unnamed numeric literals make code less maintainable.
critic: tests/SearchFiles.t#L23
Regular expression without "/s" flag at line 23, column 20. See pages 240,241 of PBP.
critic: tests/SearchFiles.t#L23
Regular expression without "/m" flag at line 23, column 20. See page 237 of PBP.
critic: tests/SearchFiles.t#L24
404 is not one of the allowed literal values (0, 1, 2). Use the Readonly or Const::Fast module or the "constant" pragma instead at line 24, column 24. Unnamed numeric literals make code less maintainable.
critic: tests/SearchFiles.t#L27
Regular expression without "/s" flag at line 27, column 20. See pages 240,241 of PBP.