diff options
| author | Nils Adermann <naderman@naderman.de> | 2013-09-17 16:15:44 +0200 |
|---|---|---|
| committer | Nils Adermann <naderman@naderman.de> | 2013-09-17 16:15:44 +0200 |
| commit | c4b53490ad93566914cbc280910c67b75346a665 (patch) | |
| tree | 206652fbbe1a3d0f3871a5342eef0b519773a079 /tests/extension/ext/vendor/moo | |
| parent | d12f35885539c8bd7d2d795d9fc5638d022698bb (diff) | |
| download | forums-c4b53490ad93566914cbc280910c67b75346a665.tar forums-c4b53490ad93566914cbc280910c67b75346a665.tar.gz forums-c4b53490ad93566914cbc280910c67b75346a665.tar.bz2 forums-c4b53490ad93566914cbc280910c67b75346a665.tar.xz forums-c4b53490ad93566914cbc280910c67b75346a665.zip | |
[ticket/11700] Correctly load extensions with nonprefixed namespaces
PHPBB3-11700
Diffstat (limited to 'tests/extension/ext/vendor/moo')
| -rw-r--r-- | tests/extension/ext/vendor/moo/ext.php | 4 | ||||
| -rw-r--r-- | tests/extension/ext/vendor/moo/feature_class.php | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/tests/extension/ext/vendor/moo/ext.php b/tests/extension/ext/vendor/moo/ext.php index 82657ece77..41ef570452 100644 --- a/tests/extension/ext/vendor/moo/ext.php +++ b/tests/extension/ext/vendor/moo/ext.php @@ -1,6 +1,8 @@ <?php -class phpbb_ext_vendor_moo_ext extends \phpbb\extension\base +namespace vendor\moo; + +class ext extends \phpbb\extension\base { static public $purged; diff --git a/tests/extension/ext/vendor/moo/feature_class.php b/tests/extension/ext/vendor/moo/feature_class.php index c3bcc4451c..cb8bb3da56 100644 --- a/tests/extension/ext/vendor/moo/feature_class.php +++ b/tests/extension/ext/vendor/moo/feature_class.php @@ -1,5 +1,7 @@ <?php -class phpbb_ext_vendor_moo_feature_class +namespace vendor\moo; + +class feature_class { } |
