Refactoring out common method between fixers.

Extracted replacePlaceholder into AbstractFixer.

Addresses FriendsOfPHP/PHP-CS-Fixer#801