Style Guide - 7.x-1.0

Test status
StatusResult
Last receivedFri, 12/21/2012 - 18:21:42
Last requestedFri, 12/21/2012 - 18:22:09
Last testedFri, 12/21/2012 - 18:22:19
Test count4
Environment status
MySQLfail
Code reviewfail
Overall Resultfail
Branch information
Identifier7.x-1.0
ProjectStyle Guide
LinkProject information
SummaryFAILED: [[Coder]]: [Code review] Invalid PHP syntax in styleguide.api.php; [[SimpleTest]]: [MySQL] Invalid PHP syntax in sites/default/modules/styleguide/styleguide.api.php.
Details

MySQL

  1. Setup environment
  2. Detect an invalid patch URL
  3. Detect invalid repository information
  4. Detect invalid patch format
  5. Detect a non-applicable patch
  6. Detect invalid PHP syntax
    Check the syntax of your PHP files.
  7. Detect a Drupal installation failure
  8. Detect a test run failure
  9. Detect a failing test
  10. Complete test suite with all tests passing
Review log
[11:20:02] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_206308.pifr_simpletest.1356114002.log)
[11:20:02] Review timestamp: (Fri, 12/21/2012 - 11:20)
[11:20:02] Review host: (drupaltestbot813)
[11:20:02] Operations:Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

[11:20:02] Result Codes: Array
(
    [fail] => 9
    [pass] => 10
)

[11:20:02] Environment variables and review information initialized.
[11:20:02] core_url = [git://git.drupal.org/project/drupal.git];  Test repository = [git://git.drupal.org/project/styleguide.git]
[11:20:02] Project directory is [styleguide]
[11:20:02] Review started.
[11:20:02] Test: Array
(
    [test_id] => 206308
    [review] => Array
        (
            [plugin] => pifr_simpletest
            [argument] => Array
                (
                    [test.title] => 
                    [test.directory.review] => Array
                        (
                            [0] => sites/default/modules/styleguide
                        )

                    [test.directory.apply] => 
                    [test.directory.dependency] => 
                    [test.files] => Array
                        (
                        )

                    [test.extensions] => Array
                        (
                            [0] => php
                            [1] => inc
                            [2] => install
                            [3] => module
                            [4] => test
                        )

                    [drupal.core.version] => 7
                    [drupal.core.url] => git://git.drupal.org/project/drupal.git
                    [drupal.modules] => Array
                        (
                        )

                    [drupal.user] => admin
                    [drupal.pass] => 
                    [drupal.variables] => Array
                        (
                        )

                    [simpletest.tests] => Array
                        (
                        )

                    [simpletest.db] => 
                )

        )

    [vcs] => Array
        (
            [main] => Array
                (
                    [repository] => Array
                        (
                            [type] => git
                            [url] => git://git.drupal.org/project/drupal.git
                        )

                    [vcs_identifier] => 7.x
                )

            [dependencies] => Array
                (
                    [1] => Array
                        (
                            [repository] => Array
                                (
                                    [type] => git
                                    [url] => git://git.drupal.org/project/styleguide.git
                                )

                            [vcs_identifier] => 7.x-1.0
                        )

                )

        )

    [files] => Array
        (
        )

)

[11:20:02] Operations: Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => install
    [7] => review
)

[11:20:02] Invoking operation [setup]...
[11:20:02] Command [chmod -R u+rw sites/default/files/checkout 2>&1] succeeded.
[11:20:02] Command [rm -rf sites/default/files/checkout 2>&1] succeeded.
[11:20:02] Command [rm -rf sites/default/files/review 2>&1] succeeded.
[11:20:02] Database backend [mysql] loaded.
[11:20:02] Invoking operation [fetch]...
[11:20:02] Invoking operation [checkout]...
[11:20:02] Version control system backend [git] loaded.
[11:20:04] Command [git clone 'git://git.drupal.org/project/drupal.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded.
[11:20:04] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '7.x' 2>&1] succeeded.
[11:20:05] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded.
[11:20:05] Command [git --work-tree='checkout' --git-dir='checkout/.git' log --oneline -1 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files]
  Completion status: [0]
  Output: [93c0701 Merge branch '7.17-security' into 7.x].
