Total Complexity | 3 |
Total Lines | 30 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
16 | final class Transaction extends AbstractPdoTransaction |
||
17 | { |
||
18 | /** |
||
19 | * Sets the isolation level of the current transaction. |
||
20 | * |
||
21 | * @param string $level The transaction isolation level to use for this transaction. |
||
22 | * |
||
23 | * @see \Yiisoft\Db\Transaction\TransactionInterface::READ_UNCOMMITTED |
||
24 | * @see \Yiisoft\Db\Transaction\TransactionInterface::SERIALIZABLE |
||
25 | * |
||
26 | * @throws Exception |
||
27 | * @throws InvalidConfigException |
||
28 | * @throws NotSupportedException |
||
29 | * @throws Throwable When unsupported isolation levels are used. SQLite only supports `SERIALIZABLE` |
||
30 | * and `READ UNCOMMITTED`. |
||
31 | * |
||
32 | * @link http://www.sqlite.org/pragma.html#pragma_read_uncommitted |
||
33 | */ |
||
34 | 4 | protected function setTransactionIsolationLevel(string $level): void |
|
50 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths