2016년 4월 22일 금요일

[PhpStrom] include 또는 require 파일에 선언한 변수에 대한 undefined 메시지 설정


환경설정에서 Editor > Inspections > PHP > Undefined > Undefined variable 로 접근하면
우측에 Ignore 'include' and 'require' statements 가 활성화 되어있을 겁니다.
(위 사진은 체크를 해제하여 비활성화가 된 상태입니다.)

해당 옵션을 체크 해제해서 비활성화 하면 include나 require 에서 선언된 변수에 대해서는 더 이상 undefined 메시지를 에디터가 출력하지 않습니다.

댓글 없음: