RFI would be:
require $_POST['x'];
require $foo;
require SOME_BAR_CONST;
After a short search I found no solution but what about this?
require parse_url( $foo, PHP_URL_PATH );
It would be great if the EasyRFISniff has some kind of "EasyRFINotice" severity when the dynamic includes seem to be escaped like this.