Issues (22)

MessageBus/CommitTransactionInterface.php (1 issue)

1
<?php
2
3
declare(strict_types=1);
4
5
/**
6
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
7
 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
8
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
9
 *
10
 * Copyright (c) 2024 Mykhailo Shtanko [email protected]
11
 *
12
 * For the full copyright and license information, please view the LICENSE.MD
13
 * file that was distributed with this source code.
14
 */
15
16
namespace FRZB\Component\TransactionalMessenger\MessageBus;
17
18
use FRZB\Component\DependencyInjection\Attribute\AsAlias;
0 ignored issues
show
The type FRZB\Component\Dependenc...ction\Attribute\AsAlias was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
19
use FRZB\Component\TransactionalMessenger\Enum\CommitType;
20
use FRZB\Component\TransactionalMessenger\Exception\MessageBusException;
21
22
#[AsAlias(TransactionalMessageBus::class)]
23
interface CommitTransactionInterface
24
{
25
    /** @throws MessageBusException */
26
    public function commit(CommitType ...$commitTypes): void;
27
}
28