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

PHPCSStandards / PHP_CodeSniffer / 10174212554
78%
master: 79%

Build:
Build:
LAST BUILD BRANCH: feature/fixer-conflict/PSR12.Functions.ReturnTypeDeclaration
DEFAULT BRANCH: master
Ran 31 Jul 2024 04:49AM UTC
Jobs 3
Files 260
Run time 2min
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

31 Jul 2024 04:44AM UTC coverage: 74.66%. Remained the same
10174212554

push

github

jrfnl
GH Actions: provide attestations for release PHAR files

GitHub has released a new feature called Artifact Attestations, which allows for verifying the integrity of artifacts build via GitHub Actions.

This is an additional security and compliance feature, which allows for checking which workflow build the artifact and ensuring the artifact has not been tampered with after the generation via the workflow.

To me, this sounds like a good addition to the build process for release phars, so this commit implements attesting PHARS for releases.

To verify the phar files (after the next release, which will be the first to use this feature):
* Download the PHAR file(s), either from "Releases", from the tag "Test" workflow run or via PHIVE.
* If downloaded as a zipped artifact, unzip to get to the actual PHAR files.
* Using the GitHub CLI tool, run the below command to verify:
    ```bash
    gh attestation verify phpcs.phar -o PHPCSStandards
    gh attestation verify phpcbf.phar -o PHPCSStandards
    ```

References:
* https://github.blog/changelog/2024-06-25-artifact-attestations-is-generally-available/
* https://docs.github.com/en/actions/security-guides/using-artifact-attestations-to-establish-provenance-for-builds
* https://github.com/actions/attest-build-provenance
* https://cli.github.com/
* https://github.com/cli/cli

17981 of 24084 relevant lines covered (74.66%)

71.91 hits per line

Jobs
ID Job ID Ran Files Coverage
1 php-7.2-custom-ini-false - 10174212554.1 31 Jul 2024 04:50AM UTC 260
70.55
GitHub Action Run
2 php-8.1-custom-ini-true - 10174212554.2 31 Jul 2024 04:49AM UTC 260
72.41
GitHub Action Run
3 php-8.3-custom-ini-false - 10174212554.3 31 Jul 2024 04:49AM UTC 260
72.38
GitHub Action Run
Source Files on build 10174212554
  • Tree
  • List 260
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #10174212554
  • dec4096d on github
  • Prev Build on 4.0 (#10173955894)
  • Next Build on 4.0 (#10205403704)
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