Skip to content

Commit

Permalink
Merge pull request #21 from #18
Browse files Browse the repository at this point in the history
chore(style): update source code formatting accorging to PSR-12
  • Loading branch information
ThorstenSuckow committed May 3, 2023
2 parents 2a3c140 + 32fa4b5 commit 045b180
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion src/Mail/Client/Data/MailAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ private static function escapeName(string $name): string
$regex = '/(,|"|\')/m';

if (preg_match($regex, $name) === 1) {
return '"'.addslashes($name).'"' ;
return '"' . addslashes($name) . '"' ;
}
return $name;
}
Expand Down
2 changes: 0 additions & 2 deletions tests/Mail/Client/Data/MailAddressTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,4 @@ public function testCopy()
$this->assertSame($address1->getName(), $mailAddress->getName());
$this->assertNotSame($address1, $mailAddress);
}


}

0 comments on commit 045b180

Please sign in to comment.