Skip to content

Commit 07b0c58

Browse files
GrahamCampbellfabpot
authored andcommitted
[2.3] CS And DocBlock Fixes
1 parent 727a84d commit 07b0c58

File tree

5 files changed

+12
-13
lines changed

5 files changed

+12
-13
lines changed

Comparator/NumberComparator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@
2727
*
2828
* @author Fabien Potencier <[email protected]> PHP port
2929
* @author Richard Clamp <[email protected]> Perl version
30-
*
3130
* @copyright 2004-2005 Fabien Potencier <[email protected]>
3231
* @copyright 2002 Richard Clamp <[email protected]>
3332
*

Iterator/RecursiveDirectoryIterator.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
use Symfony\Component\Finder\SplFileInfo;
1616

1717
/**
18-
* Extends the \RecursiveDirectoryIterator to support relative paths
18+
* Extends the \RecursiveDirectoryIterator to support relative paths.
1919
*
2020
* @author Victor Berchet <[email protected]>
2121
*/
@@ -51,7 +51,7 @@ public function __construct($path, $flags, $ignoreUnreadableDirs = false)
5151
}
5252

5353
/**
54-
* Return an instance of SplFileInfo with support for relative paths
54+
* Return an instance of SplFileInfo with support for relative paths.
5555
*
5656
* @return SplFileInfo File information
5757
*/
@@ -87,7 +87,7 @@ public function getChildren()
8787
}
8888

8989
/**
90-
* Do nothing for non rewindable stream
90+
* Do nothing for non rewindable stream.
9191
*/
9292
public function rewind()
9393
{

SplFileInfo.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
namespace Symfony\Component\Finder;
1313

1414
/**
15-
* Extends \SplFileInfo to support relative paths
15+
* Extends \SplFileInfo to support relative paths.
1616
*
1717
* @author Fabien Potencier <[email protected]>
1818
*/
@@ -22,7 +22,7 @@ class SplFileInfo extends \SplFileInfo
2222
private $relativePathname;
2323

2424
/**
25-
* Constructor
25+
* Constructor.
2626
*
2727
* @param string $file The file name
2828
* @param string $relativePath The relative path
@@ -36,7 +36,7 @@ public function __construct($file, $relativePath, $relativePathname)
3636
}
3737

3838
/**
39-
* Returns the relative path
39+
* Returns the relative path.
4040
*
4141
* @return string the relative path
4242
*/
@@ -46,7 +46,7 @@ public function getRelativePath()
4646
}
4747

4848
/**
49-
* Returns the relative path name
49+
* Returns the relative path name.
5050
*
5151
* @return string the relative path name
5252
*/
@@ -56,7 +56,7 @@ public function getRelativePathname()
5656
}
5757

5858
/**
59-
* Returns the contents of the file
59+
* Returns the contents of the file.
6060
*
6161
* @return string the contents of the file
6262
*

Tests/Expression/RegexTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ public function testHasFlags($regex, $start, $end)
2323
$expr = new Expression($regex);
2424

2525
$this->assertEquals($start, $expr->getRegex()->hasStartFlag());
26-
$this->assertEquals($end, $expr->getRegex()->hasEndFlag());
26+
$this->assertEquals($end, $expr->getRegex()->hasEndFlag());
2727
}
2828

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

3636
$this->assertEquals($start, $expr->getRegex()->hasStartJoker());
37-
$this->assertEquals($end, $expr->getRegex()->hasEndJoker());
37+
$this->assertEquals($end, $expr->getRegex()->hasEndJoker());
3838
}
3939

4040
/**

Tests/Iterator/IteratorTestCase.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ protected function assertOrderedIteratorForGroups($expected, \Traversable $itera
6060
}
6161

6262
/**
63-
* Same as IteratorTestCase::assertIterator with foreach usage
63+
* Same as IteratorTestCase::assertIterator with foreach usage.
6464
*
6565
* @param array $expected
6666
* @param \Traversable $iterator
@@ -80,7 +80,7 @@ protected function assertIteratorInForeach($expected, \Traversable $iterator)
8080
}
8181

8282
/**
83-
* Same as IteratorTestCase::assertOrderedIterator with foreach usage
83+
* Same as IteratorTestCase::assertOrderedIterator with foreach usage.
8484
*
8585
* @param array $expected
8686
* @param \Traversable $iterator

0 commit comments

Comments
 (0)