[11:20:05] Main branch [7.x] checkout [complete].
[11:20:12] Command [git clone 'git://git.drupal.org/project/styleguide.git' '/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/styleguide' --reference /var/cache/git/reference 2>&1] succeeded.
[11:20:12] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/styleguide' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/styleguide/.git' checkout '7.x-1.0' 2>&1] succeeded.
[11:20:12] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/styleguide' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/styleguide/.git' status 2>&1] succeeded.
[11:20:12] Command [git --work-tree='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/styleguide' --git-dir='/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules/styleguide/.git' log --oneline -1 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files/checkout/sites/default/modules]
  Completion status: [0]
  Output: [22435dd -- Fixes default page callback.].
[11:20:12] Dependency branch [7.x-1.0] checkout [complete].
[11:20:12] Invoking operation [check]...
[11:20:12] Ignoring operation [check].
[11:20:12] Invoking operation [apply]...
[11:20:12] Ignoring operation [apply].
[11:20:12] Invoking operation [syntax]...
[11:20:12] Command [php -l -f './sites/default/modules/styleguide/styleguide.theme.inc' 2>&1] succeeded.
[11:20:12] Command [php -l -f './sites/default/modules/styleguide/styleguide.module' 2>&1] succeeded.
[11:20:12] Command [php -l -f './sites/default/modules/styleguide/styleguide.styleguide.inc' 2>&1] succeeded.
[11:20:12] Command [php -l -f './sites/default/modules/styleguide/styleguide.api.php' 2>&1] failed
  Duration 0 seconds
  Directory [/var/lib/drupaltestbot/sites/default/files/checkout]
  Status [255]
 Output: [PHP Parse error:  syntax error, unexpected T_DOUBLE_ARROW in ./sites/default/modules/styleguide/styleguide.api.php on line 43

Parse error: syntax error, unexpected T_DOUBLE_ARROW in ./sites/default/modules/styleguide/styleguide.api.php on line 43
Errors parsing ./sites/default/modules/styleguide/styleguide.api.php].
[11:20:12] Encountered error on [syntax], details:
array (
  '@filename' => 'sites/default/modules/styleguide/styleguide.api.php',
)
[11:20:12] Review complete. test_id=206308 result code=6 details=Array
(
    [@filename] => sites/default/modules/styleguide/styleguide.api.php
)

[11:20:12] Static variables reset.

Code review

  1. Setup environment
  2. Detect an invalid patch URL
  3. Detect invalid repository information
  4. Detect invalid patch format
  5. Detect a non-applicable patch
  6. Detect invalid PHP syntax
    Check the syntax of your PHP files.
  7. Detect a review run failure
  8. Detect coder flags
  9. Complete coder review with all passed
Review log
[11:20:01] Log initialized (/var/lib/drupaltestbot/sites/default/files/review.test_206308.pifr_coder.1356114001.log)
[11:20:01] Review timestamp: (Fri, 12/21/2012 - 11:20)
[11:20:01] Review host: (drupaltestbot983-mysql)
[11:20:01] Operations:Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => review
)

[11:20:01] Result Codes: Array
(
    [fail] => 8
    [pass] => 9
)

