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

bvlion / AppTanServer / 20205654148

14 Dec 2025 09:04AM UTC coverage: 25.627%. First build
20205654148

push

github

bvlion
format

12 of 49 new or added lines in 18 files covered. (24.49%)

143 of 558 relevant lines covered (25.63%)

0.8 hits per line

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

0.0
/src/Domain/SearchWordsMaster/SearchWordsMaster.php
1
<?php
2

3
declare(strict_types=1);
4

5
namespace App\Domain\SearchWordsMaster;
6

7
use JsonSerializable;
8

9
class SearchWordsMaster implements JsonSerializable
10
{
11
  private string $packageName;
12
  private string $word;
13
  private string $kana;
14
  private string $appName;
15
  private string $source;
16
  private ?\DateTime $createdAt;
17

18
  public function __construct(
19
    string $packageName,
20
    string $word,
21
    string $kana,
22
    string $appName,
23
    string $source = 'ai_generated',
24
    ?\DateTime $createdAt = null
25
  ) {
26
    $this->packageName = $packageName;
×
27
    $this->word = $word;
×
28
    $this->kana = $kana;
×
29
    $this->appName = $appName;
×
30
    $this->source = $source;
×
31
    $this->createdAt = $createdAt;
×
32
  }
33

34
  public function getPackageName(): string
35
  {
NEW
36
    return $this->packageName;
×
37
  }
38
  public function getWord(): string
39
  {
NEW
40
    return $this->word;
×
41
  }
42
  public function getKana(): string
43
  {
NEW
44
    return $this->kana;
×
45
  }
46
  public function getAppName(): string
47
  {
NEW
48
    return $this->appName;
×
49
  }
50
  public function getSource(): string
51
  {
NEW
52
    return $this->source;
×
53
  }
54
  public function getCreatedAt(): ?\DateTime
55
  {
NEW
56
    return $this->createdAt;
×
57
  }
58

59
  #[\ReturnTypeWillChange]
60
  public function jsonSerialize(): array
61
  {
62
    return [
×
63
      'packageName' => $this->packageName,
×
64
      'word' => $this->word,
×
65
      'kana' => $this->kana,
×
66
      'app_name' => $this->appName,
×
67
      'source' => $this->source,
×
68
      'createdAt' => $this->createdAt?->format(\DateTime::ATOM),
×
69
    ];
×
70
  }
71
}
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