[fr] Follow #729

Updated docs to use 2.4 in the composer.json example