Revert "Formatter - static isFlagged method"

This reverts commit 04ba5ca287ff619fc1fecbd30e7bd003f58ca50b.
Formatter - Passed class to preg_replace_callback