dancryer / PHPCI

PHPCI is a free and open source continuous integration tool specifically designed for PHP.
BSD 2-Clause "Simplified" License
2.42k stars 441 forks source link

Better regex (allow more than two extensions) #1293

Closed richardjh closed 7 years ago

richardjh commented 7 years ago

Contribution Type: bug fix Link to Intent to Implement: Link to Bug:

This pull request affects the following areas:

In raising this pull request, I confirm the following (please check boxes):

Detailed description of change: The changes made in https://github.com/Block8/PHPCI/pull/1290 checks that the extensions passed in from config are a comma delimited string, but it only allowed one or two extensions.

php would be okay php, html would be okay php, html, phtml would be considered to not be valid.

This pull request fixes that.