Skip to content

Commit 6ec37ba

Browse files
committed
Minor spacing CS adjustments
Fixes: ``` FILE: ...n/test/unit/SourceLocator/SourceStubber/PhpStormStubsSourceStubberTest.php Time: 7.21 secs; Memory: 74MB -------------------------------------------------------------------------------- FOUND 2 ERRORS AFFECTING 2 LINES -------------------------------------------------------------------------------- 770 | ERROR | [x] Equals sign not aligned with surrounding assignments; | | expected 48 spaces but found 1 space | | (Generic.Formatting.MultipleStatementAlignment.NotSame) 775 | ERROR | [x] Equals sign not aligned with surrounding assignments; | | expected 49 spaces but found 1 space | | (Generic.Formatting.MultipleStatementAlignment.NotSame) -------------------------------------------------------------------------------- PHPCBF CAN FIX THE 2 MARKED SNIFF VIOLATIONS AUTOMATICALLY -------------------------------------------------------------------------------- ```
1 parent d7f8065 commit 6ec37ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

test/unit/SourceLocator/SourceStubber/PhpStormStubsSourceStubberTest.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -768,14 +768,17 @@ public function testUpdateConstantValue(): void
768768
$stubDirectoryReflection->setValue($sourceStubber, __DIR__ . '/../../Fixture');
769769

770770
$classMapReflection = $stubberReflection->getProperty('classMap');
771+
771772
$classMapValue = $classMapReflection->getValue();
772773
$classMapValue['roave\betterreflectiontest\fixture\fakeconstants'] = 'fakeconstants/FakeConstantsStub.php';
773774
$classMapReflection->setValue($classMapReflection, $classMapValue);
774775

775776
$constantMapReflection = $stubberReflection->getProperty('constantMap');
777+
776778
$constantMapValue = $constantMapReflection->getValue();
777779
$constantMapValue['define_constant'] = 'fakeconstants/FakeConstantsStub.php';
778780
$constantMapValue['roave\betterreflectiontest\fixture\const_constant'] = 'fakeconstants/FakeConstantsStub.php';
781+
779782
$constantMapReflection->setValue($constantMapReflection, $constantMapValue);
780783

781784
$classConstantStub = $sourceStubber->generateClassStub('Roave\BetterReflectionTest\Fixture\FakeConstants');

0 commit comments

Comments
 (0)