• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

PHPCSStandards / PHP_CodeSniffer / 12103442928
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: catch-per-3.0
DEFAULT BRANCH: master
Ran 01 Dec 2024 07:33AM UTC
Jobs 8
Files 262
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Dec 2024 07:31AM UTC coverage: 76.351% (+0.01%) from 76.34%
12103442928

push

github

jrfnl
Generators/Markdown: fix line break and indentation handling

As things were, line breaks in a `<standard>` block were not respected for proper display in markdown.

As a side-effect of this, an indented text line in a `<standard>` block directly after a blank line, would unintentionally cause the markdown to display the line as a code block (via the indentation).

This has now been fixed by:
* Trimming indentation off each line.
* Adding two spaces to the end of each line as long as the line is not followed by a blank line or at the end of the standard block.
    The two spaces will ensure markdown will recognize the line break (in most markdown flavours).

Includes updated test expectations.

Refs:
* https://www.markdownguide.org/basic-syntax/#paragraph-best-practices
* https://www.markdownguide.org/basic-syntax/#line-break-best-practices
* https://daringfireball.net/projects/markdown/syntax#p

13 of 13 new or added lines in 1 file covered. (100.0%)

18777 of 24593 relevant lines covered (76.35%)

75.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 os-ubuntu-latest-php-7.2-custom-ini-false - 12103442928.1 01 Dec 2024 07:37AM UTC 0
72.64
GitHub Action Run
2 cbf-os-ubuntu-latest-ubuntu-latest-php-7.2-custom-ini-false - 12103442928.2 01 Dec 2024 07:37AM UTC 0
0.18
GitHub Action Run
3 os-ubuntu-latest-php-8.1-custom-ini-true - 12103442928.3 01 Dec 2024 07:35AM UTC 0
74.82
GitHub Action Run
4 os-windows-latest-php-8.4-custom-ini-false - 12103442928.4 01 Dec 2024 07:33AM UTC 0
2.52
GitHub Action Run
5 cbf-os-ubuntu-latest-ubuntu-latest-php-8.1-custom-ini-true - 12103442928.5 01 Dec 2024 07:35AM UTC 0
1.08
GitHub Action Run
6 cbf-os-ubuntu-latest-ubuntu-latest-php-8.4-custom-ini-false - 12103442928.6 01 Dec 2024 07:35AM UTC 0
1.08
GitHub Action Run
7 os-ubuntu-latest-php-8.4-custom-ini-false - 12103442928.7 01 Dec 2024 07:35AM UTC 0
74.81
GitHub Action Run
8 os-windows-latest-php-7.2-custom-ini-false - 12103442928.8 01 Dec 2024 07:33AM UTC 0
2.05
GitHub Action Run
Source Files on build 12103442928
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #12103442928
  • 1f2ad4b3 on github
  • Prev Build on 4.0 (#12091642282)
  • Next Build on 4.0 (#12103469355)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc