Skip to content

Commit

Permalink
Merge branch '2.6' into 2.7
Browse files Browse the repository at this point in the history
* 2.6:
  [2.3] CS And DocBlock Fixes
  [2.3] CS Fixes
  [FrameworkBundle] Fixed Translation loader and update translation command.
  [Console] remove « use » statement for PHP built-in exception classes.
  [SecurityBundle] adds unit tests suite for SecurityDataCollector class.

Conflicts:
	src/Symfony/Bundle/SecurityBundle/DataCollector/SecurityDataCollector.php
  • Loading branch information
fabpot committed Dec 22, 2014
2 parents 5f69e63 + b3f0147 commit 3163e33
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 13 deletions.
1 change: 0 additions & 1 deletion Comparator/NumberComparator.php
Expand Up @@ -27,7 +27,6 @@
*
* @author Fabien Potencier <fabien@symfony.com> PHP port
* @author Richard Clamp <richardc@unixbeard.net> Perl version
*
* @copyright 2004-2005 Fabien Potencier <fabien@symfony.com>
* @copyright 2002 Richard Clamp <richardc@unixbeard.net>
*
Expand Down
6 changes: 3 additions & 3 deletions Iterator/RecursiveDirectoryIterator.php
Expand Up @@ -15,7 +15,7 @@
use Symfony\Component\Finder\SplFileInfo;

/**
* Extends the \RecursiveDirectoryIterator to support relative paths
* Extends the \RecursiveDirectoryIterator to support relative paths.
*
* @author Victor Berchet <victor@suumit.com>
*/
Expand Down Expand Up @@ -51,7 +51,7 @@ public function __construct($path, $flags, $ignoreUnreadableDirs = false)
}

/**
* Return an instance of SplFileInfo with support for relative paths
* Return an instance of SplFileInfo with support for relative paths.
*
* @return SplFileInfo File information
*/
Expand Down Expand Up @@ -87,7 +87,7 @@ public function getChildren()
}

/**
* Do nothing for non rewindable stream
* Do nothing for non rewindable stream.
*/
public function rewind()
{
Expand Down
10 changes: 5 additions & 5 deletions SplFileInfo.php
Expand Up @@ -12,7 +12,7 @@
namespace Symfony\Component\Finder;

/**
* Extends \SplFileInfo to support relative paths
* Extends \SplFileInfo to support relative paths.
*
* @author Fabien Potencier <fabien@symfony.com>
*/
Expand All @@ -22,7 +22,7 @@ class SplFileInfo extends \SplFileInfo
private $relativePathname;

/**
* Constructor
* Constructor.
*
* @param string $file The file name
* @param string $relativePath The relative path
Expand All @@ -36,7 +36,7 @@ public function __construct($file, $relativePath, $relativePathname)
}

/**
* Returns the relative path
* Returns the relative path.
*
* @return string the relative path
*/
Expand All @@ -46,7 +46,7 @@ public function getRelativePath()
}

/**
* Returns the relative path name
* Returns the relative path name.
*
* @return string the relative path name
*/
Expand All @@ -56,7 +56,7 @@ public function getRelativePathname()
}

/**
* Returns the contents of the file
* Returns the contents of the file.
*
* @return string the contents of the file
*
Expand Down
4 changes: 2 additions & 2 deletions Tests/Expression/RegexTest.php
Expand Up @@ -23,7 +23,7 @@ public function testHasFlags($regex, $start, $end)
$expr = new Expression($regex);

$this->assertEquals($start, $expr->getRegex()->hasStartFlag());
$this->assertEquals($end, $expr->getRegex()->hasEndFlag());
$this->assertEquals($end, $expr->getRegex()->hasEndFlag());
}

/**
Expand All @@ -34,7 +34,7 @@ public function testHasJokers($regex, $start, $end)
$expr = new Expression($regex);

$this->assertEquals($start, $expr->getRegex()->hasStartJoker());
$this->assertEquals($end, $expr->getRegex()->hasEndJoker());
$this->assertEquals($end, $expr->getRegex()->hasEndJoker());
}

/**
Expand Down
4 changes: 2 additions & 2 deletions Tests/Iterator/IteratorTestCase.php
Expand Up @@ -60,7 +60,7 @@ protected function assertOrderedIteratorForGroups($expected, \Traversable $itera
}

/**
* Same as IteratorTestCase::assertIterator with foreach usage
* Same as IteratorTestCase::assertIterator with foreach usage.
*
* @param array $expected
* @param \Traversable $iterator
Expand All @@ -80,7 +80,7 @@ protected function assertIteratorInForeach($expected, \Traversable $iterator)
}

/**
* Same as IteratorTestCase::assertOrderedIterator with foreach usage
* Same as IteratorTestCase::assertOrderedIterator with foreach usage.
*
* @param array $expected
* @param \Traversable $iterator
Expand Down

0 comments on commit 3163e33

Please sign in to comment.