Code Coverage |
||||||||||||||||
Lines |
Branches |
Paths |
Functions and Methods |
Classes and Traits |
||||||||||||
| Total | n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
|||||
| 1 | <?php |
| 2 | |
| 3 | namespace App\Repository; |
| 4 | |
| 5 | use App\Entity\NotificationLog; |
| 6 | use App\Enum\NotificationLogStatus; |
| 7 | |
| 8 | /** |
| 9 | * @author Wilhelm Zwertvaegher |
| 10 | */ |
| 11 | interface NotificationLogRepositoryInterface |
| 12 | { |
| 13 | /** |
| 14 | * @return array<NotificationLog> |
| 15 | */ |
| 16 | public function findByNotificationId(int $notificationId): array; |
| 17 | |
| 18 | /** |
| 19 | * @return array<NotificationLog> |
| 20 | */ |
| 21 | public function findByNotificationIdAndSenderAndStatus(int $notificationId, string $sender, NotificationLogStatus $status): array; |
| 22 | |
| 23 | /** |
| 24 | * @return array<NotificationLog> |
| 25 | */ |
| 26 | public function findByNotificationIdAndStatus(int $notificationId, NotificationLogStatus $status): array; |
| 27 | |
| 28 | public function hasSuccess(int $notificationId, string $sender): bool; |
| 29 | } |
Below are the source code lines that represent each code path as identified by Xdebug. Please note a path is not
necessarily coterminous with a line, a line may contain multiple paths and therefore show up more than once.
Please also be aware that some paths may include implicit rather than explicit branches, e.g. an if statement
always has an else as part of its logical flow even if you didn't write one.
| 3 | namespace App\Repository; |
| 4 | |
| 5 | use App\Entity\NotificationLog; |
| 6 | use App\Enum\NotificationLogStatus; |
| 7 | |
| 8 | /** |
| 9 | * @author Wilhelm Zwertvaegher |
| 10 | */ |
| 11 | interface NotificationLogRepositoryInterface |
| 12 | { |
| 13 | /** |
| 14 | * @return array<NotificationLog> |
| 15 | */ |
| 16 | public function findByNotificationId(int $notificationId): array; |
| 17 | |
| 18 | /** |
| 19 | * @return array<NotificationLog> |
| 20 | */ |
| 21 | public function findByNotificationIdAndSenderAndStatus(int $notificationId, string $sender, NotificationLogStatus $status): array; |
| 22 | |
| 23 | /** |
| 24 | * @return array<NotificationLog> |
| 25 | */ |
| 26 | public function findByNotificationIdAndStatus(int $notificationId, NotificationLogStatus $status): array; |
| 27 | |
| 28 | public function hasSuccess(int $notificationId, string $sender): bool; |