summaryrefslogtreecommitdiff
path: root/modules/simpletest/tests/drupal_autoload_test/drupal_autoload_test_trait.sh
diff options
context:
space:
mode:
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.sh16
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 {}