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

PHPCSStandards / PHP_CodeSniffer / 11823292737
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: 4.x
DEFAULT BRANCH: master
Ran 13 Nov 2024 06:16PM UTC
Jobs 5
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

13 Nov 2024 06:13PM UTC coverage: 74.489%. Remained the same
11823292737

push

github

jrfnl
GH Actions: don't convert line endings

By default the `actions/checkout` runner uses the default git settings for line ending normalization, which is `true`.
For Windows, this means that `lf` line endings in files get converted to `crlf` on checkout.

In the case of PHPCS, this is problematic as this means that the integration test, which runs PHPCS over the code in PHPCS itself, would fail on hundreds of `End of line character is invalid; expected "\n" but found "\r\n"` CS errors.

Now, this line ending normalization can be undone via some config in `.gitattributes`, but that could negatively impact contributors who may prefer to have the line ending conversion when working on files in their local editors.

So instead of that, this commit just turns it off in CI alone. The `core.autocrlf input` setting should leave the line-endings "as-is" when it gets checked out.

Refs:
* https://git-scm.com/book/en/v2/Customizing-Git-Git-Configuration#_formatting_and_whitespace
* https://github.com/actions/checkout/issues/135
* https://github.com/actions/checkout/issues/226

18281 of 24542 relevant lines covered (74.49%)

74.63 hits per line

Jobs
ID Job ID Ran Files Coverage
1 os-windows-latest-php-7.2-custom-ini-false - 11823292737.1 13 Nov 2024 06:16PM UTC 0
0.03
GitHub Action Run
2 os-ubuntu-latest-php-8.1-custom-ini-true - 11823292737.2 13 Nov 2024 06:21PM UTC 0
72.97
GitHub Action Run
3 os-windows-latest-php-8.4-custom-ini-false - 11823292737.3 13 Nov 2024 06:16PM UTC 0
0.04
GitHub Action Run
4 os-ubuntu-latest-php-7.2-custom-ini-false - 11823292737.4 13 Nov 2024 06:23PM UTC 0
70.54
GitHub Action Run
5 os-ubuntu-latest-php-8.4-custom-ini-false - 11823292737.5 13 Nov 2024 06:21PM UTC 0
72.97
GitHub Action Run
Source Files on build 11823292737
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11823292737
  • 5a30700d on github
  • Prev Build on 4.0 (#11821703466)
  • Next Build on 4.0 (#11824011478)
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