Skip to content

Commit

Permalink
Merge pull request sonata-project#953 from greg0ire/typo
Browse files Browse the repository at this point in the history
spell the name of our framework right
  • Loading branch information
core23 committed Feb 19, 2016
2 parents ac295e5 + f3a3542 commit 972ef88
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
/**
* SecurityContextCompilerPass.
*
* This compiler pass provides compatibility with Syfmony < 2.6 security.context service
* This compiler pass provides compatibility with Symfony < 2.6 security.context service
* and 2.6+ security.authorization_checker service. This pass may be removed when support
* for Symfony < 2.6 is dropped.
*/
Expand Down
4 changes: 2 additions & 2 deletions Tests/Security/RolesDownloadStrategyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ public function testIsGrantedTrue()
$request = $this->getMock('Symfony\Component\HttpFoundation\Request');
$translator = $this->getMock('Symfony\Component\Translation\TranslatorInterface');

// Prefer the Syfmony 2.6+ API if available
// Prefer the Symfony 2.6+ API if available
if (interface_exists('Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface')) {
$security = $this->getMock('Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface');
} else {
Expand All @@ -44,7 +44,7 @@ public function testIsGrantedFalse()
$request = $this->getMock('Symfony\Component\HttpFoundation\Request');
$translator = $this->getMock('Symfony\Component\Translation\TranslatorInterface');

// Prefer the Syfmony 2.6+ API if available
// Prefer the Symfony 2.6+ API if available
if (interface_exists('Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface')) {
$security = $this->getMock('Symfony\Component\Security\Core\Authorization\AuthorizationCheckerInterface');
} else {
Expand Down
4 changes: 2 additions & 2 deletions Tests/Validator/FormatValidatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public function testValidate()
$gallery->expects($this->once())->method('getDefaultFormat')->will($this->returnValue('format1'));
$gallery->expects($this->once())->method('getContext')->will($this->returnValue('test'));

// Prefer the Syfmony 2.5+ API if available
// Prefer the Symfony 2.5+ API if available
if (class_exists('Symfony\Component\Validator\Context\ExecutionContext')) {
$contextClass = 'Symfony\Component\Validator\Context\ExecutionContext';
} else {
Expand All @@ -51,7 +51,7 @@ public function testValidateWithValidContext()
$gallery->expects($this->once())->method('getDefaultFormat')->will($this->returnValue('format1'));
$gallery->expects($this->once())->method('getContext')->will($this->returnValue('test'));

// Prefer the Syfmony 2.5+ API if available
// Prefer the Symfony 2.5+ API if available
if (class_exists('Symfony\Component\Validator\Context\ExecutionContext')) {
$contextClass = 'Symfony\Component\Validator\Context\ExecutionContext';
} else {
Expand Down

0 comments on commit 972ef88

Please sign in to comment.