Fix typos.
use translation for attribute for replaceAfter and replaceBefore
Make --optimize optional for composer dump-autoload
Merge pull request #3707 from GrahamCampbell/4.1-validator

[4.1] Validator After Before
Merge pull request #3708 from antonioribeiro/antonioribeiro/psr-option-2

Make --optimize optional for composer dump-autoload
Spacing.