Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-2043

Parse error in domainDump.php and test_with_parse_error.php

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Won't Fix
    • Affects Version/s: 1.7
    • Fix Version/s: 1.8
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      In the following files a parse error is detected by eclipse development tool while running civicrm with drupal but the application runs fine :

      1. /civicrm/packages/simpletest/test/test_with_parse_error.php

      //parser error public private or protected modifier is expected for field declerations

      2. /civicrm/bin/domainDump.php
      // parser error ; expected after static expression

      test_with_parse_error.php

      <?php

      class TestCaseWithParseError extends UnitTestCase

      { wibble // parser error public private or protected modifier is expected for field declerations }

      ?>

      domainDump.php

      <?php

      $domainFKEY = array ('civicrm_contact')

      ); // ; expected after expression

      static function contact( $args ) / / parser error ; expected after static expression

      ?>

        Attachments

          Activity

            People

            • Assignee:
              shailesh Shailesh Lende
              Reporter:
              wisdom shewaferaw
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: