undefined function __ when using cakephp
hi
I've using cakephp and it declares lang strings like:
<?php __('test string') ;?>
__ is showing as an undefined function;
how do I add this as an exception to that it doesn't show as an error please?
Please sign in to leave a comment.
PhpStorm doesn't support CakePHP officially. You may try to use : http://stackoverflow.com/a/16960985 or http://blog.hwarf.com/2011/08/configure-phpstorm-to-auto-complete.html , check if it helps.
I know there's no offical support. I was just wondering if there was a way to get phpstorm to ignore __() as being a problem - Ie some kind of exception list i could add it to.
You can suppress it for the file: http://i.imgur.com/QbXeEMz.png