Skip to content

Commit

Permalink
Merge branch '3.x'
Browse files Browse the repository at this point in the history
* 3.x:
  Updated latest version to "3.3.1"
  Updated dev-master alias to latest version
  Updated CHANGELOG
  Fixed passing of flags
  Checked result value of glob()

Conflicts:
	CHANGELOG.md
	src/Iterator/GlobIterator.php
  • Loading branch information
webmozart committed Dec 23, 2015
2 parents 74131af + b898d06 commit 446d522
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Changelog
* added argument `$delimiter` to `Glob::toRegEx()`
* removed `Symbol` class

* 3.3.1 (2015-12-23)

* checked return value of `glob()`

* 3.3.0 (2015-12-23)

* improved globbing performance by falling back to PHP's `glob()` function
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
Webmozart Glob
==============

[![Build Status](https://travis-ci.org/webmozart/glob.svg?branch=master)](https://travis-ci.org/webmozart/glob)
[![Build Status](https://travis-ci.org/webmozart/glob.svg?branch=3.3.1)](https://travis-ci.org/webmozart/glob)
[![Build status](https://ci.appveyor.com/api/projects/status/das6j3x0org6219m/branch/master?svg=true)](https://ci.appveyor.com/project/webmozart/glob/branch/master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/webmozart/glob/badges/quality-score.png?b=master)](https://scrutinizer-ci.com/g/webmozart/glob/?branch=master)
[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/webmozart/glob/badges/quality-score.png?b=3.3.1)](https://scrutinizer-ci.com/g/webmozart/glob/?branch=3.3.1)
[![Latest Stable Version](https://poser.pugx.org/webmozart/glob/v/stable.svg)](https://packagist.org/packages/webmozart/glob)
[![Total Downloads](https://poser.pugx.org/webmozart/glob/downloads.svg)](https://packagist.org/packages/webmozart/glob)
[![Dependency Status](https://www.versioneye.com/php/webmozart:glob/3.3.0/badge.svg)](https://www.versioneye.com/php/webmozart:glob/3.3.0)
[![Dependency Status](https://www.versioneye.com/php/webmozart:glob/3.3.1/badge.svg)](https://www.versioneye.com/php/webmozart:glob/3.3.1)

Latest release: [3.3.0](https://packagist.org/packages/webmozart/glob#3.3.0)
Latest release: [3.3.1](https://packagist.org/packages/webmozart/glob#3.3.1)

A utility implementing Ant-like globbing.

Expand Down
2 changes: 1 addition & 1 deletion src/Iterator/GlobIterator.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ class GlobIterator extends IteratorIterator
*/
public function __construct($glob, $flags = 0)
{
$basePath = Glob::getBasePath($glob);
$basePath = Glob::getBasePath($glob, $flags);

if (!Glob::isDynamic($glob) && file_exists($glob)) {
// If the glob is a file path, return that path
Expand Down

0 comments on commit 446d522

Please sign in to comment.