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

RonasIT / laravel-helpers / 28032834204

23 Jun 2026 02:15PM UTC coverage: 86.942% (+0.1%) from 86.813%
28032834204

Pull #287

github

web-flow
Merge 3b53ae17f into 44b397b99
Pull Request #287: feat: implement queue assertion helpers

23 of 24 new or added lines in 3 files covered. (95.83%)

1285 of 1478 relevant lines covered (86.94%)

20.12 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

85.71
/src/Traits/ReflectionTrait.php
1
<?php
2

3
namespace RonasIT\Support\Traits;
4

5
use ReflectionClass;
6

7
trait ReflectionTrait
8
{
9
    protected function getObjectAttributes(object $object): array
10
    {
11
        $reflection = new ReflectionClass($object);
4✔
12
        $attributes = [];
4✔
13

14
        foreach ($reflection->getProperties() as $property) {
4✔
15
            if ($property->isStatic() || !$property->isInitialized($object)) {
4✔
NEW
16
                continue;
×
17
            }
18

19
            $attributes[$property->getName()] = $property->getValue($object);
4✔
20
        }
21

22
        return $attributes;
4✔
23
    }
24
}
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