diff options
| author | Cesar G <prototech91@gmail.com> | 2013-12-12 04:29:48 -0800 |
|---|---|---|
| committer | Cesar G <prototech91@gmail.com> | 2013-12-12 10:52:51 -0800 |
| commit | 31234b26d892bb4d98c9bc869d340a8ccf3cfe88 (patch) | |
| tree | 435d11d23051c7a6eb086380e795927464c96f2b /tests/extension/ext/vendor3/bar | |
| parent | 4d65727accb097641f72e8bf24c5a194873affc7 (diff) | |
| download | forums-31234b26d892bb4d98c9bc869d340a8ccf3cfe88.tar forums-31234b26d892bb4d98c9bc869d340a8ccf3cfe88.tar.gz forums-31234b26d892bb4d98c9bc869d340a8ccf3cfe88.tar.bz2 forums-31234b26d892bb4d98c9bc869d340a8ccf3cfe88.tar.xz forums-31234b26d892bb4d98c9bc869d340a8ccf3cfe88.zip | |
[ticket/12009] Move valid extensions in tests to correct dir structure.
PHPBB3-12009
Diffstat (limited to 'tests/extension/ext/vendor3/bar')
3 files changed, 34 insertions, 0 deletions
diff --git a/tests/extension/ext/vendor3/bar/ext.php b/tests/extension/ext/vendor3/bar/ext.php new file mode 100644 index 0000000000..37a5e92059 --- /dev/null +++ b/tests/extension/ext/vendor3/bar/ext.php @@ -0,0 +1,26 @@ +<?php + +namespace vendor3\bar; + +class ext extends \phpbb\extension\base +{ + static public $state; + + public function enable_step($old_state) + { + // run 4 steps, then quit + if ($old_state === 4) + { + return false; + } + + if ($old_state === false) + { + $old_state = 0; + } + + self::$state = ++$old_state; + + return self::$state; + } +} diff --git a/tests/extension/ext/vendor3/bar/my/hidden_class.php b/tests/extension/ext/vendor3/bar/my/hidden_class.php new file mode 100644 index 0000000000..38eb59aadf --- /dev/null +++ b/tests/extension/ext/vendor3/bar/my/hidden_class.php @@ -0,0 +1,7 @@ +<?php + +namespace vendor3\bar\my; + +class hidden_class +{ +} diff --git a/tests/extension/ext/vendor3/bar/styles/prosilver/template/foobar_body.html b/tests/extension/ext/vendor3/bar/styles/prosilver/template/foobar_body.html new file mode 100644 index 0000000000..00c2a84a18 --- /dev/null +++ b/tests/extension/ext/vendor3/bar/styles/prosilver/template/foobar_body.html @@ -0,0 +1 @@ +bertie rules! |
