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

sineflow / clamav / 17156707618

22 Aug 2025 01:18PM UTC coverage: 76.106% (+1.1%) from 75.0%
17156707618

push

github

pmishev
Updated github actions

86 of 113 relevant lines covered (76.11%)

50.26 hits per line

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

55.56
/src/Exception/FileScanException.php
1
<?php
2

3
namespace Sineflow\ClamAV\Exception;
4

5
class FileScanException extends \RuntimeException
6
{
7
    /**
8
     * @var string
9
     */
10
    private $fileName;
11

12
    /**
13
     * @var string
14
     */
15
    private $errorMessage;
16

17
    /**
18
     * @param string $fileName
19
     * @param string $errorMessage
20
     */
21
    public function __construct(string $fileName, string $errorMessage)
54✔
22
    {
23
        $this->fileName = $fileName;
54✔
24
        $this->errorMessage = $errorMessage;
54✔
25
        $message = sprintf('Error scanning "%s": %s', $fileName, $errorMessage);
54✔
26

27
        parent::__construct($message);
54✔
28
    }
29

30
    /**
31
     * @return string
32
     */
33
    public function getFileName(): string
×
34
    {
35
        return $this->fileName;
×
36
    }
37

38
    /**
39
     * @return string
40
     */
41
    public function getErrorMessage(): string
×
42
    {
43
        return $this->errorMessage;
×
44
    }
45
}
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