As I work with coder there are several modules that won't parse with the grammar parser based version of coder. I thought it could be useful to document these both so that folks running coder/coder_upgrade on a whole site will know which modules to skip AND so someone with interest/time could work on making them parse.

  • Views
  • Ctools
  • Display suite
  • Examples
  • filefield_sources
  • i18n
  • location
  • menu_block
  • search_api
  • Webform

I feel like I've had successes with parsing some like context and ctools, but they are causing problems right now. Maybe it's version specific?

There are some which simply take a long time and can cause a wsod. If I get a WSOD or other issue, my technique to compare what is working vs. failed is:

  cd Sites/scanner/sites/scan.dev/files/coder_upgrade/
  ls -1 old > old.txt 
  ls -1 patch/ > patch.txt 
  sed -i '' 's/\.patch//' patch.txt
  diff patch.txt old.txt 

Comments

aendra’s picture

Highslide has this issue. coder_upgrade fails with the following error:

Error: Call to undefined function highslide_formatters() in /Users/aendrew/Sites/drupal-7.x-dev/sites/all/modules/coder/coder_upgrade/conversions/begin.inc(143)
: eval()'d code, line 40

If you're having issues with coder_upgrade giving errorless WSODs, try the drush command at #780034: coder-upgrade drush command.

aendra’s picture

Issue summary: View changes

adding to the list

klausi’s picture

Issue summary: View changes
Status: Active » Closed (won't fix)

Coder 7.x-1.x is frozen now and will not receive any updates. Coder 8.x-2.x can be used to check code for any Drupal version, Coder 8.x-2.x also supports the phpcbf command to automatically fix conding standard errors. Please check if this issue is still relevant and reopen against that version if necessary.