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

tempestphp / tempest-framework / 14107464245

27 Mar 2025 01:12PM UTC coverage: 79.476% (+0.1%) from 79.334%
14107464245

Pull #1076

github

web-flow
Merge 882d93136 into 6af05d563
Pull Request #1076: refactor(database): remove `DatabaseModel` interface

476 of 504 new or added lines in 37 files covered. (94.44%)

1 existing line in 1 file now uncovered.

10684 of 13443 relevant lines covered (79.48%)

92.71 hits per line

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

50.0
/src/Tempest/Database/src/functions.php
1
<?php
2

3
namespace Tempest\Database {
4
    use ReflectionException;
5
    use Tempest\Database\Builder\ModelInspector;
6
    use Tempest\Database\Builder\QueryBuilders\QueryBuilder;
7

8
    function query(string|object $model): QueryBuilder
9
    {
10
        return new QueryBuilder($model);
71✔
11
    }
12

13
    function model(string|object $model): ModelInspector
14
    {
NEW
15
        return new ModelInspector($model);
×
16
    }
17
}
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