I don't understan why grep doesn't work in the first example
bla@ble:~/html/example$ grep -r "protected $disallowedBlockNames = array('install/end');" app/
bla@ble:~/html/example$
But
bla@ble:~/html/example$ grep -r 'protected $disallowedBlockNames = array' app/
app/Resource/Block.php: protected $disallowedBlockNames = array('install/end');