PSR-2 code sample folowing #2167

update other languages code example.

I did all language even if some of them are not updated. If you think it's a bad idea I can do it only for french