eloquent / phony

Mocks, stubs, and spies for PHP.
http://eloquent-software.com/phony
MIT License
194 stars 7 forks source link

Possible future issue with global function mocking. #234

Closed jmalloc closed 5 years ago

jmalloc commented 6 years ago

This RFC proposes that 'fallback to root scope' be removed deprecated in PHP 7.3.

ezzatron commented 6 years ago

Cheers, will have to keep an eye on that. Thankfully, there's already a section discussing alternatives in the documentation: http://eloquent-software.com/phony/latest/#alternatives-for-stubbing-global-functions

ezzatron commented 5 years ago

Well, 7.3 was released today, and this RFC is still "under discussion". No changes needed yet.

ezzatron commented 5 years ago

Closing until this rears its head again.