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

ICanBoogie / ActiveRecord / 46308125999
93%

Build:
DEFAULT BRANCH: 7.0
Ran 29 Nov 2026 08:43PM UTC
Jobs 1
Files 113
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

29 Nov 2026 08:43PM UTC coverage: 92.444% (+0.06%) from 92.389%
46308125999

push

github

olvlvl
feat(query): add `count_by_column()`

`count()` returned `int|array` depending on its argument, so static
analysis required narrowing the number of records.

`count_by_column()` returns the number of records for each value of a
column, and passing a column to `count()` is deprecated. A conditional
return type tells static analyzers that `count()` is an `int` without a
column.

The new method uses `COUNT(*)`: `COUNT($column)` reported 0 records
without a value in the column.

BREAKING CHANGE: `Query::$count` is typed `int` instead of `int|array`.

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

2 existing lines in 1 file now uncovered.

1933 of 2091 relevant lines covered (92.44%)

69.63 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
81.0
0.5% lib/ActiveRecord/Query.php
Jobs
ID Job ID Ran Files Coverage
1 46308125999.1 29 Nov 2026 08:43PM UTC 113
92.44
GitHub Action Run
Source Files on build 46308125999
  • Tree
  • List 113
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 6058ccb1 on github
  • Prev Build on 7.0 (#46306899747)
  • Next Build on 7.0 (#46308876518)
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