laravel/framework — pull request #5729 by lucasmichot (2014-09-14 13:43:25+00:00)
Title: [4.2] Suport Str : minor tweak

words : no need to used 2 separate conditions
snake : `$replace` does not need to be set that early