[11:20:01] Environment variables and review information initialized.
[11:20:01] core_url = [git://git.drupal.org/project/drupal.git];  Test repository = [git://git.drupal.org/project/styleguide.git]
[11:20:01] Review started.
[11:20:01] Test: Array
(
    [test_id] => 206308
    [review] => Array
        (
            [plugin] => pifr_coder
            [argument] => Array
                (
                    [test.title] => 
                    [test.directory.review] => Array
                        (
                            [0] => sites/default/modules/styleguide
                        )

                    [test.directory.apply] => 
                    [test.directory.dependency] => 
                    [test.files] => Array
                        (
                        )

                    [test.extensions] => Array
                        (
                            [0] => php
                            [1] => inc
                            [2] => install
                            [3] => module
                            [4] => test
                        )

                    [drupal.core.version] => 7
                    [drupal.core.url] => git://git.drupal.org/project/drupal.git
                    [drupal.modules] => Array
                        (
                        )

                    [drupal.user] => admin
                    [drupal.pass] => 
                    [drupal.variables] => Array
                        (
                        )

                    [coder.annotate] => 
                    [coder.reviews] => Array
                        (
                            [0] => comment
                            [1] => sql
                            [2] => i18n
                            [3] => style
                            [4] => security
                        )

                    [advisory] => 1
                )

        )

    [vcs] => Array
        (
            [main] => Array
                (
                    [repository] => Array
                        (
                            [type] => git
                            [url] => git://git.drupal.org/project/styleguide.git
                        )

                    [vcs_identifier] => 7.x-1.0
                )

            [dependencies] => Array
                (
                    [0] => Array
                        (
                            [repository] => Array
                                (
                                    [type] => git
                                    [url] => git://git.drupal.org/project/drupal.git
                                )

                            [vcs_identifier] => 7.x
                        )

                )

        )

    [files] => Array
        (
        )

)

[11:20:01] Operations: Array
(
    [0] => setup
    [1] => fetch
    [2] => checkout
    [3] => check
    [4] => apply
    [5] => syntax
    [6] => review
)

[11:20:01] Invoking operation [setup]...
[11:20:01] Command [chmod -R u+rw sites/default/files/checkout 2>&1] succeeded.
[11:20:01] Command [rm -rf sites/default/files/checkout 2>&1] succeeded.
[11:20:01] Command [rm -rf sites/default/files/review 2>&1] succeeded.
[11:20:01] Database backend [mysql] loaded.
[11:20:01] Invoking operation [fetch]...
[11:20:01] Invoking operation [checkout]...
[11:20:01] Version control system backend [git] loaded.
[11:20:09] Command [git clone 'git://git.drupal.org/project/styleguide.git' 'checkout' --reference /var/cache/git/reference 2>&1] succeeded.
[11:20:09] Command [git --work-tree='checkout' --git-dir='checkout/.git' checkout '7.x-1.0' 2>&1] succeeded.
[11:20:09] Command [git --work-tree='checkout' --git-dir='checkout/.git' status 2>&1] succeeded.
[11:20:09] Command [git --work-tree='checkout' --git-dir='checkout/.git' log --oneline -1 2>&1] succeeded
  Duration: 0 seconds
  Directory: [/var/lib/drupaltestbot/sites/default/files]
  Completion status: [0]
  Output: [22435dd -- Fixes default page callback.].
[11:20:09] Main branch [7.x-1.0] checkout [complete].
[11:20:09] Invoking operation [check]...
[11:20:09] Ignoring operation [check].
[11:20:09] Invoking operation [apply]...
[11:20:09] Ignoring operation [apply].
[11:20:09] Invoking operation [syntax]...
[11:20:09] Command [php -l -f './styleguide.theme.inc' 2>&1] succeeded.
[11:20:09] Command [php -l -f './styleguide.module' 2>&1] succeeded.
[11:20:09] Command [php -l -f './styleguide.api.php' 2>&1] failed
  Duration 0 seconds
  Directory [/var/lib/drupaltestbot/sites/default/files/checkout]
  Status [255]
 Output: [PHP Parse error:  syntax error, unexpected T_DOUBLE_ARROW in ./styleguide.api.php on line 43

Parse error: syntax error, unexpected T_DOUBLE_ARROW in ./styleguide.api.php on line 43
Errors parsing ./styleguide.api.php].
[11:20:09] Encountered error on [syntax], details:
array (
  '@filename' => 'styleguide.api.php',
)
[11:20:09] Review complete. test_id=206308 result code=6 details=Array
(
    [@filename] => styleguide.api.php
)

[11:20:09] Static variables reset.