drupal_autoload_test_trait.sh

Test traits for code registry testing.

This file has a non-standard extension to prevent PHP < 5.4 testbots from trying to run a syntax check on it. @todo Use a standard extension once the testbots allow it. See https://www.drupal.org/node/2589649.

File

modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh

View source
  1. <?php
  2. /**
  3. * @file
  4. * Test traits for code registry testing.
  5. *
  6. * This file has a non-standard extension to prevent PHP < 5.4 testbots from
  7. * trying to run a syntax check on it.
  8. * @todo Use a standard extension once the testbots allow it. See
  9. * https://www.drupal.org/node/2589649.
  10. */
  11. /**
  12. * This trait is empty because we only care if Drupal can find it.
  13. */
  14. trait DrupalAutoloadTestTrait {}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.