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

tempestphp / tempest-framework / 14729611330

29 Apr 2025 11:00AM UTC coverage: 80.654%. First build
14729611330

Pull #1150

github

web-flow
Merge 7c1d15bb8 into 76d70c153
Pull Request #1150: refactor(filesystem): move from package to functions

155 of 202 new or added lines in 10 files covered. (76.73%)

12945 of 16050 relevant lines covered (80.65%)

101.87 hits per line

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

50.0
/src/Tempest/Support/src/Filesystem/Exceptions/NotFoundException.php
1
<?php
2

3
namespace Tempest\Support\Filesystem\Exceptions;
4

5
use Exception;
6

7
final class NotFoundException extends Exception implements FilesystemException
8
{
9
    public static function forPath(string $path): static
1✔
10
    {
11
        return new self(sprintf('Path "%s" is not found.', $path));
1✔
12
    }
13

14
    public static function forFile(string $file): static
3✔
15
    {
16
        return new self(sprintf('File "%s" is not found.', $file));
3✔
17
    }
18

NEW
19
    public static function forDirectory(string $directory): static
×
20
    {
NEW
21
        return new self(sprintf('Directory "%s" is not found.', $directory));
×
22
    }
23

NEW
24
    public static function forSymbolicLink(string $symbolic_link): static
×
25
    {
NEW
26
        return new self(sprintf('Symbolic link "%s" is not found.', $symbolic_link));
×
27
    }
28
}
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

© 2025 Coveralls, Inc