Skip to content

Commit 0bfdb11

Browse files
committed
Apply operator_linebreak PHP-CS-Fixer rule
1 parent 1c2651f commit 0bfdb11

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

DependencyInjection/AbstractDoctrineExtension.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -305,14 +305,14 @@ private function detectMappingType(string $directory, ContainerBuilder $containe
305305
$content = file_get_contents($file);
306306

307307
if (
308-
preg_match('/^#\[.*'.$quotedMappingObjectName.'\b/m', $content) ||
309-
preg_match('/^#\[.*Embeddable\b/m', $content)
308+
preg_match('/^#\[.*'.$quotedMappingObjectName.'\b/m', $content)
309+
|| preg_match('/^#\[.*Embeddable\b/m', $content)
310310
) {
311311
break;
312312
}
313313
if (
314-
preg_match('/^(?: \*|\/\*\*) @.*'.$quotedMappingObjectName.'\b/m', $content) ||
315-
preg_match('/^(?: \*|\/\*\*) @.*Embeddable\b/m', $content)
314+
preg_match('/^(?: \*|\/\*\*) @.*'.$quotedMappingObjectName.'\b/m', $content)
315+
|| preg_match('/^(?: \*|\/\*\*) @.*Embeddable\b/m', $content)
316316
) {
317317
$type = 'annotation';
318318
break;

0 commit comments

Comments
 (0)