Used `default-directory` as fallback if `buffer-file-name` us not set.
Used `(buffer-name)` as fallback if `buffer-file-name` us not set.
Fixed typo in latest commit.
Updated phpcs patterns to new flycheck format.
Merge pull request #39 from xendk/develop

Updated phpcs patterns to new flycheck format.