antonioribeiro / support

Support Classes
BSD 3-Clause "New" or "Revised" License
59 stars 49 forks source link

AspectMock fix #5

Closed przemekperon closed 8 years ago

przemekperon commented 8 years ago

When mocking ZipCode with Aspectmock there's an error in pragmarx/support:

syntax error, unexpected 'as' (T_AS) in /vendor/pragmarx/support/src/Environment.php on line 55

Here's a simple fix that solves the problem with AspectMock.

Reference: https://github.com/Codeception/AspectMock/issues/68