when drush cc drupal project gives me }
. somewhere in code bracket }
much.
i have more 1000 php files. there way find easily?
drush cc } cache cleared in /opt/drupal web [success]
i work on ubuntu , use phpstorm
if issue in 1 of php files, might use automated code-checking tool. php cli offers php -l
option. otherwise, can use phplint: http://www.icosaedro.it/phplint/
edit: instance, ubuntu terminal, might use command following *.module
files:
find . -name "*.module" -exec php -l {} \;
(you can add more extensions find
command if necessary, see https://superuser.com/questions/416425/using-find-for-multiple-file-extensions details.
hope helps,
Comments
Post a Comment