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

nepada / bust-cache / 10226320333

03 Aug 2024 07:29AM UTC coverage: 95.395%. Remained the same
10226320333

Pull #121

github

web-flow
Merge ba5bccacd into dc1605b7d
Pull Request #121: Bump the phpstan group with 3 updates

1 of 1 new or added line in 1 file covered. (100.0%)

290 of 304 relevant lines covered (95.39%)

0.95 hits per line

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

85.71
/src/BustCache/FileSystem/File.php
1
<?php
2
declare(strict_types = 1);
3

4
namespace Nepada\BustCache\FileSystem;
5

6
final class File
7
{
8

9
    private function __construct(
1✔
10
        public readonly Path $path,
11
    )
12
    {
13
    }
1✔
14

15
    public static function fromLocalPath(Path|string $path): static
1✔
16
    {
17
        if (is_string($path)) {
1✔
18
            $path = Path::of($path);
1✔
19
        }
20
        return new static($path);
1✔
21
    }
22

23
    /**
24
     * @deprecated read the property directly instead
25
     */
26
    public function getPath(): Path
27
    {
28
        return $this->path;
×
29
    }
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