summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--UserFunctions/.gitignore1
-rw-r--r--UserFunctions/CODE_OF_CONDUCT.md2
-rw-r--r--UserFunctions/UserFunctions.php2
-rw-r--r--UserFunctions/composer.json21
-rw-r--r--UserFunctions/composer.lock273
-rw-r--r--UserFunctions/gitinfo.json2
-rw-r--r--UserFunctions/i18n/ar.json8
-rw-r--r--UserFunctions/i18n/tr.json8
-rw-r--r--UserFunctions/package.json2
-rw-r--r--UserFunctions/vendor/autoload.php7
-rw-r--r--UserFunctions/vendor/composer/ClassLoader.php413
-rw-r--r--UserFunctions/vendor/composer/autoload_classmap.php10
-rw-r--r--UserFunctions/vendor/composer/autoload_files.php10
-rw-r--r--UserFunctions/vendor/composer/autoload_namespaces.php9
-rw-r--r--UserFunctions/vendor/composer/autoload_psr4.php10
-rw-r--r--UserFunctions/vendor/composer/autoload_real.php70
-rw-r--r--UserFunctions/vendor/composer/installed.json121
-rw-r--r--UserFunctions/vendor/composer/installers/.editorconfig10
-rw-r--r--UserFunctions/vendor/composer/installers/.gitignore3
-rw-r--r--UserFunctions/vendor/composer/installers/.travis.yml32
-rw-r--r--UserFunctions/vendor/composer/installers/LICENSE19
-rw-r--r--UserFunctions/vendor/composer/installers/README.md218
-rw-r--r--UserFunctions/vendor/composer/installers/composer.json102
-rw-r--r--UserFunctions/vendor/composer/installers/phpunit.xml.dist25
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/AglInstaller.php21
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php49
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php136
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php126
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php83
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php13
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php35
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php21
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php50
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php16
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php16
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php9
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php9
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/GravInstaller.php30
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php25
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/Installer.php201
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php15
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php9
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php9
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php10
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php9
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php16
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php9
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php50
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php111
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php57
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php46
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php59
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php9
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php21
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php32
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php10
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php22
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php60
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php36
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php26
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php16
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php38
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php12
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php14
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php10
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php9
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php11
-rw-r--r--UserFunctions/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php10
-rw-r--r--UserFunctions/vendor/composer/installers/src/bootstrap.php13
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php79
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php115
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php89
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php63
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php536
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php66
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php66
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php44
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php63
-rw-r--r--UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php64
-rw-r--r--UserFunctions/vendor/composer/installers/tests/bootstrap.php4
-rw-r--r--UserFunctions/version6
90 files changed, 39 insertions, 4222 deletions
diff --git a/UserFunctions/.gitignore b/UserFunctions/.gitignore
index e62fc28b..9dfe80b1 100644
--- a/UserFunctions/.gitignore
+++ b/UserFunctions/.gitignore
@@ -1,5 +1,6 @@
node_modules/
vendor/
+composer.lock
.svn
*~
diff --git a/UserFunctions/CODE_OF_CONDUCT.md b/UserFunctions/CODE_OF_CONDUCT.md
index d8e5d087..498acf76 100644
--- a/UserFunctions/CODE_OF_CONDUCT.md
+++ b/UserFunctions/CODE_OF_CONDUCT.md
@@ -1 +1 @@
-The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Code_of_Conduct).
+The development of this software is covered by a [Code of Conduct](https://www.mediawiki.org/wiki/Special:MyLanguage/Code_of_Conduct).
diff --git a/UserFunctions/UserFunctions.php b/UserFunctions/UserFunctions.php
index ea644436..f4714d49 100644
--- a/UserFunctions/UserFunctions.php
+++ b/UserFunctions/UserFunctions.php
@@ -57,7 +57,7 @@ call_user_func( function() {
'...'
),
'descriptionmsg' => 'userfunctions-desc',
- 'license-name' => 'GPL-2.0+'
+ 'license-name' => 'GPL-2.0-or-later'
);
$GLOBALS['wgAutoloadClasses']['ExtUserFunctions'] = __DIR__ .'/UserFunctions_body.php';
diff --git a/UserFunctions/composer.json b/UserFunctions/composer.json
index 245bc692..7ea613cd 100644
--- a/UserFunctions/composer.json
+++ b/UserFunctions/composer.json
@@ -7,22 +7,31 @@
"User"
],
"homepage": "https://www.mediawiki.org/wiki/Extension:UserFunctions",
- "license": "GPL-2.0+",
+ "license": "GPL-2.0-or-later",
"require": {
"php": ">=5.3.0",
"composer/installers": "1.*,>=1.0.1"
},
"autoload": {
- "files": ["UserFunctions.php"],
- "classmap": ["UserFunctions_body.php"]
+ "files": [
+ "UserFunctions.php"
+ ],
+ "classmap": [
+ "UserFunctions_body.php"
+ ]
},
"require-dev": {
- "jakub-onderka/php-parallel-lint": "0.9.2",
- "jakub-onderka/php-console-highlighter": "0.3.2"
+ "jakub-onderka/php-parallel-lint": "1.0.0",
+ "jakub-onderka/php-console-highlighter": "0.3.2",
+ "mediawiki/minus-x": "0.3.1"
},
"scripts": {
"test": [
- "parallel-lint . --exclude vendor"
+ "parallel-lint . --exclude vendor --exclude node_modules",
+ "minus-x check ."
+ ],
+ "fix": [
+ "minus-x fix ."
]
}
}
diff --git a/UserFunctions/composer.lock b/UserFunctions/composer.lock
deleted file mode 100644
index 9d77364b..00000000
--- a/UserFunctions/composer.lock
+++ /dev/null
@@ -1,273 +0,0 @@
-{
- "_readme": [
- "This file locks the dependencies of your project to a known state",
- "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
- "This file is @generated automatically"
- ],
- "hash": "d0a59e2d7d0ca4fec2d16750c5afc997",
- "content-hash": "2a8dbb4932e99ce8d49eec4234e5d1d4",
- "packages": [
- {
- "name": "composer/installers",
- "version": "v1.4.0",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/installers.git",
- "reference": "9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/installers/zipball/9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b",
- "reference": "9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0"
- },
- "replace": {
- "roundcube/plugin-installer": "*",
- "shama/baton": "*"
- },
- "require-dev": {
- "composer/composer": "1.0.*@dev",
- "phpunit/phpunit": "4.1.*"
- },
- "type": "composer-plugin",
- "extra": {
- "class": "Composer\\Installers\\Plugin",
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "autoload": {
- "psr-4": {
- "Composer\\Installers\\": "src/Composer/Installers"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kyle Robinson Young",
- "email": "kyle@dontkry.com",
- "homepage": "https://github.com/shama"
- }
- ],
- "description": "A multi-framework Composer library installer",
- "homepage": "https://composer.github.io/installers/",
- "keywords": [
- "Craft",
- "Dolibarr",
- "Eliasis",
- "Hurad",
- "ImageCMS",
- "Kanboard",
- "Lan Management System",
- "MODX Evo",
- "Mautic",
- "Maya",
- "OXID",
- "Plentymarkets",
- "Porto",
- "RadPHP",
- "SMF",
- "Thelia",
- "WolfCMS",
- "agl",
- "aimeos",
- "annotatecms",
- "attogram",
- "bitrix",
- "cakephp",
- "chef",
- "cockpit",
- "codeigniter",
- "concrete5",
- "croogo",
- "dokuwiki",
- "drupal",
- "eZ Platform",
- "elgg",
- "expressionengine",
- "fuelphp",
- "grav",
- "installer",
- "itop",
- "joomla",
- "kohana",
- "laravel",
- "lavalite",
- "lithium",
- "magento",
- "mako",
- "mediawiki",
- "modulework",
- "moodle",
- "osclass",
- "phpbb",
- "piwik",
- "ppi",
- "puppet",
- "reindex",
- "roundcube",
- "shopware",
- "silverstripe",
- "sydes",
- "symfony",
- "typo3",
- "wordpress",
- "yawik",
- "zend",
- "zikula"
- ],
- "time": "2017-08-09 07:53:48"
- }
- ],
- "packages-dev": [
- {
- "name": "jakub-onderka/php-console-color",
- "version": "0.1",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Console-Color.git",
- "reference": "e0b393dacf7703fc36a4efc3df1435485197e6c1"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Color/zipball/e0b393dacf7703fc36a4efc3df1435485197e6c1",
- "reference": "e0b393dacf7703fc36a4efc3df1435485197e6c1",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.2"
- },
- "require-dev": {
- "jakub-onderka/php-code-style": "1.0",
- "jakub-onderka/php-parallel-lint": "0.*",
- "jakub-onderka/php-var-dump-check": "0.*",
- "phpunit/phpunit": "3.7.*",
- "squizlabs/php_codesniffer": "1.*"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "JakubOnderka\\PhpConsoleColor": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Jakub Onderka",
- "email": "jakub.onderka@gmail.com",
- "homepage": "http://www.acci.cz"
- }
- ],
- "time": "2014-04-08 15:00:19"
- },
- {
- "name": "jakub-onderka/php-console-highlighter",
- "version": "v0.3.2",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Console-Highlighter.git",
- "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Console-Highlighter/zipball/7daa75df45242c8d5b75a22c00a201e7954e4fb5",
- "reference": "7daa75df45242c8d5b75a22c00a201e7954e4fb5",
- "shasum": ""
- },
- "require": {
- "jakub-onderka/php-console-color": "~0.1",
- "php": ">=5.3.0"
- },
- "require-dev": {
- "jakub-onderka/php-code-style": "~1.0",
- "jakub-onderka/php-parallel-lint": "~0.5",
- "jakub-onderka/php-var-dump-check": "~0.1",
- "phpunit/phpunit": "~4.0",
- "squizlabs/php_codesniffer": "~1.5"
- },
- "type": "library",
- "autoload": {
- "psr-0": {
- "JakubOnderka\\PhpConsoleHighlighter": "src/"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Jakub Onderka",
- "email": "acci@acci.cz",
- "homepage": "http://www.acci.cz/"
- }
- ],
- "time": "2015-04-20 18:58:01"
- },
- {
- "name": "jakub-onderka/php-parallel-lint",
- "version": "v0.9.2",
- "source": {
- "type": "git",
- "url": "https://github.com/JakubOnderka/PHP-Parallel-Lint.git",
- "reference": "2ead2e4043ab125bee9554f356e0a86742c2d4fa"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/JakubOnderka/PHP-Parallel-Lint/zipball/2ead2e4043ab125bee9554f356e0a86742c2d4fa",
- "reference": "2ead2e4043ab125bee9554f356e0a86742c2d4fa",
- "shasum": ""
- },
- "require": {
- "php": ">=5.3.3"
- },
- "require-dev": {
- "jakub-onderka/php-console-highlighter": "~0.3",
- "nette/tester": "~1.3"
- },
- "suggest": {
- "jakub-onderka/php-console-highlighter": "Highlight syntax in code snippet"
- },
- "bin": [
- "parallel-lint"
- ],
- "type": "library",
- "autoload": {
- "classmap": [
- "./"
- ]
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "BSD-2-Clause"
- ],
- "authors": [
- {
- "name": "Jakub Onderka",
- "email": "jakub.onderka@gmail.com"
- }
- ],
- "description": "This tool check syntax of PHP files about 20x faster than serial check.",
- "homepage": "https://github.com/JakubOnderka/PHP-Parallel-Lint",
- "time": "2015-12-15 10:42:16"
- }
- ],
- "aliases": [],
- "minimum-stability": "stable",
- "stability-flags": [],
- "prefer-stable": false,
- "prefer-lowest": false,
- "platform": {
- "php": ">=5.3.0"
- },
- "platform-dev": []
-}
diff --git a/UserFunctions/gitinfo.json b/UserFunctions/gitinfo.json
index bcc294f0..5231bb9e 100644
--- a/UserFunctions/gitinfo.json
+++ b/UserFunctions/gitinfo.json
@@ -1 +1 @@
-{"headSHA1": "5eda8c931cf73aed496288f22a3d85192913676e\n", "head": "5eda8c931cf73aed496288f22a3d85192913676e\n", "remoteURL": "https://gerrit.wikimedia.org/r/mediawiki/extensions/UserFunctions", "branch": "5eda8c931cf73aed496288f22a3d85192913676e\n", "headCommitDate": "1501059580"} \ No newline at end of file
+{"headSHA1": "bc716c9f885422efce6d35cd08d4ca34d21a01eb\n", "head": "bc716c9f885422efce6d35cd08d4ca34d21a01eb\n", "remoteURL": "https://gerrit.wikimedia.org/r/mediawiki/extensions/UserFunctions", "branch": "bc716c9f885422efce6d35cd08d4ca34d21a01eb\n", "headCommitDate": "1539259533"} \ No newline at end of file
diff --git a/UserFunctions/i18n/ar.json b/UserFunctions/i18n/ar.json
new file mode 100644
index 00000000..4d868ed5
--- /dev/null
+++ b/UserFunctions/i18n/ar.json
@@ -0,0 +1,8 @@
+{
+ "@metadata": {
+ "authors": [
+ "ديفيد"
+ ]
+ },
+ "userfunctions-desc": "تحسين محلل مع وظائف المستخدم"
+}
diff --git a/UserFunctions/i18n/tr.json b/UserFunctions/i18n/tr.json
new file mode 100644
index 00000000..3be7dfe1
--- /dev/null
+++ b/UserFunctions/i18n/tr.json
@@ -0,0 +1,8 @@
+{
+ "@metadata": {
+ "authors": [
+ "By erdo can"
+ ]
+ },
+ "userfunctions-desc": "Kullanıcı işlevleriyle derleyiciyi geliştirin"
+}
diff --git a/UserFunctions/package.json b/UserFunctions/package.json
index bcf5b133..e8e656f7 100644
--- a/UserFunctions/package.json
+++ b/UserFunctions/package.json
@@ -4,7 +4,7 @@
"test": "grunt test"
},
"devDependencies": {
- "grunt": "1.0.1",
+ "grunt": "1.0.3",
"grunt-banana-checker": "0.5.0",
"grunt-jsonlint": "1.1.0"
}
diff --git a/UserFunctions/vendor/autoload.php b/UserFunctions/vendor/autoload.php
deleted file mode 100644
index 6c1252d5..00000000
--- a/UserFunctions/vendor/autoload.php
+++ /dev/null
@@ -1,7 +0,0 @@
-<?php
-
-// autoload.php @generated by Composer
-
-require_once __DIR__ . '/composer' . '/autoload_real.php';
-
-return ComposerAutoloaderInit76f42e5ed2459038f40f17d7eef8723b::getLoader();
diff --git a/UserFunctions/vendor/composer/ClassLoader.php b/UserFunctions/vendor/composer/ClassLoader.php
deleted file mode 100644
index ff6ecfb8..00000000
--- a/UserFunctions/vendor/composer/ClassLoader.php
+++ /dev/null
@@ -1,413 +0,0 @@
-<?php
-
-/*
- * This file is part of Composer.
- *
- * (c) Nils Adermann <naderman@naderman.de>
- * Jordi Boggiano <j.boggiano@seld.be>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Composer\Autoload;
-
-/**
- * ClassLoader implements a PSR-0, PSR-4 and classmap class loader.
- *
- * $loader = new \Composer\Autoload\ClassLoader();
- *
- * // register classes with namespaces
- * $loader->add('Symfony\Component', __DIR__.'/component');
- * $loader->add('Symfony', __DIR__.'/framework');
- *
- * // activate the autoloader
- * $loader->register();
- *
- * // to enable searching the include path (eg. for PEAR packages)
- * $loader->setUseIncludePath(true);
- *
- * In this example, if you try to use a class in the Symfony\Component
- * namespace or one of its children (Symfony\Component\Console for instance),
- * the autoloader will first look for the class under the component/
- * directory, and it will then fallback to the framework/ directory if not
- * found before giving up.
- *
- * This class is loosely based on the Symfony UniversalClassLoader.
- *
- * @author Fabien Potencier <fabien@symfony.com>
- * @author Jordi Boggiano <j.boggiano@seld.be>
- * @see http://www.php-fig.org/psr/psr-0/
- * @see http://www.php-fig.org/psr/psr-4/
- */
-class ClassLoader
-{
- // PSR-4
- private $prefixLengthsPsr4 = array();
- private $prefixDirsPsr4 = array();
- private $fallbackDirsPsr4 = array();
-
- // PSR-0
- private $prefixesPsr0 = array();
- private $fallbackDirsPsr0 = array();
-
- private $useIncludePath = false;
- private $classMap = array();
-
- private $classMapAuthoritative = false;
-
- public function getPrefixes()
- {
- if (!empty($this->prefixesPsr0)) {
- return call_user_func_array('array_merge', $this->prefixesPsr0);
- }
-
- return array();
- }
-
- public function getPrefixesPsr4()
- {
- return $this->prefixDirsPsr4;
- }
-
- public function getFallbackDirs()
- {
- return $this->fallbackDirsPsr0;
- }
-
- public function getFallbackDirsPsr4()
- {
- return $this->fallbackDirsPsr4;
- }
-
- public function getClassMap()
- {
- return $this->classMap;
- }
-
- /**
- * @param array $classMap Class to filename map
- */
- public function addClassMap(array $classMap)
- {
- if ($this->classMap) {
- $this->classMap = array_merge($this->classMap, $classMap);
- } else {
- $this->classMap = $classMap;
- }
- }
-
- /**
- * Registers a set of PSR-0 directories for a given prefix, either
- * appending or prepending to the ones previously set for this prefix.
- *
- * @param string $prefix The prefix
- * @param array|string $paths The PSR-0 root directories
- * @param bool $prepend Whether to prepend the directories
- */
- public function add($prefix, $paths, $prepend = false)
- {
- if (!$prefix) {
- if ($prepend) {
- $this->fallbackDirsPsr0 = array_merge(
- (array) $paths,
- $this->fallbackDirsPsr0
- );
- } else {
- $this->fallbackDirsPsr0 = array_merge(
- $this->fallbackDirsPsr0,
- (array) $paths
- );
- }
-
- return;
- }
-
- $first = $prefix[0];
- if (!isset($this->prefixesPsr0[$first][$prefix])) {
- $this->prefixesPsr0[$first][$prefix] = (array) $paths;
-
- return;
- }
- if ($prepend) {
- $this->prefixesPsr0[$first][$prefix] = array_merge(
- (array) $paths,
- $this->prefixesPsr0[$first][$prefix]
- );
- } else {
- $this->prefixesPsr0[$first][$prefix] = array_merge(
- $this->prefixesPsr0[$first][$prefix],
- (array) $paths
- );
- }
- }
-
- /**
- * Registers a set of PSR-4 directories for a given namespace, either
- * appending or prepending to the ones previously set for this namespace.
- *
- * @param string $prefix The prefix/namespace, with trailing '\\'
- * @param array|string $paths The PSR-4 base directories
- * @param bool $prepend Whether to prepend the directories
- *
- * @throws \InvalidArgumentException
- */
- public function addPsr4($prefix, $paths, $prepend = false)
- {
- if (!$prefix) {
- // Register directories for the root namespace.
- if ($prepend) {
- $this->fallbackDirsPsr4 = array_merge(
- (array) $paths,
- $this->fallbackDirsPsr4
- );
- } else {
- $this->fallbackDirsPsr4 = array_merge(
- $this->fallbackDirsPsr4,
- (array) $paths
- );
- }
- } elseif (!isset($this->prefixDirsPsr4[$prefix])) {
- // Register directories for a new namespace.
- $length = strlen($prefix);
- if ('\\' !== $prefix[$length - 1]) {
- throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
- }
- $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
- $this->prefixDirsPsr4[$prefix] = (array) $paths;
- } elseif ($prepend) {
- // Prepend directories for an already registered namespace.
- $this->prefixDirsPsr4[$prefix] = array_merge(
- (array) $paths,
- $this->prefixDirsPsr4[$prefix]
- );
- } else {
- // Append directories for an already registered namespace.
- $this->prefixDirsPsr4[$prefix] = array_merge(
- $this->prefixDirsPsr4[$prefix],
- (array) $paths
- );
- }
- }
-
- /**
- * Registers a set of PSR-0 directories for a given prefix,
- * replacing any others previously set for this prefix.
- *
- * @param string $prefix The prefix
- * @param array|string $paths The PSR-0 base directories
- */
- public function set($prefix, $paths)
- {
- if (!$prefix) {
- $this->fallbackDirsPsr0 = (array) $paths;
- } else {
- $this->prefixesPsr0[$prefix[0]][$prefix] = (array) $paths;
- }
- }
-
- /**
- * Registers a set of PSR-4 directories for a given namespace,
- * replacing any others previously set for this namespace.
- *
- * @param string $prefix The prefix/namespace, with trailing '\\'
- * @param array|string $paths The PSR-4 base directories
- *
- * @throws \InvalidArgumentException
- */
- public function setPsr4($prefix, $paths)
- {
- if (!$prefix) {
- $this->fallbackDirsPsr4 = (array) $paths;
- } else {
- $length = strlen($prefix);
- if ('\\' !== $prefix[$length - 1]) {
- throw new \InvalidArgumentException("A non-empty PSR-4 prefix must end with a namespace separator.");
- }
- $this->prefixLengthsPsr4[$prefix[0]][$prefix] = $length;
- $this->prefixDirsPsr4[$prefix] = (array) $paths;
- }
- }
-
- /**
- * Turns on searching the include path for class files.
- *
- * @param bool $useIncludePath
- */
- public function setUseIncludePath($useIncludePath)
- {
- $this->useIncludePath = $useIncludePath;
- }
-
- /**
- * Can be used to check if the autoloader uses the include path to check
- * for classes.
- *
- * @return bool
- */
- public function getUseIncludePath()
- {
- return $this->useIncludePath;
- }
-
- /**
- * Turns off searching the prefix and fallback directories for classes
- * that have not been registered with the class map.
- *
- * @param bool $classMapAuthoritative
- */
- public function setClassMapAuthoritative($classMapAuthoritative)
- {
- $this->classMapAuthoritative = $classMapAuthoritative;
- }
-
- /**
- * Should class lookup fail if not found in the current class map?
- *
- * @return bool
- */
- public function isClassMapAuthoritative()
- {
- return $this->classMapAuthoritative;
- }
-
- /**
- * Registers this instance as an autoloader.
- *
- * @param bool $prepend Whether to prepend the autoloader or not
- */
- public function register($prepend = false)
- {
- spl_autoload_register(array($this, 'loadClass'), true, $prepend);
- }
-
- /**
- * Unregisters this instance as an autoloader.
- */
- public function unregister()
- {
- spl_autoload_unregister(array($this, 'loadClass'));
- }
-
- /**
- * Loads the given class or interface.
- *
- * @param string $class The name of the class
- * @return bool|null True if loaded, null otherwise
- */
- public function loadClass($class)
- {
- if ($file = $this->findFile($class)) {
- includeFile($file);
-
- return true;
- }
- }
-
- /**
- * Finds the path to the file where the class is defined.
- *
- * @param string $class The name of the class
- *
- * @return string|false The path if found, false otherwise
- */
- public function findFile($class)
- {
- // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
- if ('\\' == $class[0]) {
- $class = substr($class, 1);
- }
-
- // class map lookup
- if (isset($this->classMap[$class])) {
- return $this->classMap[$class];
- }
- if ($this->classMapAuthoritative) {
- return false;
- }
-
- $file = $this->findFileWithExtension($class, '.php');
-
- // Search for Hack files if we are running on HHVM
- if ($file === null && defined('HHVM_VERSION')) {
- $file = $this->findFileWithExtension($class, '.hh');
- }
-
- if ($file === null) {
- // Remember that this class does not exist.
- return $this->classMap[$class] = false;
- }
-
- return $file;
- }
-
- private function findFileWithExtension($class, $ext)
- {
- // PSR-4 lookup
- $logicalPathPsr4 = strtr($class, '\\', DIRECTORY_SEPARATOR) . $ext;
-
- $first = $class[0];
- if (isset($this->prefixLengthsPsr4[$first])) {
- foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
- if (0 === strpos($class, $prefix)) {
- foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
- return $file;
- }
- }
- }
- }
- }
-
- // PSR-4 fallback dirs
- foreach ($this->fallbackDirsPsr4 as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr4)) {
- return $file;
- }
- }
-
- // PSR-0 lookup
- if (false !== $pos = strrpos($class, '\\')) {
- // namespaced class name
- $logicalPathPsr0 = substr($logicalPathPsr4, 0, $pos + 1)
- . strtr(substr($logicalPathPsr4, $pos + 1), '_', DIRECTORY_SEPARATOR);
- } else {
- // PEAR-like class name
- $logicalPathPsr0 = strtr($class, '_', DIRECTORY_SEPARATOR) . $ext;
- }
-
- if (isset($this->prefixesPsr0[$first])) {
- foreach ($this->prefixesPsr0[$first] as $prefix => $dirs) {
- if (0 === strpos($class, $prefix)) {
- foreach ($dirs as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
- return $file;
- }
- }
- }
- }
- }
-
- // PSR-0 fallback dirs
- foreach ($this->fallbackDirsPsr0 as $dir) {
- if (file_exists($file = $dir . DIRECTORY_SEPARATOR . $logicalPathPsr0)) {
- return $file;
- }
- }
-
- // PSR-0 include paths.
- if ($this->useIncludePath && $file = stream_resolve_include_path($logicalPathPsr0)) {
- return $file;
- }
- }
-}
-
-/**
- * Scope isolated include.
- *
- * Prevents access to $this/self from included files.
- */
-function includeFile($file)
-{
- include $file;
-}
diff --git a/UserFunctions/vendor/composer/autoload_classmap.php b/UserFunctions/vendor/composer/autoload_classmap.php
deleted file mode 100644
index bbd631d8..00000000
--- a/UserFunctions/vendor/composer/autoload_classmap.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-// autoload_classmap.php @generated by Composer
-
-$vendorDir = dirname(dirname(__FILE__));
-$baseDir = dirname($vendorDir);
-
-return array(
- 'ExtUserFunctions' => $baseDir . '/UserFunctions_body.php',
-);
diff --git a/UserFunctions/vendor/composer/autoload_files.php b/UserFunctions/vendor/composer/autoload_files.php
deleted file mode 100644
index f2e06bbe..00000000
--- a/UserFunctions/vendor/composer/autoload_files.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-// autoload_files.php @generated by Composer
-
-$vendorDir = dirname(dirname(__FILE__));
-$baseDir = dirname($vendorDir);
-
-return array(
- '7bb4d66942ef8c1728c8f742a0d5639d' => $baseDir . '/UserFunctions.php',
-);
diff --git a/UserFunctions/vendor/composer/autoload_namespaces.php b/UserFunctions/vendor/composer/autoload_namespaces.php
deleted file mode 100644
index b7fc0125..00000000
--- a/UserFunctions/vendor/composer/autoload_namespaces.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-
-// autoload_namespaces.php @generated by Composer
-
-$vendorDir = dirname(dirname(__FILE__));
-$baseDir = dirname($vendorDir);
-
-return array(
-);
diff --git a/UserFunctions/vendor/composer/autoload_psr4.php b/UserFunctions/vendor/composer/autoload_psr4.php
deleted file mode 100644
index 12ea9ccc..00000000
--- a/UserFunctions/vendor/composer/autoload_psr4.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-// autoload_psr4.php @generated by Composer
-
-$vendorDir = dirname(dirname(__FILE__));
-$baseDir = dirname($vendorDir);
-
-return array(
- 'Composer\\Installers\\' => array($vendorDir . '/composer/installers/src/Composer/Installers'),
-);
diff --git a/UserFunctions/vendor/composer/autoload_real.php b/UserFunctions/vendor/composer/autoload_real.php
deleted file mode 100644
index c80676dd..00000000
--- a/UserFunctions/vendor/composer/autoload_real.php
+++ /dev/null
@@ -1,70 +0,0 @@
-<?php
-
-// autoload_real.php @generated by Composer
-
-class ComposerAutoloaderInit76f42e5ed2459038f40f17d7eef8723b
-{
- private static $loader;
-
- public static function loadClassLoader($class)
- {
- if ('Composer\Autoload\ClassLoader' === $class) {
- require __DIR__ . '/ClassLoader.php';
- }
- }
-
- public static function getLoader()
- {
- if (null !== self::$loader) {
- return self::$loader;
- }
-
- spl_autoload_register(array('ComposerAutoloaderInit76f42e5ed2459038f40f17d7eef8723b', 'loadClassLoader'), true, true);
- self::$loader = $loader = new \Composer\Autoload\ClassLoader();
- spl_autoload_unregister(array('ComposerAutoloaderInit76f42e5ed2459038f40f17d7eef8723b', 'loadClassLoader'));
-
- $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
- if ($useStaticLoader) {
- require_once __DIR__ . '/autoload_static.php';
-
- call_user_func(\Composer\Autoload\ComposerStaticInit76f42e5ed2459038f40f17d7eef8723b::getInitializer($loader));
- } else {
- $map = require __DIR__ . '/autoload_namespaces.php';
- foreach ($map as $namespace => $path) {
- $loader->set($namespace, $path);
- }
-
- $map = require __DIR__ . '/autoload_psr4.php';
- foreach ($map as $namespace => $path) {
- $loader->setPsr4($namespace, $path);
- }
-
- $classMap = require __DIR__ . '/autoload_classmap.php';
- if ($classMap) {
- $loader->addClassMap($classMap);
- }
- }
-
- $loader->register(true);
-
- if ($useStaticLoader) {
- $includeFiles = Composer\Autoload\ComposerStaticInit76f42e5ed2459038f40f17d7eef8723b::$files;
- } else {
- $includeFiles = require __DIR__ . '/autoload_files.php';
- }
- foreach ($includeFiles as $fileIdentifier => $file) {
- composerRequire76f42e5ed2459038f40f17d7eef8723b($fileIdentifier, $file);
- }
-
- return $loader;
- }
-}
-
-function composerRequire76f42e5ed2459038f40f17d7eef8723b($fileIdentifier, $file)
-{
- if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
- require $file;
-
- $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
- }
-}
diff --git a/UserFunctions/vendor/composer/installed.json b/UserFunctions/vendor/composer/installed.json
deleted file mode 100644
index 62fde783..00000000
--- a/UserFunctions/vendor/composer/installed.json
+++ /dev/null
@@ -1,121 +0,0 @@
-[
- {
- "name": "composer/installers",
- "version": "v1.4.0",
- "version_normalized": "1.4.0.0",
- "source": {
- "type": "git",
- "url": "https://github.com/composer/installers.git",
- "reference": "9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b"
- },
- "dist": {
- "type": "zip",
- "url": "https://api.github.com/repos/composer/installers/zipball/9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b",
- "reference": "9ce17fb70e9a38dd8acff0636a29f5cf4d575c1b",
- "shasum": ""
- },
- "require": {
- "composer-plugin-api": "^1.0"
- },
- "replace": {
- "roundcube/plugin-installer": "*",
- "shama/baton": "*"
- },
- "require-dev": {
- "composer/composer": "1.0.*@dev",
- "phpunit/phpunit": "4.1.*"
- },
- "time": "2017-08-09 07:53:48",
- "type": "composer-plugin",
- "extra": {
- "class": "Composer\\Installers\\Plugin",
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "installation-source": "dist",
- "autoload": {
- "psr-4": {
- "Composer\\Installers\\": "src/Composer/Installers"
- }
- },
- "notification-url": "https://packagist.org/downloads/",
- "license": [
- "MIT"
- ],
- "authors": [
- {
- "name": "Kyle Robinson Young",
- "email": "kyle@dontkry.com",
- "homepage": "https://github.com/shama"
- }
- ],
- "description": "A multi-framework Composer library installer",
- "homepage": "https://composer.github.io/installers/",
- "keywords": [
- "Craft",
- "Dolibarr",
- "Eliasis",
- "Hurad",
- "ImageCMS",
- "Kanboard",
- "Lan Management System",
- "MODX Evo",
- "Mautic",
- "Maya",
- "OXID",
- "Plentymarkets",
- "Porto",
- "RadPHP",
- "SMF",
- "Thelia",
- "WolfCMS",
- "agl",
- "aimeos",
- "annotatecms",
- "attogram",
- "bitrix",
- "cakephp",
- "chef",
- "cockpit",
- "codeigniter",
- "concrete5",
- "croogo",
- "dokuwiki",
- "drupal",
- "eZ Platform",
- "elgg",
- "expressionengine",
- "fuelphp",
- "grav",
- "installer",
- "itop",
- "joomla",
- "kohana",
- "laravel",
- "lavalite",
- "lithium",
- "magento",
- "mako",
- "mediawiki",
- "modulework",
- "moodle",
- "osclass",
- "phpbb",
- "piwik",
- "ppi",
- "puppet",
- "reindex",
- "roundcube",
- "shopware",
- "silverstripe",
- "sydes",
- "symfony",
- "typo3",
- "wordpress",
- "yawik",
- "zend",
- "zikula"
- ]
- }
-]
diff --git a/UserFunctions/vendor/composer/installers/.editorconfig b/UserFunctions/vendor/composer/installers/.editorconfig
deleted file mode 100644
index 153cf3ef..00000000
--- a/UserFunctions/vendor/composer/installers/.editorconfig
+++ /dev/null
@@ -1,10 +0,0 @@
-; top-most EditorConfig file
-root = true
-
-; Unix-style newlines
-[*]
-end_of_line = LF
-
-[*.php]
-indent_style = space
-indent_size = 4
diff --git a/UserFunctions/vendor/composer/installers/.gitignore b/UserFunctions/vendor/composer/installers/.gitignore
deleted file mode 100644
index ff7f293d..00000000
--- a/UserFunctions/vendor/composer/installers/.gitignore
+++ /dev/null
@@ -1,3 +0,0 @@
-vendor/
-composer.lock
-.idea/
diff --git a/UserFunctions/vendor/composer/installers/.travis.yml b/UserFunctions/vendor/composer/installers/.travis.yml
deleted file mode 100644
index 931191dd..00000000
--- a/UserFunctions/vendor/composer/installers/.travis.yml
+++ /dev/null
@@ -1,32 +0,0 @@
-language: php
-
-sudo: false
-
-dist: trusty
-
-git:
- depth: 5
-
-php:
- - 5.4
- - 5.5
- - 5.6
- - 7.0
- - 7.1
- - hhvm
- - nightly
-
-matrix:
- include:
- - dist: precise
- php: 5.3
- fast_finish: true
- allow_failures:
- - php: nightly
-
-before_script:
- - composer self-update
- - composer install
-
-script:
- - composer test
diff --git a/UserFunctions/vendor/composer/installers/LICENSE b/UserFunctions/vendor/composer/installers/LICENSE
deleted file mode 100644
index 85f97fc7..00000000
--- a/UserFunctions/vendor/composer/installers/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2012 Kyle Robinson Young
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is furnished
-to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE. \ No newline at end of file
diff --git a/UserFunctions/vendor/composer/installers/README.md b/UserFunctions/vendor/composer/installers/README.md
deleted file mode 100644
index b77dbe38..00000000
--- a/UserFunctions/vendor/composer/installers/README.md
+++ /dev/null
@@ -1,218 +0,0 @@
-# A Multi-Framework [Composer](http://getcomposer.org) Library Installer
-
-[![Build Status](http://img.shields.io/travis/composer/installers.svg)](http://travis-ci.org/composer/installers)
-
-This is for PHP package authors to require in their `composer.json`. It will
-install their package to the correct location based on the specified package
-type.
-
-The goal of Installers is to be a simple package type to install path map.
-Users can also customize the install path per package and package authors can
-modify the package name upon installing.
-
-Installers isn't intended on replacing all custom installers. If your
-package requires special installation handling then by all means, create a
-custom installer to handle it.
-
-**Natively Supported Frameworks**:
-
-The following frameworks natively work with Composer and will be
-installed to the default `vendor` directory. `composer/installers`
-is not needed to install packages with these frameworks:
-
-* Aura
-* Symfony2
-* Yii
-* Yii2
-
-## Current Supported Package Types
-
-> Stable types are marked as **bold**, this means that installation paths
-> for those type will not be changed. Any adjustment for those types would
-> require creation of brand new type that will cover required changes.
-
-| Framework | Types
-| --------- | -----
-| Aimeos | `aimeos-extension`
-| Asgard | `asgard-module`<br>`asgard-theme`
-| Attogram | `attogram-module`
-| AGL | `agl-module`
-| Bonefish | `bonefish-package`
-| AnnotateCms | `annotatecms-module`<br>`annotatecms-component`<br>`annotatecms-service`
-| Bitrix | `bitrix-module` (deprecated) <br>`bitrix-component` (deprecated) <br>`bitrix-theme` (deprecated) <br><br> `bitrix-d7-module` <br> `bitrix-d7-component` <br> `bitrix-d7-template`
-| CakePHP 2+ | **`cakephp-plugin`**
-| Chef | `chef-cookbook`<br>`chef-role`
-| CCFramework | `ccframework-ship`<br>`ccframework-theme`
-| Cockpit | `cockpit-module`
-| CodeIgniter | `codeigniter-library`<br>`codeigniter-third-party`<br>`codeigniter-module`
-| concrete5 | `concrete5-core`<br>`concrete5-package`<br>`concrete5-theme`<br>`concrete5-block`<br>`concrete5-update`
-| Craft | `craft-plugin`
-| Croogo | `croogo-plugin`<br>`croogo-theme`
-| Decibel | `decibel-app`
-| DokuWiki | `dokuwiki-plugin`<br>`dokuwiki-template`
-| Dolibarr | `dolibarr-module`
-| Drupal | <b>`drupal-core`<br>`drupal-module`<br>`drupal-theme`</b><br>`drupal-library`<br>`drupal-profile`<br>`drupal-drush`
-| Elgg | `elgg-plugin`
-| Eliasis | `eliasis-module`
-| ExpressionEngine 3 | `ee3-addon`<br>`ee3-theme`
-| eZ Platform | `ezplatform-assets`<br>`ezplatform-meta-assets`
-| FuelPHP v1.x | `fuel-module`<br>`fuel-package`<br/>`fuel-theme`
-| FuelPHP v2.x | `fuelphp-component`
-| Grav | `grav-plugin`<br>`grav-theme`
-| Hurad | `hurad-plugin`<br>`hurad-theme`
-| ImageCMS | `imagecms-template`<br>`imagecms-module`<br>`imagecms-library`
-| iTop | `itop-extension`
-| Joomla | `joomla-component`<br>`joomla-module`<br>`joomla-template`<br>`joomla-plugin`<br>`joomla-library`
-| Kanboard | `kanboard-plugin`
-| Kirby | **`kirby-plugin`**<br>`kirby-field`<br>`kirby-tag`
-| KodiCMS | `kodicms-plugin`<br>`kodicms-media`
-| Kohana | **`kohana-module`**
-| Lan Management System | `lms-plugin`<br>`lms-template`<br>`lms-document-template`<br>`lms-userpanel-module`
-| Laravel | `laravel-library`
-| Lavalite | `lavalite-theme`<br>`lavalite-package`
-| Lithium | **`lithium-library`<br>`lithium-source`**
-| Magento | `magento-library`<br>`magento-skin`<br>`magento-theme`
-| Mako | `mako-package`
-| Mautic | `mautic-plugin`<br>`mautic-theme`
-| Maya | `maya-module`
-| MODX Evo | `modxevo-snippet`<br>`modxevo-plugin`<br>`modxevo-module`<br>`modxevo-template`<br>`modxevo-lib`
-| MediaWiki | `mediawiki-extension`
-| October | **`october-module`<br>`october-plugin`<br>`october-theme`**
-| OntoWiki | `ontowiki-extension`<br>`ontowiki-theme`<br>`ontowiki-translation`
-| OXID | `oxid-module`<br>`oxid-theme`<br>`oxid-out`
-| Osclass | `osclass-plugin`<br>`osclass-theme`<br>`osclass-language`
-| MODULEWork | `modulework-module`
-| Moodle | `moodle-*` (Please [check source](https://raw.githubusercontent.com/composer/installers/master/src/Composer/Installers/MoodleInstaller.php) for all supported types)
-| Piwik | `piwik-plugin`
-| phpBB | `phpbb-extension`<br>`phpbb-style`<br>`phpbb-language`
-| Pimcore | `pimcore-plugin`
-| Plentymarkets | `plentymarkets-plugin`
-| PPI | **`ppi-module`**
-| Puppet | `puppet-module`
-| Porto | `porto-container`
-| RadPHP | `radphp-bundle`
-| REDAXO | `redaxo-addon`
-| ReIndex | **`reindex-plugin`** <br> **`reindex-theme`**
-| Roundcube | `roundcube-plugin`
-| shopware | `shopware-backend-plugin`<br/>`shopware-core-plugin`<br/>`shopware-frontend-plugin`<br/>`shopware-theme`<br/>`shopware-plugin`<br/>`shopware-frontend-theme`
-| SilverStripe | `silverstripe-module`<br>`silverstripe-theme`
-| SMF | `smf-module`<br>`smf-theme`
-| SyDES | `sydes-module`<br>`sydes-theme`
-| symfony1 | **`symfony1-plugin`**
-| Tusk | `tusk-task`<br>`tusk-command`<br>`tusk-asset`
-| TYPO3 Flow | `typo3-flow-package`<br>`typo3-flow-framework`<br>`typo3-flow-plugin`<br>`typo3-flow-site`<br>`typo3-flow-boilerplate`<br>`typo3-flow-build`
-| TYPO3 CMS | `typo3-cms-extension` (Deprecated in this package, use the [TYPO3 CMS Installers](https://packagist.org/packages/typo3/cms-composer-installers) instead)
-| UserFrosting | `userfrosting-sprinkle`
-| Vanilla | `vanilla-plugin`<br>`vanilla-theme`
-| Vgmcp | `vgmcp-bundle`<br>`vgmcp-theme`
-| Wolf CMS | `wolfcms-plugin`
-| WordPress | <b>`wordpress-plugin`<br>`wordpress-theme`</b><br>`wordpress-muplugin`
-| YAWIK | `yawik-module`
-| Zend | `zend-library`<br>`zend-extra`<br>`zend-module`
-| Zikula | `zikula-module`<br>`zikula-theme`
-| Prestashop | `prestashop-module`<br>`prestashop-theme`
-| Phifty | `phifty-bundle`<br>`phifty-framework`<br>`phifty-library`
-
-## Example `composer.json` File
-
-This is an example for a CakePHP plugin. The only important parts to set in your
-composer.json file are `"type": "cakephp-plugin"` which describes what your
-package is and `"require": { "composer/installers": "~1.0" }` which tells composer
-to load the custom installers.
-
-```json
-{
- "name": "you/ftp",
- "type": "cakephp-plugin",
- "require": {
- "composer/installers": "~1.0"
- }
-}
-```
-
-This would install your package to the `Plugin/Ftp/` folder of a CakePHP app
-when a user runs `php composer.phar install`.
-
-So submit your packages to [packagist.org](http://packagist.org)!
-
-## Custom Install Paths
-
-If you are consuming a package that uses the `composer/installers` you can
-override the install path with the following extra in your `composer.json`:
-
-```json
-{
- "extra": {
- "installer-paths": {
- "your/custom/path/{$name}/": ["shama/ftp", "vendor/package"]
- }
- }
-}
-```
-
-A package type can have a custom installation path with a `type:` prefix.
-
-``` json
-{
- "extra": {
- "installer-paths": {
- "your/custom/path/{$name}/": ["type:wordpress-plugin"]
- }
- }
-}
-```
-
-You can also have the same vendor packages with a custom installation path by
-using the `vendor:` prefix.
-
-``` json
-{
- "extra": {
- "installer-paths": {
- "your/custom/path/{$name}/": ["vendor:my_organization"]
- }
- }
-}
-```
-
-These would use your custom path for each of the listed packages. The available
-variables to use in your paths are: `{$name}`, `{$vendor}`, `{$type}`.
-
-## Custom Install Names
-
-If you're a package author and need your package to be named differently when
-installed consider using the `installer-name` extra.
-
-For example you have a package named `shama/cakephp-ftp` with the type
-`cakephp-plugin`. Installing with `composer/installers` would install to the
-path `Plugin/CakephpFtp`. Due to the strict naming conventions, you as a
-package author actually need the package to be named and installed to
-`Plugin/Ftp`. Using the following config within your **package** `composer.json`
-will allow this:
-
-```json
-{
- "name": "shama/cakephp-ftp",
- "type": "cakephp-plugin",
- "extra": {
- "installer-name": "Ftp"
- }
-}
-```
-
-Please note the name entered into `installer-name` will be the final and will
-not be inflected.
-
-## Should we allow dynamic package types or paths? No.
-
-What are they? The ability for a package author to determine where a package
-will be installed either through setting the path directly in their
-`composer.json` or through a dynamic package type: `"type":
-"framework-install-here"`.
-
-It has been proposed many times. Even implemented once early on and then
-removed. Installers won't do this because it would allow a single package
-author to wipe out entire folders without the user's consent. That user would
-then come here to yell at us.
-
-Anyone still wanting this capability should consider requiring https://github.com/oomphinc/composer-installers-extender.
diff --git a/UserFunctions/vendor/composer/installers/composer.json b/UserFunctions/vendor/composer/installers/composer.json
deleted file mode 100644
index 0a7477d1..00000000
--- a/UserFunctions/vendor/composer/installers/composer.json
+++ /dev/null
@@ -1,102 +0,0 @@
-{
- "name": "composer/installers",
- "type": "composer-plugin",
- "license": "MIT",
- "description": "A multi-framework Composer library installer",
- "keywords": [
- "installer",
- "Aimeos",
- "AGL",
- "AnnotateCms",
- "Attogram",
- "Bitrix",
- "CakePHP",
- "Chef",
- "Cockpit",
- "CodeIgniter",
- "concrete5",
- "Craft",
- "Croogo",
- "DokuWiki",
- "Dolibarr",
- "Drupal",
- "Elgg",
- "Eliasis",
- "ExpressionEngine",
- "eZ Platform",
- "FuelPHP",
- "Grav",
- "Hurad",
- "ImageCMS",
- "iTop",
- "Joomla",
- "Kanboard",
- "Kohana",
- "Lan Management System",
- "Laravel",
- "Lavalite",
- "Lithium",
- "Magento",
- "Mako",
- "Mautic",
- "Maya",
- "MODX Evo",
- "MediaWiki",
- "OXID",
- "osclass",
- "MODULEWork",
- "Moodle",
- "Piwik",
- "phpBB",
- "Plentymarkets",
- "PPI",
- "Puppet",
- "Porto",
- "RadPHP",
- "ReIndex",
- "Roundcube",
- "shopware",
- "SilverStripe",
- "SMF",
- "SyDES",
- "symfony",
- "Thelia",
- "TYPO3",
- "WolfCMS",
- "WordPress",
- "YAWIK",
- "Zend",
- "Zikula"
- ],
- "homepage": "https://composer.github.io/installers/",
- "authors": [
- {
- "name": "Kyle Robinson Young",
- "email": "kyle@dontkry.com",
- "homepage": "https://github.com/shama"
- }
- ],
- "autoload": {
- "psr-4": { "Composer\\Installers\\": "src/Composer/Installers" }
- },
- "extra": {
- "class": "Composer\\Installers\\Plugin",
- "branch-alias": {
- "dev-master": "1.0-dev"
- }
- },
- "replace": {
- "shama/baton": "*",
- "roundcube/plugin-installer": "*"
- },
- "require": {
- "composer-plugin-api": "^1.0"
- },
- "require-dev": {
- "composer/composer": "1.0.*@dev",
- "phpunit/phpunit": "4.1.*"
- },
- "scripts": {
- "test": "phpunit"
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/phpunit.xml.dist b/UserFunctions/vendor/composer/installers/phpunit.xml.dist
deleted file mode 100644
index cc5cc991..00000000
--- a/UserFunctions/vendor/composer/installers/phpunit.xml.dist
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-
-<phpunit backupGlobals="false"
- backupStaticAttributes="false"
- colors="true"
- convertErrorsToExceptions="true"
- convertNoticesToExceptions="true"
- convertWarningsToExceptions="true"
- processIsolation="false"
- stopOnFailure="false"
- syntaxCheck="false"
- bootstrap="tests/bootstrap.php"
->
- <testsuites>
- <testsuite name="Installers Test Suite">
- <directory>tests/Composer/Installers</directory>
- </testsuite>
- </testsuites>
-
- <filter>
- <whitelist>
- <directory>src/Composer/Installers</directory>
- </whitelist>
- </filter>
-</phpunit> \ No newline at end of file
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/AglInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/AglInstaller.php
deleted file mode 100644
index 01b8a416..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/AglInstaller.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class AglInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'More/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = preg_replace_callback('/(?:^|_|-)(.?)/', function ($matches) {
- return strtoupper($matches[1]);
- }, $vars['name']);
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
deleted file mode 100644
index 89d7ad90..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class AnnotateCmsInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'addons/modules/{$name}/',
- 'component' => 'addons/components/{$name}/',
- 'service' => 'addons/services/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
deleted file mode 100644
index 22dad1b9..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
+++ /dev/null
@@ -1,49 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class AsgardInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'Modules/{$name}/',
- 'theme' => 'Themes/{$name}/'
- );
-
- /**
- * Format package name.
- *
- * For package type asgard-module, cut off a trailing '-plugin' if present.
- *
- * For package type asgard-theme, cut off a trailing '-theme' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'asgard-module') {
- return $this->inflectPluginVars($vars);
- }
-
- if ($vars['type'] === 'asgard-theme') {
- return $this->inflectThemeVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-
- protected function inflectThemeVars($vars)
- {
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
deleted file mode 100644
index 7082bf2c..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/BaseInstaller.php
+++ /dev/null
@@ -1,136 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-use Composer\IO\IOInterface;
-use Composer\Composer;
-use Composer\Package\PackageInterface;
-
-abstract class BaseInstaller
-{
- protected $locations = array();
- protected $composer;
- protected $package;
- protected $io;
-
- /**
- * Initializes base installer.
- *
- * @param PackageInterface $package
- * @param Composer $composer
- * @param IOInterface $io
- */
- public function __construct(PackageInterface $package = null, Composer $composer = null, IOInterface $io = null)
- {
- $this->composer = $composer;
- $this->package = $package;
- $this->io = $io;
- }
-
- /**
- * Return the install path based on package type.
- *
- * @param PackageInterface $package
- * @param string $frameworkType
- * @return string
- */
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
- {
- $type = $this->package->getType();
-
- $prettyName = $this->package->getPrettyName();
- if (strpos($prettyName, '/') !== false) {
- list($vendor, $name) = explode('/', $prettyName);
- } else {
- $vendor = '';
- $name = $prettyName;
- }
-
- $availableVars = $this->inflectPackageVars(compact('name', 'vendor', 'type'));
-
- $extra = $package->getExtra();
- if (!empty($extra['installer-name'])) {
- $availableVars['name'] = $extra['installer-name'];
- }
-
- if ($this->composer->getPackage()) {
- $extra = $this->composer->getPackage()->getExtra();
- if (!empty($extra['installer-paths'])) {
- $customPath = $this->mapCustomInstallPaths($extra['installer-paths'], $prettyName, $type, $vendor);
- if ($customPath !== false) {
- return $this->templatePath($customPath, $availableVars);
- }
- }
- }
-
- $packageType = substr($type, strlen($frameworkType) + 1);
- $locations = $this->getLocations();
- if (!isset($locations[$packageType])) {
- throw new \InvalidArgumentException(sprintf('Package type "%s" is not supported', $type));
- }
-
- return $this->templatePath($locations[$packageType], $availableVars);
- }
-
- /**
- * For an installer to override to modify the vars per installer.
- *
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- return $vars;
- }
-
- /**
- * Gets the installer's locations
- *
- * @return array
- */
- public function getLocations()
- {
- return $this->locations;
- }
-
- /**
- * Replace vars in a path
- *
- * @param string $path
- * @param array $vars
- * @return string
- */
- protected function templatePath($path, array $vars = array())
- {
- if (strpos($path, '{') !== false) {
- extract($vars);
- preg_match_all('@\{\$([A-Za-z0-9_]*)\}@i', $path, $matches);
- if (!empty($matches[1])) {
- foreach ($matches[1] as $var) {
- $path = str_replace('{$' . $var . '}', $$var, $path);
- }
- }
- }
-
- return $path;
- }
-
- /**
- * Search through a passed paths array for a custom install path.
- *
- * @param array $paths
- * @param string $name
- * @param string $type
- * @param string $vendor = NULL
- * @return string
- */
- protected function mapCustomInstallPaths(array $paths, $name, $type, $vendor = NULL)
- {
- foreach ($paths as $path => $names) {
- if (in_array($name, $names) || in_array('type:' . $type, $names) || in_array('vendor:' . $vendor, $names)) {
- return $path;
- }
- }
-
- return false;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
deleted file mode 100644
index e80cd1e1..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
+++ /dev/null
@@ -1,126 +0,0 @@
-<?php
-
-namespace Composer\Installers;
-
-use Composer\Util\Filesystem;
-
-/**
- * Installer for Bitrix Framework. Supported types of extensions:
- * - `bitrix-d7-module` — copy the module to directory `bitrix/modules/<vendor>.<name>`.
- * - `bitrix-d7-component` — copy the component to directory `bitrix/components/<vendor>/<name>`.
- * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/<vendor>_<name>`.
- *
- * You can set custom path to directory with Bitrix kernel in `composer.json`:
- *
- * ```json
- * {
- * "extra": {
- * "bitrix-dir": "s1/bitrix"
- * }
- * }
- * ```
- *
- * @author Nik Samokhvalov <nik@samokhvalov.info>
- * @author Denis Kulichkin <onexhovia@gmail.com>
- */
-class BitrixInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => '{$bitrix_dir}/modules/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
- 'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
- 'theme' => '{$bitrix_dir}/templates/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
- 'd7-module' => '{$bitrix_dir}/modules/{$vendor}.{$name}/',
- 'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/',
- 'd7-template' => '{$bitrix_dir}/templates/{$vendor}_{$name}/',
- );
-
- /**
- * @var array Storage for informations about duplicates at all the time of installation packages.
- */
- private static $checkedDuplicates = array();
-
- /**
- * {@inheritdoc}
- */
- public function inflectPackageVars($vars)
- {
- if ($this->composer->getPackage()) {
- $extra = $this->composer->getPackage()->getExtra();
-
- if (isset($extra['bitrix-dir'])) {
- $vars['bitrix_dir'] = $extra['bitrix-dir'];
- }
- }
-
- if (!isset($vars['bitrix_dir'])) {
- $vars['bitrix_dir'] = 'bitrix';
- }
-
- return parent::inflectPackageVars($vars);
- }
-
- /**
- * {@inheritdoc}
- */
- protected function templatePath($path, array $vars = array())
- {
- $templatePath = parent::templatePath($path, $vars);
- $this->checkDuplicates($templatePath, $vars);
-
- return $templatePath;
- }
-
- /**
- * Duplicates search packages.
- *
- * @param string $path
- * @param array $vars
- */
- protected function checkDuplicates($path, array $vars = array())
- {
- $packageType = substr($vars['type'], strlen('bitrix') + 1);
- $localDir = explode('/', $vars['bitrix_dir']);
- array_pop($localDir);
- $localDir[] = 'local';
- $localDir = implode('/', $localDir);
-
- $oldPath = str_replace(
- array('{$bitrix_dir}', '{$name}'),
- array($localDir, $vars['name']),
- $this->locations[$packageType]
- );
-
- if (in_array($oldPath, static::$checkedDuplicates)) {
- return;
- }
-
- if ($oldPath !== $path && file_exists($oldPath) && $this->io && $this->io->isInteractive()) {
-
- $this->io->writeError(' <error>Duplication of packages:</error>');
- $this->io->writeError(' <info>Package ' . $oldPath . ' will be called instead package ' . $path . '</info>');
-
- while (true) {
- switch ($this->io->ask(' <info>Delete ' . $oldPath . ' [y,n,?]?</info> ', '?')) {
- case 'y':
- $fs = new Filesystem();
- $fs->removeDirectory($oldPath);
- break 2;
-
- case 'n':
- break 2;
-
- case '?':
- default:
- $this->io->writeError(array(
- ' y - delete package ' . $oldPath . ' and to continue with the installation',
- ' n - don\'t delete and to continue with the installation',
- ));
- $this->io->writeError(' ? - print help');
- break;
- }
- }
- }
-
- static::$checkedDuplicates[] = $oldPath;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
deleted file mode 100644
index 96e987a2..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
+++ /dev/null
@@ -1,83 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-use Composer\DependencyResolver\Pool;
-use Composer\Package\PackageInterface;
-
-class CakePHPInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'Plugin/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- if ($this->matchesCakeVersion('>=', '3.0.0')) {
- return $vars;
- }
-
- $nameParts = explode('/', $vars['name']);
- foreach ($nameParts as &$value) {
- $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
- $value = str_replace(array('-', '_'), ' ', $value);
- $value = str_replace(' ', '', ucwords($value));
- }
- $vars['name'] = implode('/', $nameParts);
-
- return $vars;
- }
-
- /**
- * Change the default plugin location when cakephp >= 3.0
- */
- public function getLocations()
- {
- if ($this->matchesCakeVersion('>=', '3.0.0')) {
- $this->locations['plugin'] = $this->composer->getConfig()->get('vendor-dir') . '/{$vendor}/{$name}/';
- }
- return $this->locations;
- }
-
- /**
- * Check if CakePHP version matches against a version
- *
- * @param string $matcher
- * @param string $version
- * @return bool
- */
- protected function matchesCakeVersion($matcher, $version)
- {
- if (class_exists('Composer\Semver\Constraint\MultiConstraint')) {
- $multiClass = 'Composer\Semver\Constraint\MultiConstraint';
- $constraintClass = 'Composer\Semver\Constraint\Constraint';
- } else {
- $multiClass = 'Composer\Package\LinkConstraint\MultiConstraint';
- $constraintClass = 'Composer\Package\LinkConstraint\VersionConstraint';
- }
-
- $repositoryManager = $this->composer->getRepositoryManager();
- if ($repositoryManager) {
- $repos = $repositoryManager->getLocalRepository();
- if (!$repos) {
- return false;
- }
- $cake3 = new $multiClass(array(
- new $constraintClass($matcher, $version),
- new $constraintClass('!=', '9999999-dev'),
- ));
- $pool = new Pool('dev');
- $pool->addRepository($repos);
- $packages = $pool->whatProvides('cakephp/cakephp');
- foreach ($packages as $package) {
- $installed = new $constraintClass('=', $package->getVersion());
- if ($cake3->matches($installed)) {
- return true;
- }
- }
- }
- return false;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
deleted file mode 100644
index ab2f9aad..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ChefInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class ChefInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'cookbook' => 'Chef/{$vendor}/{$name}/',
- 'role' => 'Chef/roles/{$name}/',
- );
-}
-
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
deleted file mode 100644
index 3b4a4ece..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class CodeIgniterInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'library' => 'application/libraries/{$name}/',
- 'third-party' => 'application/third_party/{$name}/',
- 'module' => 'application/modules/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
deleted file mode 100644
index 5c01bafd..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class Concrete5Installer extends BaseInstaller
-{
- protected $locations = array(
- 'core' => 'concrete/',
- 'block' => 'application/blocks/{$name}/',
- 'package' => 'packages/{$name}/',
- 'theme' => 'application/themes/{$name}/',
- 'update' => 'updates/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php
deleted file mode 100644
index d37a77ae..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/CraftInstaller.php
+++ /dev/null
@@ -1,35 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-/**
- * Installer for Craft Plugins
- */
-class CraftInstaller extends BaseInstaller
-{
- const NAME_PREFIX = 'craft';
- const NAME_SUFFIX = 'plugin';
-
- protected $locations = array(
- 'plugin' => 'craft/plugins/{$name}/',
- );
-
- /**
- * Strip `craft-` prefix and/or `-plugin` suffix from package names
- *
- * @param array $vars
- *
- * @return array
- */
- final public function inflectPackageVars($vars)
- {
- return $this->inflectPluginVars($vars);
- }
-
- private function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/-' . self::NAME_SUFFIX . '$/i', '', $vars['name']);
- $vars['name'] = preg_replace('/^' . self::NAME_PREFIX . '-/i', '', $vars['name']);
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
deleted file mode 100644
index d94219d3..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/CroogoInstaller.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class CroogoInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'Plugin/{$name}/',
- 'theme' => 'View/Themed/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(str_replace(array('-', '_'), ' ', $vars['name']));
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
deleted file mode 100644
index cfd638d5..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/DokuWikiInstaller.php
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class DokuWikiInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'lib/plugins/{$name}/',
- 'template' => 'lib/tpl/{$name}/',
- );
-
- /**
- * Format package name.
- *
- * For package type dokuwiki-plugin, cut off a trailing '-plugin',
- * or leading dokuwiki_ if present.
- *
- * For package type dokuwiki-template, cut off a trailing '-template' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
-
- if ($vars['type'] === 'dokuwiki-plugin') {
- return $this->inflectPluginVars($vars);
- }
-
- if ($vars['type'] === 'dokuwiki-template') {
- return $this->inflectTemplateVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']);
- $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectTemplateVars($vars)
- {
- $vars['name'] = preg_replace('/-template$/', '', $vars['name']);
- $vars['name'] = preg_replace('/^dokuwiki_?-?/', '', $vars['name']);
-
- return $vars;
- }
-
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
deleted file mode 100644
index 21f7e8e8..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/DolibarrInstaller.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-/**
- * Class DolibarrInstaller
- *
- * @package Composer\Installers
- * @author Raphaël Doursenaud <rdoursenaud@gpcsolutions.fr>
- */
-class DolibarrInstaller extends BaseInstaller
-{
- //TODO: Add support for scripts and themes
- protected $locations = array(
- 'module' => 'htdocs/custom/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
deleted file mode 100644
index a41ee2e1..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/DrupalInstaller.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class DrupalInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'core' => 'core/',
- 'module' => 'modules/{$name}/',
- 'theme' => 'themes/{$name}/',
- 'library' => 'libraries/{$name}/',
- 'profile' => 'profiles/{$name}/',
- 'drush' => 'drush/{$name}/',
- 'custom-theme' => 'themes/custom/{$name}/',
- 'custom-module' => 'modules/custom/{$name}',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
deleted file mode 100644
index c0bb609f..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ElggInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class ElggInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'mod/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
deleted file mode 100644
index 6eba2e34..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/FuelInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class FuelInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'fuel/app/modules/{$name}/',
- 'package' => 'fuel/packages/{$name}/',
- 'theme' => 'fuel/app/themes/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
deleted file mode 100644
index 29d980b3..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/FuelphpInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class FuelphpInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'component' => 'components/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/GravInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/GravInstaller.php
deleted file mode 100644
index dbe63e07..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/GravInstaller.php
+++ /dev/null
@@ -1,30 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class GravInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'user/plugins/{$name}/',
- 'theme' => 'user/themes/{$name}/',
- );
-
- /**
- * Format package name
- *
- * @param array $vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $restrictedWords = implode('|', array_keys($this->locations));
-
- $vars['name'] = strtolower($vars['name']);
- $vars['name'] = preg_replace('/^(?:grav-)?(?:(?:'.$restrictedWords.')-)?(.*?)(?:-(?:'.$restrictedWords.'))?$/ui',
- '$1',
- $vars['name']
- );
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
deleted file mode 100644
index 8fe017f0..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/HuradInstaller.php
+++ /dev/null
@@ -1,25 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class HuradInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'plugins/{$name}/',
- 'theme' => 'plugins/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $nameParts = explode('/', $vars['name']);
- foreach ($nameParts as &$value) {
- $value = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $value));
- $value = str_replace(array('-', '_'), ' ', $value);
- $value = str_replace(' ', '', ucwords($value));
- }
- $vars['name'] = implode('/', $nameParts);
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/Installer.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/Installer.php
deleted file mode 100644
index 8356b8c9..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/Installer.php
+++ /dev/null
@@ -1,201 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-use Composer\IO\IOInterface;
-use Composer\Installer\LibraryInstaller;
-use Composer\Package\PackageInterface;
-use Composer\Repository\InstalledRepositoryInterface;
-
-class Installer extends LibraryInstaller
-{
- /**
- * Package types to installer class map
- *
- * @var array
- */
- private $supportedTypes = array(
- 'aimeos' => 'AimeosInstaller',
- 'asgard' => 'AsgardInstaller',
- 'attogram' => 'AttogramInstaller',
- 'agl' => 'AglInstaller',
- 'annotatecms' => 'AnnotateCmsInstaller',
- 'bitrix' => 'BitrixInstaller',
- 'bonefish' => 'BonefishInstaller',
- 'cakephp' => 'CakePHPInstaller',
- 'chef' => 'ChefInstaller',
- 'ccframework' => 'ClanCatsFrameworkInstaller',
- 'cockpit' => 'CockpitInstaller',
- 'codeigniter' => 'CodeIgniterInstaller',
- 'concrete5' => 'Concrete5Installer',
- 'craft' => 'CraftInstaller',
- 'croogo' => 'CroogoInstaller',
- 'dokuwiki' => 'DokuWikiInstaller',
- 'dolibarr' => 'DolibarrInstaller',
- 'decibel' => 'DecibelInstaller',
- 'drupal' => 'DrupalInstaller',
- 'elgg' => 'ElggInstaller',
- 'eliasis' => 'EliasisInstaller',
- 'ee3' => 'ExpressionEngineInstaller',
- 'ee2' => 'ExpressionEngineInstaller',
- 'ezplatform' => 'EzPlatformInstaller',
- 'fuel' => 'FuelInstaller',
- 'fuelphp' => 'FuelphpInstaller',
- 'grav' => 'GravInstaller',
- 'hurad' => 'HuradInstaller',
- 'imagecms' => 'ImageCMSInstaller',
- 'itop' => 'ItopInstaller',
- 'joomla' => 'JoomlaInstaller',
- 'kanboard' => 'KanboardInstaller',
- 'kirby' => 'KirbyInstaller',
- 'kodicms' => 'KodiCMSInstaller',
- 'kohana' => 'KohanaInstaller',
- 'lms' => 'LanManagementSystemInstaller',
- 'laravel' => 'LaravelInstaller',
- 'lavalite' => 'LavaLiteInstaller',
- 'lithium' => 'LithiumInstaller',
- 'magento' => 'MagentoInstaller',
- 'mako' => 'MakoInstaller',
- 'maya' => 'MayaInstaller',
- 'mautic' => 'MauticInstaller',
- 'mediawiki' => 'MediaWikiInstaller',
- 'microweber' => 'MicroweberInstaller',
- 'modulework' => 'MODULEWorkInstaller',
- 'modxevo' => 'MODXEvoInstaller',
- 'moodle' => 'MoodleInstaller',
- 'october' => 'OctoberInstaller',
- 'ontowiki' => 'OntoWikiInstaller',
- 'oxid' => 'OxidInstaller',
- 'osclass' => 'OsclassInstaller',
- 'phpbb' => 'PhpBBInstaller',
- 'pimcore' => 'PimcoreInstaller',
- 'piwik' => 'PiwikInstaller',
- 'plentymarkets'=> 'PlentymarketsInstaller',
- 'ppi' => 'PPIInstaller',
- 'puppet' => 'PuppetInstaller',
- 'radphp' => 'RadPHPInstaller',
- 'phifty' => 'PhiftyInstaller',
- 'porto' => 'PortoInstaller',
- 'redaxo' => 'RedaxoInstaller',
- 'reindex' => 'ReIndexInstaller',
- 'roundcube' => 'RoundcubeInstaller',
- 'shopware' => 'ShopwareInstaller',
- 'silverstripe' => 'SilverStripeInstaller',
- 'smf' => 'SMFInstaller',
- 'sydes' => 'SyDESInstaller',
- 'symfony1' => 'Symfony1Installer',
- 'thelia' => 'TheliaInstaller',
- 'tusk' => 'TuskInstaller',
- 'typo3-cms' => 'TYPO3CmsInstaller',
- 'typo3-flow' => 'TYPO3FlowInstaller',
- 'userfrosting' => 'UserFrostingInstaller',
- 'vanilla' => 'VanillaInstaller',
- 'whmcs' => 'WHMCSInstaller',
- 'wolfcms' => 'WolfCMSInstaller',
- 'wordpress' => 'WordPressInstaller',
- 'yawik' => 'YawikInstaller',
- 'zend' => 'ZendInstaller',
- 'zikula' => 'ZikulaInstaller',
- 'prestashop' => 'PrestashopInstaller'
- );
-
- /**
- * {@inheritDoc}
- */
- public function getInstallPath(PackageInterface $package)
- {
- $type = $package->getType();
- $frameworkType = $this->findFrameworkType($type);
-
- if ($frameworkType === false) {
- throw new \InvalidArgumentException(
- 'Sorry the package type of this package is not yet supported.'
- );
- }
-
- $class = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
- $installer = new $class($package, $this->composer, $this->getIO());
-
- return $installer->getInstallPath($package, $frameworkType);
- }
-
- public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
- {
- if (!$repo->hasPackage($package)) {
- throw new \InvalidArgumentException('Package is not installed: '.$package);
- }
-
- $repo->removePackage($package);
-
- $installPath = $this->getInstallPath($package);
- $this->io->write(sprintf('Deleting %s - %s', $installPath, $this->filesystem->removeDirectory($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>'));
- }
-
- /**
- * {@inheritDoc}
- */
- public function supports($packageType)
- {
- $frameworkType = $this->findFrameworkType($packageType);
-
- if ($frameworkType === false) {
- return false;
- }
-
- $locationPattern = $this->getLocationPattern($frameworkType);
-
- return preg_match('#' . $frameworkType . '-' . $locationPattern . '#', $packageType, $matches) === 1;
- }
-
- /**
- * Finds a supported framework type if it exists and returns it
- *
- * @param string $type
- * @return string
- */
- protected function findFrameworkType($type)
- {
- $frameworkType = false;
-
- krsort($this->supportedTypes);
-
- foreach ($this->supportedTypes as $key => $val) {
- if ($key === substr($type, 0, strlen($key))) {
- $frameworkType = substr($type, 0, strlen($key));
- break;
- }
- }
-
- return $frameworkType;
- }
-
- /**
- * Get the second part of the regular expression to check for support of a
- * package type
- *
- * @param string $frameworkType
- * @return string
- */
- protected function getLocationPattern($frameworkType)
- {
- $pattern = false;
- if (!empty($this->supportedTypes[$frameworkType])) {
- $frameworkClass = 'Composer\\Installers\\' . $this->supportedTypes[$frameworkType];
- /** @var BaseInstaller $framework */
- $framework = new $frameworkClass(null, $this->composer, $this->getIO());
- $locations = array_keys($framework->getLocations());
- $pattern = $locations ? '(' . implode('|', $locations) . ')' : false;
- }
-
- return $pattern ? : '(\w+)';
- }
-
- /**
- * Get I/O object
- *
- * @return IOInterface
- */
- private function getIO()
- {
- return $this->io;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php
deleted file mode 100644
index 9ee77596..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/JoomlaInstaller.php
+++ /dev/null
@@ -1,15 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class JoomlaInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'component' => 'components/{$name}/',
- 'module' => 'modules/{$name}/',
- 'template' => 'templates/{$name}/',
- 'plugin' => 'plugins/{$name}/',
- 'library' => 'libraries/{$name}/',
- );
-
- // TODO: Add inflector for mod_ and com_ names
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php
deleted file mode 100644
index 36b2f84a..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/KirbyInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class KirbyInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'site/plugins/{$name}/',
- 'field' => 'site/fields/{$name}/',
- 'tag' => 'site/tags/{$name}/'
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
deleted file mode 100644
index dcd6d263..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/KohanaInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class KohanaInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'modules/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
deleted file mode 100644
index be4d53a7..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/LaravelInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class LaravelInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'library' => 'libraries/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
deleted file mode 100644
index 47bbd4ca..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/LithiumInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class LithiumInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'library' => 'libraries/{$name}/',
- 'source' => 'libraries/_source/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
deleted file mode 100644
index 9c2e9fb4..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class MODULEWorkInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'modules/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
deleted file mode 100644
index 5a664608..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MODXEvoInstaller.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-/**
- * An installer to handle MODX Evolution specifics when installing packages.
- */
-class MODXEvoInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'snippet' => 'assets/snippets/{$name}/',
- 'plugin' => 'assets/plugins/{$name}/',
- 'module' => 'assets/modules/{$name}/',
- 'template' => 'assets/templates/{$name}/',
- 'lib' => 'assets/lib/{$name}/'
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
deleted file mode 100644
index cf18e947..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MagentoInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class MagentoInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'theme' => 'app/design/frontend/{$name}/',
- 'skin' => 'skin/frontend/default/{$name}/',
- 'library' => 'lib/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
deleted file mode 100644
index ca3cfacb..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MakoInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class MakoInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'package' => 'app/packages/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
deleted file mode 100644
index 01008c63..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MediaWikiInstaller.php
+++ /dev/null
@@ -1,50 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class MediaWikiInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'extension' => 'extensions/{$name}/',
- 'skin' => 'skins/{$name}/',
- );
-
- /**
- * Format package name.
- *
- * For package type mediawiki-extension, cut off a trailing '-extension' if present and transform
- * to CamelCase keeping existing uppercase chars.
- *
- * For package type mediawiki-skin, cut off a trailing '-skin' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
-
- if ($vars['type'] === 'mediawiki-extension') {
- return $this->inflectExtensionVars($vars);
- }
-
- if ($vars['type'] === 'mediawiki-skin') {
- return $this->inflectSkinVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectExtensionVars($vars)
- {
- $vars['name'] = preg_replace('/-extension$/', '', $vars['name']);
- $vars['name'] = str_replace('-', ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-
- protected function inflectSkinVars($vars)
- {
- $vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
-
- return $vars;
- }
-
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
deleted file mode 100644
index 4bbbec8c..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MicroweberInstaller.php
+++ /dev/null
@@ -1,111 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class MicroweberInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'userfiles/modules/{$name}/',
- 'module-skin' => 'userfiles/modules/{$name}/templates/',
- 'template' => 'userfiles/templates/{$name}/',
- 'element' => 'userfiles/elements/{$name}/',
- 'vendor' => 'vendor/{$name}/',
- 'components' => 'components/{$name}/'
- );
-
- /**
- * Format package name.
- *
- * For package type microweber-module, cut off a trailing '-module' if present
- *
- * For package type microweber-template, cut off a trailing '-template' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'microweber-template') {
- return $this->inflectTemplateVars($vars);
- }
- if ($vars['type'] === 'microweber-templates') {
- return $this->inflectTemplatesVars($vars);
- }
- if ($vars['type'] === 'microweber-core') {
- return $this->inflectCoreVars($vars);
- }
- if ($vars['type'] === 'microweber-adapter') {
- return $this->inflectCoreVars($vars);
- }
- if ($vars['type'] === 'microweber-module') {
- return $this->inflectModuleVars($vars);
- }
- if ($vars['type'] === 'microweber-modules') {
- return $this->inflectModulesVars($vars);
- }
- if ($vars['type'] === 'microweber-skin') {
- return $this->inflectSkinVars($vars);
- }
- if ($vars['type'] === 'microweber-element' or $vars['type'] === 'microweber-elements') {
- return $this->inflectElementVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectTemplateVars($vars)
- {
- $vars['name'] = preg_replace('/-template$/', '', $vars['name']);
- $vars['name'] = preg_replace('/template-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectTemplatesVars($vars)
- {
- $vars['name'] = preg_replace('/-templates$/', '', $vars['name']);
- $vars['name'] = preg_replace('/templates-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectCoreVars($vars)
- {
- $vars['name'] = preg_replace('/-providers$/', '', $vars['name']);
- $vars['name'] = preg_replace('/-provider$/', '', $vars['name']);
- $vars['name'] = preg_replace('/-adapter$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectModuleVars($vars)
- {
- $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
- $vars['name'] = preg_replace('/module-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectModulesVars($vars)
- {
- $vars['name'] = preg_replace('/-modules$/', '', $vars['name']);
- $vars['name'] = preg_replace('/modules-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectSkinVars($vars)
- {
- $vars['name'] = preg_replace('/-skin$/', '', $vars['name']);
- $vars['name'] = preg_replace('/skin-$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectElementVars($vars)
- {
- $vars['name'] = preg_replace('/-elements$/', '', $vars['name']);
- $vars['name'] = preg_replace('/elements-$/', '', $vars['name']);
- $vars['name'] = preg_replace('/-element$/', '', $vars['name']);
- $vars['name'] = preg_replace('/element-$/', '', $vars['name']);
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
deleted file mode 100644
index a89c82f7..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
+++ /dev/null
@@ -1,57 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class MoodleInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'mod' => 'mod/{$name}/',
- 'admin_report' => 'admin/report/{$name}/',
- 'atto' => 'lib/editor/atto/plugins/{$name}/',
- 'tool' => 'admin/tool/{$name}/',
- 'assignment' => 'mod/assignment/type/{$name}/',
- 'assignsubmission' => 'mod/assign/submission/{$name}/',
- 'assignfeedback' => 'mod/assign/feedback/{$name}/',
- 'auth' => 'auth/{$name}/',
- 'availability' => 'availability/condition/{$name}/',
- 'block' => 'blocks/{$name}/',
- 'booktool' => 'mod/book/tool/{$name}/',
- 'cachestore' => 'cache/stores/{$name}/',
- 'cachelock' => 'cache/locks/{$name}/',
- 'calendartype' => 'calendar/type/{$name}/',
- 'format' => 'course/format/{$name}/',
- 'coursereport' => 'course/report/{$name}/',
- 'datafield' => 'mod/data/field/{$name}/',
- 'datapreset' => 'mod/data/preset/{$name}/',
- 'editor' => 'lib/editor/{$name}/',
- 'enrol' => 'enrol/{$name}/',
- 'filter' => 'filter/{$name}/',
- 'gradeexport' => 'grade/export/{$name}/',
- 'gradeimport' => 'grade/import/{$name}/',
- 'gradereport' => 'grade/report/{$name}/',
- 'gradingform' => 'grade/grading/form/{$name}/',
- 'local' => 'local/{$name}/',
- 'logstore' => 'admin/tool/log/store/{$name}/',
- 'ltisource' => 'mod/lti/source/{$name}/',
- 'ltiservice' => 'mod/lti/service/{$name}/',
- 'message' => 'message/output/{$name}/',
- 'mnetservice' => 'mnet/service/{$name}/',
- 'plagiarism' => 'plagiarism/{$name}/',
- 'portfolio' => 'portfolio/{$name}/',
- 'qbehaviour' => 'question/behaviour/{$name}/',
- 'qformat' => 'question/format/{$name}/',
- 'qtype' => 'question/type/{$name}/',
- 'quizaccess' => 'mod/quiz/accessrule/{$name}/',
- 'quiz' => 'mod/quiz/report/{$name}/',
- 'report' => 'report/{$name}/',
- 'repository' => 'repository/{$name}/',
- 'scormreport' => 'mod/scorm/report/{$name}/',
- 'search' => 'search/engine/{$name}/',
- 'theme' => 'theme/{$name}/',
- 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/',
- 'profilefield' => 'user/profile/field/{$name}/',
- 'webservice' => 'webservice/{$name}/',
- 'workshopallocation' => 'mod/workshop/allocation/{$name}/',
- 'workshopeval' => 'mod/workshop/eval/{$name}/',
- 'workshopform' => 'mod/workshop/form/{$name}/'
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
deleted file mode 100644
index 6bf53fd1..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
+++ /dev/null
@@ -1,46 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class OctoberInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'modules/{$name}/',
- 'plugin' => 'plugins/{$vendor}/{$name}/',
- 'theme' => 'themes/{$name}/'
- );
-
- /**
- * Format package name.
- *
- * For package type october-plugin, cut off a trailing '-plugin' if present.
- *
- * For package type october-theme, cut off a trailing '-theme' if present.
- *
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'october-plugin') {
- return $this->inflectPluginVars($vars);
- }
-
- if ($vars['type'] === 'october-theme') {
- return $this->inflectThemeVars($vars);
- }
-
- return $vars;
- }
-
- protected function inflectPluginVars($vars)
- {
- $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']);
-
- return $vars;
- }
-
- protected function inflectThemeVars($vars)
- {
- $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
-
- return $vars;
- }
-} \ No newline at end of file
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
deleted file mode 100644
index 49940ff6..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/OxidInstaller.php
+++ /dev/null
@@ -1,59 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-use Composer\Package\PackageInterface;
-
-class OxidInstaller extends BaseInstaller
-{
- const VENDOR_PATTERN = '/^modules\/(?P<vendor>.+)\/.+/';
-
- protected $locations = array(
- 'module' => 'modules/{$name}/',
- 'theme' => 'application/views/{$name}/',
- 'out' => 'out/{$name}/',
- );
-
- /**
- * getInstallPath
- *
- * @param PackageInterface $package
- * @param string $frameworkType
- * @return void
- */
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
- {
- $installPath = parent::getInstallPath($package, $frameworkType);
- $type = $this->package->getType();
- if ($type === 'oxid-module') {
- $this->prepareVendorDirectory($installPath);
- }
- return $installPath;
- }
-
- /**
- * prepareVendorDirectory
- *
- * Makes sure there is a vendormetadata.php file inside
- * the vendor folder if there is a vendor folder.
- *
- * @param string $installPath
- * @return void
- */
- protected function prepareVendorDirectory($installPath)
- {
- $matches = '';
- $hasVendorDirectory = preg_match(self::VENDOR_PATTERN, $installPath, $matches);
- if (!$hasVendorDirectory) {
- return;
- }
-
- $vendorDirectory = $matches['vendor'];
- $vendorPath = getcwd() . '/modules/' . $vendorDirectory;
- if (!file_exists($vendorPath)) {
- mkdir($vendorPath, 0755, true);
- }
-
- $vendorMetaDataPath = $vendorPath . '/vendormetadata.php';
- touch($vendorMetaDataPath);
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
deleted file mode 100644
index 170136f9..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PPIInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class PPIInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'modules/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
deleted file mode 100644
index deb2b77a..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PhpBBInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class PhpBBInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'extension' => 'ext/{$vendor}/{$name}/',
- 'language' => 'language/{$name}/',
- 'style' => 'styles/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php
deleted file mode 100644
index 4781fa6d..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PimcoreInstaller.php
+++ /dev/null
@@ -1,21 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class PimcoreInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'plugins/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
deleted file mode 100644
index c17f4572..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PiwikInstaller.php
+++ /dev/null
@@ -1,32 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-/**
- * Class PiwikInstaller
- *
- * @package Composer\Installers
- */
-class PiwikInstaller extends BaseInstaller
-{
- /**
- * @var array
- */
- protected $locations = array(
- 'plugin' => 'plugins/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- * @param array $vars
- *
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(preg_replace('/(?<=\\w)([A-Z])/', '_\\1', $vars['name']));
- $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
- $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
deleted file mode 100644
index 77cc3dd8..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/PuppetInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-
-namespace Composer\Installers;
-
-class PuppetInstaller extends BaseInstaller
-{
-
- protected $locations = array(
- 'module' => 'modules/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
deleted file mode 100644
index 09544576..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/RedaxoInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class RedaxoInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'addon' => 'redaxo/include/addons/{$name}/',
- 'bestyle-plugin' => 'redaxo/include/addons/be_style/plugins/{$name}/'
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
deleted file mode 100644
index d8d795be..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/RoundcubeInstaller.php
+++ /dev/null
@@ -1,22 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class RoundcubeInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'plugins/{$name}/',
- );
-
- /**
- * Lowercase name and changes the name to a underscores
- *
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = strtolower(str_replace('-', '_', $vars['name']));
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
deleted file mode 100644
index d0193cba..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
+++ /dev/null
@@ -1,60 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-/**
- * Plugin/theme installer for shopware
- * @author Benjamin Boit
- */
-class ShopwareInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'backend-plugin' => 'engine/Shopware/Plugins/Local/Backend/{$name}/',
- 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/',
- 'frontend-plugin' => 'engine/Shopware/Plugins/Local/Frontend/{$name}/',
- 'theme' => 'templates/{$name}/',
- 'plugin' => 'custom/plugins/{$name}/',
- 'frontend-theme' => 'themes/Frontend/{$name}/',
- );
-
- /**
- * Transforms the names
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- if ($vars['type'] === 'shopware-theme') {
- return $this->correctThemeName($vars);
- } else {
- return $this->correctPluginName($vars);
- }
- }
-
- /**
- * Changes the name to a camelcased combination of vendor and name
- * @param array $vars
- * @return array
- */
- private function correctPluginName($vars)
- {
- $camelCasedName = preg_replace_callback('/(-[a-z])/', function ($matches) {
- return strtoupper($matches[0][1]);
- }, $vars['name']);
-
- $vars['name'] = ucfirst($vars['vendor']) . ucfirst($camelCasedName);
-
- return $vars;
- }
-
- /**
- * Changes the name to a underscore separated name
- * @param array $vars
- * @return array
- */
- private function correctThemeName($vars)
- {
- $vars['name'] = str_replace('-', '_', $vars['name']);
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
deleted file mode 100644
index 17ca543a..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
+++ /dev/null
@@ -1,36 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-use Composer\Package\PackageInterface;
-
-class SilverStripeInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => '{$name}/',
- 'theme' => 'themes/{$name}/',
- );
-
- /**
- * Return the install path based on package type.
- *
- * Relies on built-in BaseInstaller behaviour with one exception: silverstripe/framework
- * must be installed to 'sapphire' and not 'framework' if the version is <3.0.0
- *
- * @param PackageInterface $package
- * @param string $frameworkType
- * @return string
- */
- public function getInstallPath(PackageInterface $package, $frameworkType = '')
- {
- if (
- $package->getName() == 'silverstripe/framework'
- && preg_match('/^\d+\.\d+\.\d+/', $package->getVersion())
- && version_compare($package->getVersion(), '2.999.999') < 0
- ) {
- return $this->templatePath($this->locations['module'], array('name' => 'sapphire'));
- } else {
- return parent::getInstallPath($package, $frameworkType);
- }
-
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php
deleted file mode 100644
index 1675c4f2..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/Symfony1Installer.php
+++ /dev/null
@@ -1,26 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-/**
- * Plugin installer for symfony 1.x
- *
- * @author Jérôme Tamarelle <jerome@tamarelle.net>
- */
-class Symfony1Installer extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'plugins/{$name}/',
- );
-
- /**
- * Format package name to CamelCase
- */
- public function inflectPackageVars($vars)
- {
- $vars['name'] = preg_replace_callback('/(-[a-z])/', function ($matches) {
- return strtoupper($matches[0][1]);
- }, $vars['name']);
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php
deleted file mode 100644
index b1663e84..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php
+++ /dev/null
@@ -1,16 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-/**
- * Extension installer for TYPO3 CMS
- *
- * @deprecated since 1.0.25, use https://packagist.org/packages/typo3/cms-composer-installers instead
- *
- * @author Sascha Egerer <sascha.egerer@dkd.de>
- */
-class TYPO3CmsInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'extension' => 'typo3conf/ext/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php
deleted file mode 100644
index 42572f44..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/TYPO3FlowInstaller.php
+++ /dev/null
@@ -1,38 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-/**
- * An installer to handle TYPO3 Flow specifics when installing packages.
- */
-class TYPO3FlowInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'package' => 'Packages/Application/{$name}/',
- 'framework' => 'Packages/Framework/{$name}/',
- 'plugin' => 'Packages/Plugins/{$name}/',
- 'site' => 'Packages/Sites/{$name}/',
- 'boilerplate' => 'Packages/Boilerplates/{$name}/',
- 'build' => 'Build/{$name}/',
- );
-
- /**
- * Modify the package name to be a TYPO3 Flow style key.
- *
- * @param array $vars
- * @return array
- */
- public function inflectPackageVars($vars)
- {
- $autoload = $this->package->getAutoload();
- if (isset($autoload['psr-0']) && is_array($autoload['psr-0'])) {
- $namespace = key($autoload['psr-0']);
- $vars['name'] = str_replace('\\', '.', $namespace);
- }
- if (isset($autoload['psr-4']) && is_array($autoload['psr-4'])) {
- $namespace = key($autoload['psr-4']);
- $vars['name'] = rtrim(str_replace('\\', '.', $namespace), '.');
- }
-
- return $vars;
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
deleted file mode 100644
index 158af526..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/TheliaInstaller.php
+++ /dev/null
@@ -1,12 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class TheliaInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'local/modules/{$name}/',
- 'frontoffice-template' => 'templates/frontOffice/{$name}/',
- 'backoffice-template' => 'templates/backOffice/{$name}/',
- 'email-template' => 'templates/email/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
deleted file mode 100644
index 7c0113b8..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/TuskInstaller.php
+++ /dev/null
@@ -1,14 +0,0 @@
-<?php
- namespace Composer\Installers;
- /**
- * Composer installer for 3rd party Tusk utilities
- * @author Drew Ewing <drew@phenocode.com>
- */
- class TuskInstaller extends BaseInstaller
- {
- protected $locations = array(
- 'task' => '.tusk/tasks/{$name}/',
- 'command' => '.tusk/commands/{$name}/',
- 'asset' => 'assets/tusk/{$name}/',
- );
- }
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
deleted file mode 100644
index 2cbb4a46..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/WHMCSInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-
-namespace Composer\Installers;
-
-class WHMCSInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'gateway' => 'modules/gateways/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
deleted file mode 100644
index cb387881..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/WolfCMSInstaller.php
+++ /dev/null
@@ -1,9 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class WolfCMSInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'wolf/plugins/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
deleted file mode 100644
index b03219c6..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class WordPressInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'plugin' => 'wp-content/plugins/{$name}/',
- 'theme' => 'wp-content/themes/{$name}/',
- 'muplugin' => 'wp-content/mu-plugins/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
deleted file mode 100644
index bde9bc8c..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ZendInstaller.php
+++ /dev/null
@@ -1,11 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class ZendInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'library' => 'library/{$name}/',
- 'extra' => 'extras/library/{$name}/',
- 'module' => 'module/{$name}/',
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php b/UserFunctions/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
deleted file mode 100644
index 56cdf5da..00000000
--- a/UserFunctions/vendor/composer/installers/src/Composer/Installers/ZikulaInstaller.php
+++ /dev/null
@@ -1,10 +0,0 @@
-<?php
-namespace Composer\Installers;
-
-class ZikulaInstaller extends BaseInstaller
-{
- protected $locations = array(
- 'module' => 'modules/{$vendor}-{$name}/',
- 'theme' => 'themes/{$vendor}-{$name}/'
- );
-}
diff --git a/UserFunctions/vendor/composer/installers/src/bootstrap.php b/UserFunctions/vendor/composer/installers/src/bootstrap.php
deleted file mode 100644
index 0de276ee..00000000
--- a/UserFunctions/vendor/composer/installers/src/bootstrap.php
+++ /dev/null
@@ -1,13 +0,0 @@
-<?php
-function includeIfExists($file)
-{
- if (file_exists($file)) {
- return include $file;
- }
-}
-if ((!$loader = includeIfExists(__DIR__ . '/../vendor/autoload.php')) && (!$loader = includeIfExists(__DIR__ . '/../../../autoload.php'))) {
- die('You must set up the project dependencies, run the following commands:'.PHP_EOL.
- 'curl -s http://getcomposer.org/installer | php'.PHP_EOL.
- 'php composer.phar install'.PHP_EOL);
-}
-return $loader;
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php
deleted file mode 100644
index f6e83410..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php
+++ /dev/null
@@ -1,79 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Installers\AsgardInstaller;
-use Composer\Package\Package;
-use Composer\Composer;
-
-class AsgardInstallerTest extends \PHPUnit_Framework_TestCase
-{
- /**
- * @var AsgardInstaller
- */
- private $installer;
-
- public function setUp()
- {
- $this->installer = new AsgardInstaller(
- new Package('NyanCat', '4.2', '4.2'),
- new Composer()
- );
- }
-
- /**
- * @dataProvider packageNameInflectionProvider
- */
- public function testInflectPackageVars($type, $name, $expected)
- {
- $this->assertEquals(
- array('name' => $expected, 'type' => $type),
- $this->installer->inflectPackageVars(array('name' => $name, 'type' => $type))
- );
- }
-
- public function packageNameInflectionProvider()
- {
- return array(
- // Should keep module name StudlyCase
- array(
- 'asgard-module',
- 'user-profile',
- 'UserProfile'
- ),
- array(
- 'asgard-module',
- 'asgard-module',
- 'Asgard'
- ),
- array(
- 'asgard-module',
- 'blog',
- 'Blog'
- ),
- // tests that exactly one '-module' is cut off
- array(
- 'asgard-module',
- 'some-module-module',
- 'SomeModule',
- ),
- // tests that exactly one '-theme' is cut off
- array(
- 'asgard-theme',
- 'some-theme-theme',
- 'SomeTheme',
- ),
- // tests that names without '-theme' suffix stay valid
- array(
- 'asgard-theme',
- 'someothertheme',
- 'Someothertheme',
- ),
- // Should keep theme name StudlyCase
- array(
- 'asgard-theme',
- 'adminlte-advanced',
- 'AdminlteAdvanced'
- ),
- );
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php
deleted file mode 100644
index 523e8476..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php
+++ /dev/null
@@ -1,115 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Installers\CakePHPInstaller;
-use Composer\Repository\RepositoryManager;
-use Composer\Repository\InstalledArrayRepository;
-use Composer\Package\Package;
-use Composer\Package\RootPackage;
-use Composer\Package\Link;
-use Composer\Package\Version\VersionParser;
-use Composer\Composer;
-use Composer\Config;
-
-class CakePHPInstallerTest extends TestCase
-{
- private $composer;
- private $io;
-
- /**
- * setUp
- *
- * @return void
- */
- public function setUp()
- {
- $this->package = new Package('CamelCased', '1.0', '1.0');
- $this->io = $this->getMock('Composer\IO\PackageInterface');
- $this->composer = new Composer();
- $this->composer->setConfig(new Config(false));
- }
-
- /**
- * testInflectPackageVars
- *
- * @return void
- */
- public function testInflectPackageVars()
- {
- $installer = new CakePHPInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'CamelCased'));
- $this->assertEquals($result, array('name' => 'CamelCased'));
-
- $installer = new CakePHPInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'with-dash'));
- $this->assertEquals($result, array('name' => 'WithDash'));
-
- $installer = new CakePHPInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'with_underscore'));
- $this->assertEquals($result, array('name' => 'WithUnderscore'));
-
- $installer = new CakePHPInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'cake/acl'));
- $this->assertEquals($result, array('name' => 'Cake/Acl'));
-
- $installer = new CakePHPInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'cake/debug-kit'));
- $this->assertEquals($result, array('name' => 'Cake/DebugKit'));
- }
-
- /**
- * Test getLocations returning appropriate values based on CakePHP version
- *
- */
- public function testGetLocations() {
- $package = new RootPackage('CamelCased', '1.0', '1.0');
- $composer = $this->composer;
- $rm = new RepositoryManager(
- $this->getMock('Composer\IO\IOInterface'),
- $this->getMock('Composer\Config')
- );
- $composer->setRepositoryManager($rm);
- $installer = new CakePHPInstaller($package, $composer);
-
- // 2.0 < cakephp < 3.0
- $this->setCakephpVersion($rm, '2.0.0');
- $result = $installer->getLocations();
- $this->assertContains('Plugin/', $result['plugin']);
-
- $this->setCakephpVersion($rm, '2.5.9');
- $result = $installer->getLocations();
- $this->assertContains('Plugin/', $result['plugin']);
-
- $this->setCakephpVersion($rm, '~2.5');
- $result = $installer->getLocations();
- $this->assertContains('Plugin/', $result['plugin']);
-
- // special handling for 2.x versions when 3.x is still in development
- $this->setCakephpVersion($rm, 'dev-master');
- $result = $installer->getLocations();
- $this->assertContains('Plugin/', $result['plugin']);
-
- $this->setCakephpVersion($rm, '>=2.5');
- $result = $installer->getLocations();
- $this->assertContains('Plugin/', $result['plugin']);
-
- // cakephp >= 3.0
- $this->setCakephpVersion($rm, '3.0.*-dev');
- $result = $installer->getLocations();
- $this->assertContains('vendor/{$vendor}/{$name}/', $result['plugin']);
-
- $this->setCakephpVersion($rm, '~8.8');
- $result = $installer->getLocations();
- $this->assertContains('vendor/{$vendor}/{$name}/', $result['plugin']);
- }
-
- protected function setCakephpVersion($rm, $version) {
- $parser = new VersionParser();
- list(, $version) = explode(' ', $parser->parseConstraints($version));
- $installed = new InstalledArrayRepository();
- $package = new Package('cakephp/cakephp', $version, $version);
- $installed->addPackage($package);
- $rm->setLocalRepository($installed);
- }
-
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php
deleted file mode 100644
index 9e385e6a..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php
+++ /dev/null
@@ -1,89 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Installers\DokuWikiInstaller;
-use Composer\Package\Package;
-use Composer\Composer;
-
-class DokuWikiInstallerTest extends \PHPUnit_Framework_TestCase
-{
- /**
- * @var DokuWikiInstaller
- */
- private $installer;
-
- public function setUp()
- {
- $this->installer = new DokuWikiInstaller(
- new Package('NyanCat', '4.2', '4.2'),
- new Composer()
- );
- }
-
- /**
- * @dataProvider packageNameInflectionProvider
- */
- public function testInflectPackageVars($type, $name, $expected)
- {
- $this->assertEquals(
- $this->installer->inflectPackageVars(array('name' => $name, 'type'=>$type)),
- array('name' => $expected, 'type'=>$type)
- );
- }
-
- public function packageNameInflectionProvider()
- {
- return array(
- array(
- 'dokuwiki-plugin',
- 'dokuwiki-test-plugin',
- 'test',
- ),
- array(
- 'dokuwiki-plugin',
- 'test-plugin',
- 'test',
- ),
- array(
- 'dokuwiki-plugin',
- 'dokuwiki_test',
- 'test',
- ),
- array(
- 'dokuwiki-plugin',
- 'test',
- 'test',
- ),
- array(
- 'dokuwiki-plugin',
- 'test-template',
- 'test-template',
- ),
- array(
- 'dokuwiki-template',
- 'dokuwiki-test-template',
- 'test',
- ),
- array(
- 'dokuwiki-template',
- 'test-template',
- 'test',
- ),
- array(
- 'dokuwiki-template',
- 'dokuwiki_test',
- 'test',
- ),
- array(
- 'dokuwiki-template',
- 'test',
- 'test',
- ),
- array(
- 'dokuwiki-template',
- 'test-plugin',
- 'test-plugin',
- ),
- );
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php
deleted file mode 100644
index b757799b..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/GravInstallerTest.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Composer;
-use Composer\Installers\GravInstaller;
-
-class GravInstallerTest extends TestCase
-{
- /* @var \Composer\Composer */
- protected $composer;
-
- public function setUp()
- {
- $this->composer = new Composer();
- }
-
- public function testInflectPackageVars()
- {
- $package = $this->getPackage('vendor/name', '0.0.0');
- $installer = new GravInstaller($package, $this->composer);
- $packageVars = $this->getPackageVars($package);
-
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => 'test')));
- $this->assertEquals('test', $result['name']);
-
- foreach ($installer->getLocations() as $name => $location) {
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "$name-test")));
- $this->assertEquals('test', $result['name']);
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "test-$name")));
- $this->assertEquals('test', $result['name']);
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "$name-test-test")));
- $this->assertEquals('test-test', $result['name']);
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "test-test-$name")));
- $this->assertEquals('test-test', $result['name']);
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "grav-$name-test")));
- $this->assertEquals('test', $result['name']);
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "grav-test-$name")));
- $this->assertEquals('test', $result['name']);
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "grav-$name-test-test")));
- $this->assertEquals('test-test', $result['name']);
- $result = $installer->inflectPackageVars(array_merge($packageVars, array('name' => "grav-test-test-$name")));
- $this->assertEquals('test-test', $result['name']);
- }
- }
-
- /**
- * @param $package \Composer\Package\PackageInterface
- */
- public function getPackageVars($package)
- {
- $type = $package->getType();
-
- $prettyName = $package->getPrettyName();
- if (strpos($prettyName, '/') !== false) {
- list($vendor, $name) = explode('/', $prettyName);
- } else {
- $vendor = '';
- $name = $prettyName;
- }
-
- return compact('name', 'vendor', 'type');
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php
deleted file mode 100644
index cec3e455..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php
+++ /dev/null
@@ -1,536 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Installers\Installer;
-use Composer\Util\Filesystem;
-use Composer\Package\Package;
-use Composer\Package\RootPackage;
-use Composer\Composer;
-use Composer\Config;
-
-class InstallerTest extends TestCase
-{
- private $composer;
- private $config;
- private $vendorDir;
- private $binDir;
- private $dm;
- private $repository;
- private $io;
- private $fs;
-
- /**
- * setUp
- *
- * @return void
- */
- public function setUp()
- {
- $this->fs = new Filesystem;
-
- $this->composer = new Composer();
- $this->config = new Config();
- $this->composer->setConfig($this->config);
-
- $this->vendorDir = realpath(sys_get_temp_dir()) . DIRECTORY_SEPARATOR . 'baton-test-vendor';
- $this->ensureDirectoryExistsAndClear($this->vendorDir);
-
- $this->binDir = realpath(sys_get_temp_dir()) . DIRECTORY_SEPARATOR . 'baton-test-bin';
- $this->ensureDirectoryExistsAndClear($this->binDir);
-
- $this->config->merge(array(
- 'config' => array(
- 'vendor-dir' => $this->vendorDir,
- 'bin-dir' => $this->binDir,
- ),
- ));
-
- $this->dm = $this->getMockBuilder('Composer\Downloader\DownloadManager')
- ->disableOriginalConstructor()
- ->getMock();
- $this->composer->setDownloadManager($this->dm);
-
- $this->repository = $this->getMock('Composer\Repository\InstalledRepositoryInterface');
- $this->io = $this->getMock('Composer\IO\IOInterface');
- }
-
- /**
- * tearDown
- *
- * @return void
- */
- public function tearDown()
- {
- $this->fs->removeDirectory($this->vendorDir);
- $this->fs->removeDirectory($this->binDir);
- }
-
- /**
- * testSupports
- *
- * @return void
- *
- * @dataProvider dataForTestSupport
- */
- public function testSupports($type, $expected)
- {
- $installer = new Installer($this->io, $this->composer);
- $this->assertSame($expected, $installer->supports($type), sprintf('Failed to show support for %s', $type));
- }
-
- /**
- * dataForTestSupport
- */
- public function dataForTestSupport()
- {
- return array(
- array('agl-module', true),
- array('aimeos-extension', true),
- array('annotatecms-module', true),
- array('annotatecms-component', true),
- array('annotatecms-service', true),
- array('attogram-module', true),
- array('bitrix-module', true),
- array('bitrix-component', true),
- array('bitrix-theme', true),
- array('bonefish-package', true),
- array('cakephp', false),
- array('cakephp-', false),
- array('cakephp-app', false),
- array('cakephp-plugin', true),
- array('chef-cookbook', true),
- array('chef-role', true),
- array('cockpit-module', true),
- array('codeigniter-app', false),
- array('codeigniter-library', true),
- array('codeigniter-third-party', true),
- array('codeigniter-module', true),
- array('concrete5-block', true),
- array('concrete5-package', true),
- array('concrete5-theme', true),
- array('concrete5-core', true),
- array('concrete5-update', true),
- array('craft-plugin', true),
- array('croogo-plugin', true),
- array('croogo-theme', true),
- array('decibel-app', true),
- array('dokuwiki-plugin', true),
- array('dokuwiki-template', true),
- array('drupal-module', true),
- array('dolibarr-module', true),
- array('ee3-theme', true),
- array('ee3-addon', true),
- array('ee2-theme', true),
- array('ee2-addon', true),
- array('elgg-plugin', true),
- array('eliasis-module', true),
- array('ezplatform-assets', true),
- array('ezplatform-meta-assets', true),
- array('fuel-module', true),
- array('fuel-package', true),
- array('fuel-theme', true),
- array('fuelphp-component', true),
- array('hurad-plugin', true),
- array('hurad-theme', true),
- array('imagecms-template', true),
- array('imagecms-module', true),
- array('imagecms-library', true),
- array('itop-extension', true),
- array('joomla-library', true),
- array('kanboard-plugin', true),
- array('kirby-plugin', true),
- array('kohana-module', true),
- array('lms-plugin', true),
- array('lms-template', true),
- array('lms-document-template', true),
- array('lms-userpanel-module', true),
- array('laravel-library', true),
- array('lavalite-theme', true),
- array('lavalite-package', true),
- array('lithium-library', true),
- array('magento-library', true),
- array('mako-package', true),
- array('modxevo-snippet', true),
- array('modxevo-plugin', true),
- array('modxevo-module', true),
- array('modxevo-template', true),
- array('modxevo-lib', true),
- array('mediawiki-extension', true),
- array('mediawiki-skin', true),
- array('microweber-module', true),
- array('modulework-module', true),
- array('moodle-mod', true),
- array('october-module', true),
- array('october-plugin', true),
- array('piwik-plugin', true),
- array('phpbb-extension', true),
- array('pimcore-plugin', true),
- array('plentymarkets-plugin', true),
- array('ppi-module', true),
- array('prestashop-module', true),
- array('prestashop-theme', true),
- array('puppet-module', true),
- array('porto-container', true),
- array('radphp-bundle', true),
- array('redaxo-addon', true),
- array('redaxo-bestyle-plugin', true),
- array('reindex-theme', true),
- array('reindex-plugin', true),
- array('roundcube-plugin', true),
- array('shopware-backend-plugin', true),
- array('shopware-core-plugin', true),
- array('shopware-frontend-plugin', true),
- array('shopware-theme', true),
- array('shopware-plugin', true),
- array('shopware-frontend-theme', true),
- array('silverstripe-module', true),
- array('silverstripe-theme', true),
- array('smf-module', true),
- array('smf-theme', true),
- array('sydes-module', true),
- array('sydes-theme', true),
- array('symfony1-plugin', true),
- array('thelia-module', true),
- array('thelia-frontoffice-template', true),
- array('thelia-backoffice-template', true),
- array('thelia-email-template', true),
- array('tusk-task', true),
- array('tusk-asset', true),
- array('typo3-flow-plugin', true),
- array('typo3-cms-extension', true),
- array('userfrosting-sprinkle', true),
- array('vanilla-plugin', true),
- array('vanilla-theme', true),
- array('whmcs-gateway', true),
- array('wolfcms-plugin', true),
- array('wordpress-plugin', true),
- array('wordpress-core', false),
- array('yawik-module', true),
- array('zend-library', true),
- array('zikula-module', true),
- array('zikula-theme', true),
- array('kodicms-plugin', true),
- array('kodicms-media', true),
- array('phifty-bundle', true),
- array('phifty-library', true),
- array('phifty-framework', true),
- array('osclass-plugin', true),
- array('osclass-theme', true),
- array('osclass-language', true),
- );
- }
-
- /**
- * testInstallPath
- *
- * @dataProvider dataForTestInstallPath
- */
- public function testInstallPath($type, $path, $name, $version = '1.0.0')
- {
- $installer = new Installer($this->io, $this->composer);
- $package = new Package($name, $version, $version);
-
- $package->setType($type);
- $result = $installer->getInstallPath($package);
- $this->assertEquals($path, $result);
- }
-
- /**
- * dataFormTestInstallPath
- */
- public function dataForTestInstallPath()
- {
- return array(
- array('agl-module', 'More/MyTestPackage/', 'agl/my_test-package'),
- array('aimeos-extension', 'ext/ai-test/', 'author/ai-test'),
- array('annotatecms-module', 'addons/modules/my_module/', 'vysinsky/my_module'),
- array('annotatecms-component', 'addons/components/my_component/', 'vysinsky/my_component'),
- array('annotatecms-service', 'addons/services/my_service/', 'vysinsky/my_service'),
- array('attogram-module', 'modules/my_module/', 'author/my_module'),
- array('bitrix-module', 'bitrix/modules/my_module/', 'author/my_module'),
- array('bitrix-component', 'bitrix/components/my_component/', 'author/my_component'),
- array('bitrix-theme', 'bitrix/templates/my_theme/', 'author/my_theme'),
- array('bitrix-d7-module', 'bitrix/modules/author.my_module/', 'author/my_module'),
- array('bitrix-d7-component', 'bitrix/components/author/my_component/', 'author/my_component'),
- array('bitrix-d7-template', 'bitrix/templates/author_my_template/', 'author/my_template'),
- array('bonefish-package', 'Packages/bonefish/package/', 'bonefish/package'),
- array('cakephp-plugin', 'Plugin/Ftp/', 'shama/ftp'),
- array('chef-cookbook', 'Chef/mre/my_cookbook/', 'mre/my_cookbook'),
- array('chef-role', 'Chef/roles/my_role/', 'mre/my_role'),
- array('cockpit-module', 'cockpit/modules/addons/My_module/', 'piotr-cz/cockpit-my_module'),
- array('codeigniter-library', 'application/libraries/my_package/', 'shama/my_package'),
- array('codeigniter-module', 'application/modules/my_package/', 'shama/my_package'),
- array('concrete5-block', 'application/blocks/concrete5_block/', 'remo/concrete5_block'),
- array('concrete5-package', 'packages/concrete5_package/', 'remo/concrete5_package'),
- array('concrete5-theme', 'application/themes/concrete5_theme/', 'remo/concrete5_theme'),
- array('concrete5-core', 'concrete/', 'concrete5/core'),
- array('concrete5-update', 'updates/concrete5/', 'concrete5/concrete5'),
- array('craft-plugin', 'craft/plugins/my_plugin/', 'mdcpepper/my_plugin'),
- array('croogo-plugin', 'Plugin/Sitemaps/', 'fahad19/sitemaps'),
- array('croogo-theme', 'View/Themed/Readable/', 'rchavik/readable'),
- array('decibel-app', 'app/someapp/', 'author/someapp'),
- array('dokuwiki-plugin', 'lib/plugins/someplugin/', 'author/someplugin'),
- array('dokuwiki-template', 'lib/tpl/sometemplate/', 'author/sometemplate'),
- array('dolibarr-module', 'htdocs/custom/my_module/', 'shama/my_module'),
- array('drupal-module', 'modules/my_module/', 'shama/my_module'),
- array('drupal-theme', 'themes/my_module/', 'shama/my_module'),
- array('drupal-profile', 'profiles/my_module/', 'shama/my_module'),
- array('drupal-drush', 'drush/my_module/', 'shama/my_module'),
- array('elgg-plugin', 'mod/sample_plugin/', 'test/sample_plugin'),
- array('eliasis-module', 'modules/my_module/', 'shama/my_module'),
- array('ee3-addon', 'system/user/addons/ee_theme/', 'author/ee_theme'),
- array('ee3-theme', 'themes/user/ee_package/', 'author/ee_package'),
- array('ee2-addon', 'system/expressionengine/third_party/ee_theme/', 'author/ee_theme'),
- array('ee2-theme', 'themes/third_party/ee_package/', 'author/ee_package'),
- array('ezplatform-assets', 'web/assets/ezplatform/ezplatform_comp/', 'author/ezplatform_comp'),
- array('ezplatform-meta-assets', 'web/assets/ezplatform/', 'author/ezplatform_comp'),
- array('fuel-module', 'fuel/app/modules/module/', 'fuel/module'),
- array('fuel-package', 'fuel/packages/orm/', 'fuel/orm'),
- array('fuel-theme', 'fuel/app/themes/theme/', 'fuel/theme'),
- array('fuelphp-component', 'components/demo/', 'fuelphp/demo'),
- array('hurad-plugin', 'plugins/Akismet/', 'atkrad/akismet'),
- array('hurad-theme', 'plugins/Hurad2013/', 'atkrad/Hurad2013'),
- array('imagecms-template', 'templates/my_template/', 'shama/my_template'),
- array('imagecms-module', 'application/modules/my_module/', 'shama/my_module'),
- array('imagecms-library', 'application/libraries/my_library/', 'shama/my_library'),
- array('itop-extension', 'extensions/my_extension/', 'shama/my_extension'),
- array('joomla-plugin', 'plugins/my_plugin/', 'shama/my_plugin'),
- array('kanboard-plugin', 'plugins/my_plugin/', 'shama/my_plugin'),
- array('kirby-plugin', 'site/plugins/my_plugin/', 'shama/my_plugin'),
- array('kohana-module', 'modules/my_package/', 'shama/my_package'),
- array('lms-plugin', 'plugins/MyPackage/', 'shama/MyPackage'),
- array('lms-plugin', 'plugins/MyPackage/', 'shama/my_package'),
- array('lms-template', 'templates/MyPackage/', 'shama/MyPackage'),
- array('lms-template', 'templates/MyPackage/', 'shama/my_package'),
- array('lms-document-template', 'documents/templates/MyPackage/', 'shama/MyPackage'),
- array('lms-document-template', 'documents/templates/MyPackage/', 'shama/my_package'),
- array('lms-userpanel-module', 'userpanel/modules/MyPackage/', 'shama/MyPackage'),
- array('lms-userpanel-module', 'userpanel/modules/MyPackage/', 'shama/my_package'),
- array('laravel-library', 'libraries/my_package/', 'shama/my_package'),
- array('lavalite-theme', 'public/themes/my_theme/', 'shama/my_theme'),
- array('lavalite-package', 'packages/my_group/my_package/', 'my_group/my_package'),
- array('lithium-library', 'libraries/li3_test/', 'user/li3_test'),
- array('magento-library', 'lib/foo/', 'test/foo'),
- array('modxevo-snippet', 'assets/snippets/my_snippet/', 'shama/my_snippet'),
- array('modxevo-plugin', 'assets/plugins/my_plugin/', 'shama/my_plugin'),
- array('modxevo-module', 'assets/modules/my_module/', 'shama/my_module'),
- array('modxevo-template', 'assets/templates/my_template/', 'shama/my_template'),
- array('modxevo-lib', 'assets/lib/my_lib/', 'shama/my_lib'),
- array('mako-package', 'app/packages/my_package/', 'shama/my_package'),
- array('mediawiki-extension', 'extensions/APC/', 'author/APC'),
- array('mediawiki-extension', 'extensions/APC/', 'author/APC-extension'),
- array('mediawiki-extension', 'extensions/UploadWizard/', 'author/upload-wizard'),
- array('mediawiki-extension', 'extensions/SyntaxHighlight_GeSHi/', 'author/syntax-highlight_GeSHi'),
- array('mediawiki-skin', 'skins/someskin/', 'author/someskin-skin'),
- array('mediawiki-skin', 'skins/someskin/', 'author/someskin'),
- array('microweber-module', 'userfiles/modules/my-thing/', 'author/my-thing-module'),
- array('modulework-module', 'modules/my_package/', 'shama/my_package'),
- array('moodle-mod', 'mod/my_package/', 'shama/my_package'),
- array('october-module', 'modules/my_plugin/', 'shama/my_plugin'),
- array('october-plugin', 'plugins/shama/my_plugin/', 'shama/my_plugin'),
- array('october-theme', 'themes/my_theme/', 'shama/my_theme'),
- array('piwik-plugin', 'plugins/VisitSummary/', 'shama/visit-summary'),
- array('prestashop-module', 'modules/a-module/', 'vendor/a-module'),
- array('prestashop-theme', 'themes/a-theme/', 'vendor/a-theme'),
- array('phpbb-extension', 'ext/test/foo/', 'test/foo'),
- array('phpbb-style', 'styles/foo/', 'test/foo'),
- array('phpbb-language', 'language/foo/', 'test/foo'),
- array('pimcore-plugin', 'plugins/MyPlugin/', 'ubikz/my_plugin'),
- array('plentymarkets-plugin', 'HelloWorld/', 'plugin-hello-world'),
- array('ppi-module', 'modules/foo/', 'test/foo'),
- array('puppet-module', 'modules/puppet-name/', 'puppet/puppet-name'),
- array('porto-container', 'app/Containers/container-name/', 'test/container-name'),
- array('radphp-bundle', 'src/Migration/', 'atkrad/migration'),
- array('redaxo-addon', 'redaxo/include/addons/my_plugin/', 'shama/my_plugin'),
- array('redaxo-bestyle-plugin', 'redaxo/include/addons/be_style/plugins/my_plugin/', 'shama/my_plugin'),
- array('reindex-theme', 'themes/my_module/', 'author/my_module'),
- array('reindex-plugin', 'plugins/my_module/', 'author/my_module'),
- array('roundcube-plugin', 'plugins/base/', 'test/base'),
- array('roundcube-plugin', 'plugins/replace_dash/', 'test/replace-dash'),
- array('shopware-backend-plugin', 'engine/Shopware/Plugins/Local/Backend/ShamaMyBackendPlugin/', 'shama/my-backend-plugin'),
- array('shopware-core-plugin', 'engine/Shopware/Plugins/Local/Core/ShamaMyCorePlugin/', 'shama/my-core-plugin'),
- array('shopware-frontend-plugin', 'engine/Shopware/Plugins/Local/Frontend/ShamaMyFrontendPlugin/', 'shama/my-frontend-plugin'),
- array('shopware-theme', 'templates/my_theme/', 'shama/my-theme'),
- array('shopware-frontend-theme', 'themes/Frontend/ShamaMyFrontendTheme/', 'shama/my-frontend-theme'),
- array('shopware-plugin', 'custom/plugins/ShamaMyPlugin/', 'shama/my-plugin'),
- array('silverstripe-module', 'my_module/', 'shama/my_module'),
- array('silverstripe-module', 'sapphire/', 'silverstripe/framework', '2.4.0'),
- array('silverstripe-module', 'framework/', 'silverstripe/framework', '3.0.0'),
- array('silverstripe-module', 'framework/', 'silverstripe/framework', '3.0.0-rc1'),
- array('silverstripe-module', 'framework/', 'silverstripe/framework', 'my/branch'),
- array('silverstripe-theme', 'themes/my_theme/', 'shama/my_theme'),
- array('smf-module', 'Sources/my_module/', 'shama/my_module'),
- array('smf-theme', 'Themes/my_theme/', 'shama/my_theme'),
- array('symfony1-plugin', 'plugins/sfShamaPlugin/', 'shama/sfShamaPlugin'),
- array('symfony1-plugin', 'plugins/sfShamaPlugin/', 'shama/sf-shama-plugin'),
- array('thelia-module', 'local/modules/my_module/', 'shama/my_module'),
- array('thelia-frontoffice-template', 'templates/frontOffice/my_template_fo/', 'shama/my_template_fo'),
- array('thelia-backoffice-template', 'templates/backOffice/my_template_bo/', 'shama/my_template_bo'),
- array('thelia-email-template', 'templates/email/my_template_email/', 'shama/my_template_email'),
- array('tusk-task', '.tusk/tasks/my_task/', 'shama/my_task'),
- array('typo3-flow-package', 'Packages/Application/my_package/', 'shama/my_package'),
- array('typo3-flow-build', 'Build/my_package/', 'shama/my_package'),
- array('typo3-cms-extension', 'typo3conf/ext/my_extension/', 'shama/my_extension'),
- array('userfrosting-sprinkle', 'app/sprinkles/my_sprinkle/', 'shama/my_sprinkle'),
- array('vanilla-plugin', 'plugins/my_plugin/', 'shama/my_plugin'),
- array('vanilla-theme', 'themes/my_theme/', 'shama/my_theme'),
- array('whmcs-gateway', 'modules/gateways/gateway_name/', 'vendor/gateway_name'),
- array('wolfcms-plugin', 'wolf/plugins/my_plugin/', 'shama/my_plugin'),
- array('wordpress-plugin', 'wp-content/plugins/my_plugin/', 'shama/my_plugin'),
- array('wordpress-muplugin', 'wp-content/mu-plugins/my_plugin/', 'shama/my_plugin'),
- array('zend-extra', 'extras/library/zend_test/', 'shama/zend_test'),
- array('zikula-module', 'modules/my-test_module/', 'my/test_module'),
- array('zikula-theme', 'themes/my-test_theme/', 'my/test_theme'),
- array('kodicms-media', 'cms/media/vendor/my_media/', 'shama/my_media'),
- array('kodicms-plugin', 'cms/plugins/my_plugin/', 'shama/my_plugin'),
- array('phifty-bundle', 'bundles/core/', 'shama/core'),
- array('phifty-library', 'libraries/my-lib/', 'shama/my-lib'),
- array('phifty-framework', 'frameworks/my-framework/', 'shama/my-framework'),
- array('yawik-module', 'module/MyModule/', 'shama/my_module'),
- array('osclass-plugin', 'oc-content/plugins/sample_plugin/', 'test/sample_plugin'),
- array('osclass-theme', 'oc-content/themes/sample_theme/', 'test/sample_theme'),
- array('osclass-language', 'oc-content/languages/sample_lang/', 'test/sample_lang'),
- );
- }
-
- /**
- * testGetCakePHPInstallPathException
- *
- * @return void
- *
- * @expectedException \InvalidArgumentException
- */
- public function testGetCakePHPInstallPathException()
- {
- $installer = new Installer($this->io, $this->composer);
- $package = new Package('shama/ftp', '1.0.0', '1.0.0');
-
- $package->setType('cakephp-whoops');
- $result = $installer->getInstallPath($package);
- }
-
- /**
- * testCustomInstallPath
- */
- public function testCustomInstallPath()
- {
- $installer = new Installer($this->io, $this->composer);
- $package = new Package('shama/ftp', '1.0.0', '1.0.0');
- $package->setType('cakephp-plugin');
- $consumerPackage = new RootPackage('foo/bar', '1.0.0', '1.0.0');
- $this->composer->setPackage($consumerPackage);
- $consumerPackage->setExtra(array(
- 'installer-paths' => array(
- 'my/custom/path/{$name}/' => array(
- 'shama/ftp',
- 'foo/bar',
- ),
- ),
- ));
- $result = $installer->getInstallPath($package);
- $this->assertEquals('my/custom/path/Ftp/', $result);
- }
-
- /**
- * testCustomInstallerName
- */
- public function testCustomInstallerName()
- {
- $installer = new Installer($this->io, $this->composer);
- $package = new Package('shama/cakephp-ftp-plugin', '1.0.0', '1.0.0');
- $package->setType('cakephp-plugin');
- $package->setExtra(array(
- 'installer-name' => 'FTP',
- ));
- $result = $installer->getInstallPath($package);
- $this->assertEquals('Plugin/FTP/', $result);
- }
-
- /**
- * testCustomTypePath
- */
- public function testCustomTypePath()
- {
- $installer = new Installer($this->io, $this->composer);
- $package = new Package('slbmeh/my_plugin', '1.0.0', '1.0.0');
- $package->setType('wordpress-plugin');
- $consumerPackage = new RootPackage('foo/bar', '1.0.0', '1.0.0');
- $this->composer->setPackage($consumerPackage);
- $consumerPackage->setExtra(array(
- 'installer-paths' => array(
- 'my/custom/path/{$name}/' => array(
- 'type:wordpress-plugin'
- ),
- ),
- ));
- $result = $installer->getInstallPath($package);
- $this->assertEquals('my/custom/path/my_plugin/', $result);
- }
-
- /**
- * testVendorPath
- */
- public function testVendorPath()
- {
- $installer = new Installer($this->io, $this->composer);
- $package = new Package('penyaskito/my_module', '1.0.0', '1.0.0');
- $package->setType('drupal-module');
- $consumerPackage = new RootPackage('drupal/drupal', '1.0.0', '1.0.0');
- $this->composer->setPackage($consumerPackage);
- $consumerPackage->setExtra(array(
- 'installer-paths' => array(
- 'modules/custom/{$name}/' => array(
- 'vendor:penyaskito'
- ),
- ),
- ));
- $result = $installer->getInstallPath($package);
- $this->assertEquals('modules/custom/my_module/', $result);
- }
-
- /**
- * testNoVendorName
- */
- public function testNoVendorName()
- {
- $installer = new Installer($this->io, $this->composer);
- $package = new Package('sfPhpunitPlugin', '1.0.0', '1.0.0');
-
- $package->setType('symfony1-plugin');
- $result = $installer->getInstallPath($package);
- $this->assertEquals('plugins/sfPhpunitPlugin/', $result);
- }
-
- /**
- * testTypo3Inflection
- */
- public function testTypo3Inflection()
- {
- $installer = new Installer($this->io, $this->composer);
- $package = new Package('typo3/fluid', '1.0.0', '1.0.0');
-
- $package->setAutoload(array(
- 'psr-0' => array(
- 'TYPO3\\Fluid' => 'Classes',
- ),
- ));
-
- $package->setType('typo3-flow-package');
- $result = $installer->getInstallPath($package);
- $this->assertEquals('Packages/Application/TYPO3.Fluid/', $result);
- }
-
- public function testUninstallAndDeletePackageFromLocalRepo()
- {
- $package = new Package('foo', '1.0.0', '1.0.0');
-
- $installer = $this->getMock('Composer\Installers\Installer', array('getInstallPath'), array($this->io, $this->composer));
- $installer->expects($this->once())->method('getInstallPath')->with($package)->will($this->returnValue(sys_get_temp_dir().'/foo'));
-
- $repo = $this->getMock('Composer\Repository\InstalledRepositoryInterface');
- $repo->expects($this->once())->method('hasPackage')->with($package)->will($this->returnValue(true));
- $repo->expects($this->once())->method('removePackage')->with($package);
-
- $installer->uninstall($repo, $package);
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php
deleted file mode 100644
index 3675e188..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php
+++ /dev/null
@@ -1,66 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Installers\MediaWikiInstaller;
-use Composer\Package\Package;
-use Composer\Composer;
-
-class MediaWikiInstallerTest extends \PHPUnit_Framework_TestCase
-{
- /**
- * @var MediaWikiInstaller
- */
- private $installer;
-
- public function setUp()
- {
- $this->installer = new MediaWikiInstaller(
- new Package('NyanCat', '4.2', '4.2'),
- new Composer()
- );
- }
-
- /**
- * @dataProvider packageNameInflectionProvider
- */
- public function testInflectPackageVars($type, $name, $expected)
- {
- $this->assertEquals(
- $this->installer->inflectPackageVars(array('name' => $name, 'type'=>$type)),
- array('name' => $expected, 'type'=>$type)
- );
- }
-
- public function packageNameInflectionProvider()
- {
- return array(
- array(
- 'mediawiki-extension',
- 'sub-page-list',
- 'SubPageList',
- ),
- array(
- 'mediawiki-extension',
- 'sub-page-list-extension',
- 'SubPageList',
- ),
- array(
- 'mediawiki-extension',
- 'semantic-mediawiki',
- 'SemanticMediawiki',
- ),
- // tests that exactly one '-skin' is cut off, and that skins do not get ucwords treatment like extensions
- array(
- 'mediawiki-skin',
- 'some-skin-skin',
- 'some-skin',
- ),
- // tests that names without '-skin' suffix stay valid
- array(
- 'mediawiki-skin',
- 'someotherskin',
- 'someotherskin',
- ),
- );
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php
deleted file mode 100644
index fd427cdc..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php
+++ /dev/null
@@ -1,66 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Installers\OctoberInstaller;
-use Composer\Package\Package;
-use Composer\Composer;
-
-class OctoberInstallerTest extends \PHPUnit_Framework_TestCase
-{
- /**
- * @var OctoberInstaller
- */
- private $installer;
-
- public function setUp()
- {
- $this->installer = new OctoberInstaller(
- new Package('NyanCat', '4.2', '4.2'),
- new Composer()
- );
- }
-
- /**
- * @dataProvider packageNameInflectionProvider
- */
- public function testInflectPackageVars($type, $name, $expected)
- {
- $this->assertEquals(
- $this->installer->inflectPackageVars(array('name' => $name, 'type' => $type)),
- array('name' => $expected, 'type' => $type)
- );
- }
-
- public function packageNameInflectionProvider()
- {
- return array(
- array(
- 'october-plugin',
- 'subpagelist',
- 'subpagelist',
- ),
- array(
- 'october-plugin',
- 'subpagelist-plugin',
- 'subpagelist',
- ),
- array(
- 'october-plugin',
- 'semanticoctober',
- 'semanticoctober',
- ),
- // tests that exactly one '-theme' is cut off
- array(
- 'october-theme',
- 'some-theme-theme',
- 'some-theme',
- ),
- // tests that names without '-theme' suffix stay valid
- array(
- 'october-theme',
- 'someothertheme',
- 'someothertheme',
- ),
- );
- }
-} \ No newline at end of file
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php
deleted file mode 100644
index ea79374b..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PimcoreInstallerTest.php
+++ /dev/null
@@ -1,44 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Installers\PimcoreInstaller;
-use Composer\Package\Package;
-use Composer\Composer;
-
-class PimcoreInstallerTest extends TestCase
-{
- private $composer;
- private $io;
-
- /**
- * setUp
- *
- * @return void
- */
- public function setUp()
- {
- $this->package = new Package('CamelCased', '1.0', '1.0');
- $this->io = $this->getMock('Composer\IO\PackageInterface');
- $this->composer = new Composer();
- }
-
- /**
- * testInflectPackageVars
- *
- * @return void
- */
- public function testInflectPackageVars()
- {
- $installer = new PimcoreInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'CamelCased'));
- $this->assertEquals($result, array('name' => 'CamelCased'));
-
- $installer = new PimcoreInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'with-dash'));
- $this->assertEquals($result, array('name' => 'WithDash'));
-
- $installer = new PimcoreInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'with_underscore'));
- $this->assertEquals($result, array('name' => 'WithUnderscore'));
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php
deleted file mode 100644
index 8d9ff3f8..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/PiwikInstallerTest.php
+++ /dev/null
@@ -1,63 +0,0 @@
-<?php
-namespace Composer\Installers\Test;
-
-use Composer\Composer;
-use Composer\Installers\PiwikInstaller;
-use Composer\Package\Package;
-use Composer\Package\PackageInterface;
-
-/**
- * Class PiwikInstallerTest
- *
- * @package Composer\Installers\Test
- */
-class PiwikInstallerTest extends TestCase
-{
- /**
- * @varComposer
- */
- private $composer;
-
- /**
- * @var PackageInterface
- */
- private $io;
-
- /**
- * @var Package
- */
- private $package;
-
- /**
- * setUp
- *
- * @return void
- */
- public function setUp()
- {
- $this->package = new Package('VisitSummary', '1.0', '1.0');
- $this->io = $this->getMock('Composer\IO\PackageInterface');
- $this->composer = new Composer();
- }
-
- /**
- * testInflectPackageVars
- *
- * @return void
- */
- public function testInflectPackageVars()
- {
- $installer = new PiwikInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'VisitSummary'));
- $this->assertEquals($result, array('name' => 'VisitSummary'));
-
- $installer = new PiwikInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'visit-summary'));
- $this->assertEquals($result, array('name' => 'VisitSummary'));
-
- $installer = new PiwikInstaller($this->package, $this->composer);
- $result = $installer->inflectPackageVars(array('name' => 'visit_summary'));
- $this->assertEquals($result, array('name' => 'VisitSummary'));
- }
-
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php b/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php
deleted file mode 100644
index 6418a03b..00000000
--- a/UserFunctions/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php
+++ /dev/null
@@ -1,64 +0,0 @@
-<?php
-
-/*
- * This file is part of Composer.
- *
- * (c) Nils Adermann <naderman@naderman.de>
- * Jordi Boggiano <j.boggiano@seld.be>
- *
- * For the full copyright and license information, please view the LICENSE
- * file that was distributed with this source code.
- */
-
-namespace Composer\Installers\Test;
-
-use Composer\Package\Version\VersionParser;
-use Composer\Package\Package;
-use Composer\Package\AliasPackage;
-use Composer\Package\LinkConstraint\VersionConstraint;
-use Composer\Util\Filesystem;
-
-abstract class TestCase extends \PHPUnit_Framework_TestCase
-{
- private static $parser;
-
- protected static function getVersionParser()
- {
- if (!self::$parser) {
- self::$parser = new VersionParser();
- }
-
- return self::$parser;
- }
-
- protected function getVersionConstraint($operator, $version)
- {
- return new VersionConstraint(
- $operator,
- self::getVersionParser()->normalize($version)
- );
- }
-
- protected function getPackage($name, $version)
- {
- $normVersion = self::getVersionParser()->normalize($version);
-
- return new Package($name, $normVersion, $version);
- }
-
- protected function getAliasPackage($package, $version)
- {
- $normVersion = self::getVersionParser()->normalize($version);
-
- return new AliasPackage($package, $normVersion, $version);
- }
-
- protected function ensureDirectoryExistsAndClear($directory)
- {
- $fs = new Filesystem();
- if (is_dir($directory)) {
- $fs->removeDirectory($directory);
- }
- mkdir($directory, 0777, true);
- }
-}
diff --git a/UserFunctions/vendor/composer/installers/tests/bootstrap.php b/UserFunctions/vendor/composer/installers/tests/bootstrap.php
deleted file mode 100644
index 30c8fdc6..00000000
--- a/UserFunctions/vendor/composer/installers/tests/bootstrap.php
+++ /dev/null
@@ -1,4 +0,0 @@
-<?php
-
-$loader = require __DIR__ . '/../src/bootstrap.php';
-$loader->add('Composer\Installers\Test', __DIR__);
diff --git a/UserFunctions/version b/UserFunctions/version
index 37355fd3..32a5d886 100644
--- a/UserFunctions/version
+++ b/UserFunctions/version
@@ -1,4 +1,4 @@
-UserFunctions: REL1_30
-2017-09-21T22:23:58
+UserFunctions: REL1_32
+2018-10-17T02:40:29
-5eda8c9
+bc716c9