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

daycry / auth / 22520725744
64%

Build:
DEFAULT BRANCH: development
Ran 28 Feb 2026 12:28PM UTC
Jobs 1
Files 138
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

27 Feb 2026 09:30PM UTC coverage: 65.761% (-1.1%) from 66.864%
22520725744

push

github

daycry
Add StatelessAuthenticator and refactor token handling

Introduce StatelessAuthenticator as a shared base for JWT/AccessToken and centralize token extraction (getTokenFromRequest). Refactor JWT and AccessToken to extend it and simplify header/query parsing. Add Utils::generateNumericCode and use it in Email2FA/EmailActivator to replace duplicated generators. Centralize model() calls in traits (HasAccessTokens, HasDeviceSessions, HasTotp) via small private getters. Improve filters and error handling: add buildDeniedResponse in AbstractAuthFilter, adjust Group/Permission filters to return ResponseInterface and reuse the builder. Replace static authorization flags with instance properties in AuthenticationException/AuthorizationException and update ExceptionHandler to read them safely. Misc: small controller/type fixes, email helper guard, DeviceSessionModel null handling, active-group/permission query fixes, phpstan baseline updates, and adjust tests to expect 403 for denied JSON responses.

56 of 68 new or added lines in 19 files covered. (82.35%)

115 existing lines in 7 files now uncovered.

2614 of 3975 relevant lines covered (65.76%)

42.9 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
0.0
0.0% src/Controllers/ActionController.php
3
33.33
13.33% src/Exceptions/AuthenticationException.php
3
40.0
-10.0% src/Exceptions/AuthorizationException.php
5
42.11
6.11% src/Traits/HasAccessTokens.php

Uncovered Existing Lines

Lines Coverage ∆ File
6
0.0
0.0% src/Entities/AccessToken.php
7
94.93
0.0% src/Models/UserModel.php
9
0.0
0.0% src/Entities/Cast/SerializeCast.php
10
94.9
-3.2% src/Traits/Authorizable.php
19
69.01
14.79% src/Models/UserIdentityModel.php
26
67.68
2.51% src/Libraries/Oauth/OauthManager.php
38
79.01
10.59% src/Authentication/Authenticators/Session.php
Jobs
ID Job ID Ran Files Coverage
1 PHP 8.2 - 22520725744.1 28 Feb 2026 12:28PM UTC 138
65.76
GitHub Action Run
Source Files on build 22520725744
  • Tree
  • List 138
  • Changed 29
  • Source Changed 0
  • Coverage Changed 29
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 514a9614 on github
  • Prev Build on development (#21562896610)
  • Next Build on development (#22527136947)
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