Skip to content

Commit

Permalink
Fixed CS
Browse files Browse the repository at this point in the history
  • Loading branch information
webmozart committed Jul 17, 2015
1 parent 99ed10b commit 49f9073
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 5 deletions.
3 changes: 2 additions & 1 deletion src/Glob.php
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
* before calling the much more expensive {@link preg_match()}.
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class Glob
Expand Down Expand Up @@ -163,7 +164,7 @@ public static function match($path, $glob, $flags = 0)
* must not contain any "." or ".." segments. Use the
* "webmozart/path-util" utility to canonicalize
* globs prior to calling this method.
* @param int $flags A bitwise combination of the flag constants in
* @param int $flags A bitwise combination of the flag constants in
* this class.
*
* @return string[] The paths matching the glob indexed by their original
Expand Down
2 changes: 2 additions & 0 deletions src/Iterator/GlobFilterIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
* Filters an iterator by a glob.
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @see Glob
*/
class GlobFilterIterator extends RegexFilterIterator
Expand Down
2 changes: 2 additions & 0 deletions src/Iterator/GlobIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@
* Returns filesystem paths matching a glob.
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @see Glob
*/
class GlobIterator extends GlobFilterIterator
Expand Down
1 change: 1 addition & 0 deletions src/Iterator/RecursiveDirectoryIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
* See https://bugs.php.net/bug.php?id=68557
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class RecursiveDirectoryIterator implements RecursiveIterator, SeekableIterator
Expand Down
2 changes: 2 additions & 0 deletions src/Iterator/RegexFilterIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@
* Filters an iterator by a regular expression.
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*
* @see Glob
*/
class RegexFilterIterator extends FilterIterator
Expand Down
1 change: 1 addition & 0 deletions src/Symbol.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
* Contains symbol constants.
*
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
final class Symbol
Expand Down
4 changes: 3 additions & 1 deletion tests/GlobTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

/**
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class GlobTest extends PHPUnit_Framework_TestCase
Expand All @@ -25,7 +26,8 @@ class GlobTest extends PHPUnit_Framework_TestCase

protected function setUp()
{
while (false === @mkdir($this->tempDir = sys_get_temp_dir().'/webmozart-glob/GlobTest'.rand(10000, 99999), 0777, true)) {}
while (false === @mkdir($this->tempDir = sys_get_temp_dir().'/webmozart-glob/GlobTest'.rand(10000, 99999), 0777, true)) {
}

$filesystem = new Filesystem();
$filesystem->mirror(__DIR__.'/Fixtures', $this->tempDir);
Expand Down
5 changes: 3 additions & 2 deletions tests/Iterator/GlobIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

/**
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class GlobIteratorTest extends PHPUnit_Framework_TestCase
Expand All @@ -28,13 +29,13 @@ class GlobIteratorTest extends PHPUnit_Framework_TestCase

protected function setUp()
{
while (false === @mkdir($this->tempDir = sys_get_temp_dir().'/webmozart-glob/GlobIteratorTest'.rand(10000, 99999), 0777, true)) {}
while (false === @mkdir($this->tempDir = sys_get_temp_dir().'/webmozart-glob/GlobIteratorTest'.rand(10000, 99999), 0777, true)) {
}

$filesystem = new Filesystem();
$filesystem->mirror(__DIR__.'/../Fixtures', $this->tempDir);

$this->tempFile = tempnam(sys_get_temp_dir(), 'webmozart_GlobIteratorTest');

}

protected function tearDown()
Expand Down
4 changes: 3 additions & 1 deletion tests/Iterator/RecursiveDirectoryIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

/**
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class RecursiveDirectoryIteratorTest extends PHPUnit_Framework_TestCase
Expand All @@ -26,7 +27,8 @@ class RecursiveDirectoryIteratorTest extends PHPUnit_Framework_TestCase

protected function setUp()
{
while (false === mkdir($this->tempDir = sys_get_temp_dir().'/webmozart-glob/RecursiveDirectoryIteratorTest'.rand(10000, 99999), 0777, true)) {}
while (false === mkdir($this->tempDir = sys_get_temp_dir().'/webmozart-glob/RecursiveDirectoryIteratorTest'.rand(10000, 99999), 0777, true)) {
}

$filesystem = new Filesystem();
$filesystem->mirror(__DIR__.'/../Fixtures', $this->tempDir);
Expand Down
1 change: 1 addition & 0 deletions tests/Iterator/RegexFilterIteratorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

/**
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class RegexFilterIteratorTest extends PHPUnit_Framework_TestCase
Expand Down
1 change: 1 addition & 0 deletions tests/TestStreamWrapper.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

/**
* @since 1.0
*
* @author Bernhard Schussek <bschussek@gmail.com>
*/
class TestStreamWrapper
Expand Down

0 comments on commit 49f9073

Please sign in to comment.