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

tempestphp / tempest-framework / 12021710761

25 Nov 2024 06:54PM UTC coverage: 79.441% (-2.6%) from 81.993%
12021710761

push

github

web-flow
ci: close stale issues and pull requests

7879 of 9918 relevant lines covered (79.44%)

61.32 hits per line

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

75.0
/src/Tempest/Database/src/GenericMigration.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace Tempest\Database;
6

7
use Tempest\Database\QueryStatements\RawStatement;
8

9
final readonly class GenericMigration implements Migration
10
{
11
    public function __construct(
×
12
        private string $fileName,
13
        private string $content,
14
    ) {
15
    }
×
16

17
    public function getName(): string
7✔
18
    {
19
        return $this->fileName;
7✔
20
    }
21

22
    public function up(): QueryStatement|null
7✔
23
    {
24
        return new RawStatement($this->content);
7✔
25
    }
26

27
    public function down(): QueryStatement|null
1✔
28
    {
29
        return null;
1✔
30
    }
31
}
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