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

bleedingdeacons / confur / 31015112238
95%

Build:
DEFAULT BRANCH: main
Ran 05 Aug 2026 02:26PM UTC
Jobs 1
Files 22
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

05 Aug 2026 02:25PM UTC coverage: 95.194% (-0.1%) from 95.299%
31015112238

push

github

web-flow
chore(tooling): make PSR-12 a gate and badge the standard (#50)

* chore(tooling): exclude WordPress and test-only sniffs from PSR-12

Groundwork for making PHPCS a gate. No formatting changes here - this commit
only narrows the ruleset, adds the .gitattributes this repo was missing, and
promotes the CI step, so the reformatting that follows is reviewable on its
own.

* style: reindent with spaces and give five methods a visibility keyword

This plugin was tab-indented throughout while the rest of the suite is not,
which accounted for 2,116 of its findings across 18 files - more than a
quarter of the whole suite's. phpcbf did that reindent plus the usual
structural tidying: opening braces onto their own line, inline
if (...) { return x; } expanded, multi-line call arguments aligned,
trailing blank lines before closing braces dropped.

Not purely whitespace, so git diff -w on this commit is not empty. The
non-whitespace part is the brace and inline-control-structure restructuring
above, plus five methods that were declared with no visibility keyword and
a snake_case name:

  AcfHelper::update_acf_field   -> public static function updateAcfField
  AcfHelper::update_acf_fields  -> public static function updateAcfFields
  AcfHelper::update_acf_field2  -> public static function updateAcfField2
  AnswerShortcode::get_field    -> public function getField
  AnswerShortcode::get_the_ID   -> public function getTheId

The AcfHelper three are called only from their own tests and one commented
line in AnswerHandler; both were updated. The AnswerShortcode two are thin
wrappers that exist so the global ACF/WP calls can be swapped out in tests -
they kept their // Calls global comments, and their two internal callers
in the same class were updated. No behaviour changes.

Two file-level docblocks in GeneralShortcodes and HtmlHelper sat between a
class_exists() guard and the class they describe, which PSR-12 reads as a
misplaced file docblock. Each moved inside its gua... (continued)

1022 of 1111 new or added lines in 21 files covered. (91.99%)

3 existing lines in 3 files now uncovered.

2258 of 2372 relevant lines covered (95.19%)

4.08 hits per line

Uncovered Changes

Lines Coverage ∆ File
35
74.82
0.0% src/Plugin.php
26
79.53
0.0% src/Handlers/AnswerHandler.php
11
76.6
0.0% src/API/AnswerAPI.php
11
88.17
-0.96% src/Services/EmailService.php
2
96.63
0.0% src/Admin/EmailTemplateAdminPage.php
2
98.76
-1.24% src/Repositories/AnswerRepository.php
2
98.54
0.01% src/Shortcodes/AnswerShortcode.php

Coverage Regressions

Lines Coverage ∆ File
1
96.63
0.0% src/Admin/EmailTemplateAdminPage.php
1
96.64
0.0% src/Shortcodes/GeneralShortcodes.php
1
96.67
0.0% src/Utils/HtmlHelper.php
Jobs
ID Job ID Ran Files Coverage
1 31015112238.1 05 Aug 2026 02:26PM UTC 22
95.19
GitHub Action Run
Source Files on build 31015112238
  • Tree
  • List 22
  • Changed 22
  • Source Changed 22
  • Coverage Changed 11
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #31015112238
  • 995402db on github
  • Prev Build on main (#31008062199)
  • Next Build on main (#31015256764)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc