diff --git a/.php_cs.dist b/.php_cs.dist index afe1118..f379602 100644 --- a/.php_cs.dist +++ b/.php_cs.dist @@ -9,6 +9,7 @@ return PhpCsFixer\Config::create() ->setRules([ '@Symfony' => true, 'array_syntax' => ['syntax' => 'short'], + 'phpdoc_align' => ['align' => 'left'], ]) ->setFinder($finder) ; diff --git a/src/Entity/Client.php b/src/Entity/Client.php index ff2961c..156fcfa 100644 --- a/src/Entity/Client.php +++ b/src/Entity/Client.php @@ -17,7 +17,7 @@ class Client implements RecipientInterface use RecipientTrait; /** - * Client genders + * Client genders. */ const GENDER_FEMALE = 'F'; const GENDER_MALE = 'M'; diff --git a/src/Form/DataTransformer/HouseholdToUuidTransformer.php b/src/Form/DataTransformer/HouseholdToUuidTransformer.php index 478bafd..bc765d1 100644 --- a/src/Form/DataTransformer/HouseholdToUuidTransformer.php +++ b/src/Form/DataTransformer/HouseholdToUuidTransformer.php @@ -37,7 +37,7 @@ public function transform($household): string /** * Transforms a UUID to a Household entity. * - * @throws TransformationFailedException if Household is not found. + * @throws TransformationFailedException if Household is not found */ public function reverseTransform($uuid) { diff --git a/tests/BaseUnitTestCase.php b/tests/BaseUnitTestCase.php index 91f5869..dbbada7 100644 --- a/tests/BaseUnitTestCase.php +++ b/tests/BaseUnitTestCase.php @@ -28,7 +28,6 @@ public function tearDown(): void * Set a protected property's value by reflection. * * @param object $object - * @param string $property * @param mixed $value */ protected function setPropertyValue($object, string $property, $value): ReflectionProperty