diff options
author | David Rothstein <drothstein@gmail.com> | 2015-10-12 23:32:29 -0400 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2015-10-12 23:32:29 -0400 |
commit | 183a425c551969d4f56b04766fca82819a2a7b15 (patch) | |
tree | 08a4a9651b71c031133e2c7b508bc908793d62c9 /modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh | |
parent | f12effc70c835e77bfdea394214df9247533d319 (diff) | |
download | brdo-183a425c551969d4f56b04766fca82819a2a7b15.tar.gz brdo-183a425c551969d4f56b04766fca82819a2a7b15.tar.bz2 |
Issue #2508055 by Dave Reid, David_Rothstein, hussainweb: Add support for autoloading Traits
Diffstat (limited to 'modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh')
-rw-r--r-- | modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh new file mode 100644 index 000000000..69ce9ec08 --- /dev/null +++ b/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh @@ -0,0 +1,16 @@ +<?php + +/** + * @file + * 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. + */ + +/** + * This trait is empty because we only care if Drupal can find it. + */ +trait DrupalAutoloadTestTrait {} |