Skip to content

Conversation

@TysonAndre
Copy link
Contributor

Noticed test failures for pgsql.phpunit.xml in the drupal project's test
files. (contains the substring ".php").
That also included foo.php.gz

Also, do the matching on the path name, not on the object to string
conversion.

Noticed test failures for pgsql.phpunit.xml in the drupal project's test
files. (contains the substring ".php")

Also, do the matching on the path name, not on the object to string
conversion.
@msftclas
Copy link

@TysonAndre,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by Microsoft. We will now review your pull request.
Thanks,
Microsoft Pull Request Bot

foreach (new RecursiveIteratorIterator($iterator) as $file) {
if (strpos($file, ".php") !== false) {
$pathName = $file->getPathname();
if (preg_match('@\.php$@', $pathName) > 0) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you use / as the regex delimiter instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@roblourens roblourens merged commit fc98829 into microsoft:master Sep 20, 2017
@roblourens
Copy link
Member

Thanks!

@TysonAndre TysonAndre deleted the fix-misc-framework-errors branch June 19, 2018 02:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants