Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed when real file is in a sym linked directory. #6

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions flymake-phpcs.el
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
;;; flymake-phpcs.el --- Flymake handler for PHP to invoke PHP-CodeSniffer
;;
;; Copyright (C) 2011-2012 Free Software Foundation, Inc.
;; Copyright (C) 2011-2012, 2014 Free Software Foundation, Inc.
;;
;; Author: Sam Graham <libflymake-phpcs-emacs BLAHBLAH illusori.co.uk>
;; Maintainer: Sam Graham <libflymake-phpcs-emacs BLAHBLAH illusori.co.uk>
Expand Down Expand Up @@ -55,7 +55,7 @@
'flymake-create-temp-copy
'flymake-create-temp-inplace)))
(local-file (file-relative-name temp-file
(file-name-directory buffer-file-name))))
(file-name-directory (file-truename buffer-file-name)))))
(list flymake-phpcs-command
(append
(list local-file)
Expand Down