FriendsOfBehat / ExcludeSpecificationsExtension

[WIP] :water_buffalo: Allows to skip specific features or scenarios while executing Behat tests.
MIT License
11 stars 6 forks source link

SpecificationLocator::locateSpecifications() should return SpecificationIterator #13

Closed pamil closed 7 years ago

pamil commented 7 years ago

SpecificationLocator::locateSpecifications() should return SpecificationIterator but it doesn't.

It still works because \FilterIterator proxies unknown methods to the decorated iterator (which indeed implements SpecificationIterator), but will fail if any other userland code tries to typehint it as SpecificationIterator.