Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
11 | public function run(File\FindReplace $findReplace): void |
||
12 | { |
||
13 | $findReplace->findReplace( |
||
14 | 'use EdmondsCommerce\DoctrineStaticMeta\Entity as DSM;', |
||
15 | "use EdmondsCommerce\DoctrineStaticMeta\Entity as DSM;\n" . |
||
16 | 'use ' . UuidPrimaryKeyInterface::class . ';' |
||
17 | )->findReplace( |
||
18 | ' DSM\Interfaces\EntityInterface', |
||
19 | " DSM\Interfaces\EntityInterface,\n UuidPrimaryKeyInterface" |
||
20 | ); |
||
23 |