Use Ambient Declarations 

https://github.com/scrutinizer-ci/scrutinizer/issues/274
https://groups.google.com/forum/#!msg/php-fig/eg-wnQTASds/9p6sCE3urXkJ