Plugin Directory

Changeset 1824282


Ignore:
Timestamp:
02/19/2018 01:39:12 AM (8 years ago)
Author:
nekojira
Message:

Committing 1.5.1 to trunk

Location:
wp-php-console/trunk
Files:
38 added
30 edited

Legend:

Unmodified
Added
Removed
  • wp-php-console/trunk/includes/class-wp-php-console.php

    r1429928 r1824282  
    2828     * @const string
    2929     */
    30     CONST VERSION = '1.5.0';
     30    CONST VERSION = '1.5.1';
    3131
    3232    /**
  • wp-php-console/trunk/readme.txt

    r1429928 r1824282  
    44Tags: dev, development, bug, debug, debugging, stacktrace, php, console, terminal, browser
    55Requires at least: 3.6.0
    6 Tested up to: 4.5.2
    7 Stable tag: 1.5.0
     6Tested up to: 4.9
     7Stable tag: 1.5.1
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1818This implementation of PHP Console is a handy tool to make it easier to test on the fly any WordPress specific function or class (including those introduced by your active theme and plugins!) from a terminal and inspect results, catch errors and warnings with complete call stack trace straight from the Chrome JavaScript console. In other words, besides debugging, you can execute PHP or WordPress-specific PHP code straight from the terminal and print PHP variables in Chrome Dev Tools JavaScript console along with your normal JavaScript debugging and testing. Keep everything in one place, without leaving the browser to check for your logs or writing temporary PHP test code on a PHP file and refresh your browser page.
    1919
    20 Note: PHP version 5.4.0 or above is required to use this plugin. 
     20Note: PHP version 5.4.0 or above is required to use this plugin.
    2121
    2222For support and pull requests, please refer to [WP PHP Console GitHub repo](https://github.com/unfulvio/wp-php-console) and read the instructions there - thank you.
     
    4444= Options =
    4545
    46 **Allow only on SSL** 
     46**Allow only on SSL**
    4747Forces PHP Console to connect on a SSL connection only (of course then if you don't actually have SSL (https), PHP Console simply won't work).
    4848
     
    8787= Will there be items logged in my debug.log files when a PHP error occurs? =
    8888
    89 Generally no, WP PHP Console will intercept those. However, it's always a good idea to keep an eye on the logs too. Furthermore, WP PHP Console is unable to catch many server errors that result in a 500 error code on the browser. For those you may have traces left in the debug.log file. 
     89Generally no, WP PHP Console will intercept those. However, it's always a good idea to keep an eye on the logs too. Furthermore, WP PHP Console is unable to catch many server errors that result in a 500 error code on the browser. For those you may have traces left in the debug.log file.
    9090
    9191= Why are PHP arrays shown as objects? =
     
    128128== Changelog ==
    129129
     130= 1.5.1 =
     131* Misc: Bump WordPress compatibility to mark support for the latest versions
     132
    130133= 1.5.0 =
    131134* Fix: Fixes "PHP Warning: session_start(): Cannot send session cache limiter - headers already sent" notice in logs
    132 * Misc: Internal changes, new Settings class, deprecated methods and properties in main Plugin class 
     135* Misc: Internal changes, new Settings class, deprecated methods and properties in main Plugin class
    133136* Misc: Updated PHP Console Library to 3.1.6
    134137* Misc: Tested up to WordPress 4.5.2
     
    144147
    145148= 1.3.8 =
    146 * Misc: Internal changes (alternate PHP version check, automated SVN deploys) 
     149* Misc: Internal changes (alternate PHP version check, automated SVN deploys)
    147150
    148151= 1.3.7 =
  • wp-php-console/trunk/vendor/autoload.php

    r1325684 r1824282  
    33// autoload.php @generated by Composer
    44
    5 require_once __DIR__ . '/composer' . '/autoload_real.php';
     5require_once __DIR__ . '/composer/autoload_real.php';
    66
    77return ComposerAutoloaderInit1edcb1aab573ff079cc179225fa20fd1::getLoader();
  • wp-php-console/trunk/vendor/autoload_52.php

    r1429928 r1824282  
    55require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php';
    66
    7 return ComposerAutoloaderInit504a8155cd6d202df3b0ee6eed43c5bf::getLoader();
     7return ComposerAutoloaderInit2503c7f476e766eba936ff04c58392e4::getLoader();
  • wp-php-console/trunk/vendor/composer/ClassLoader.php

    r1325684 r1824282  
    5454    private $useIncludePath = false;
    5555    private $classMap = array();
    56 
    5756    private $classMapAuthoritative = false;
     57    private $missingClasses = array();
     58    private $apcuPrefix;
    5859
    5960    public function getPrefixes()
     
    273274
    274275    /**
     276     * APCu prefix to use to cache found/not-found classes, if the extension is enabled.
     277     *
     278     * @param string|null $apcuPrefix
     279     */
     280    public function setApcuPrefix($apcuPrefix)
     281    {
     282        $this->apcuPrefix = function_exists('apcu_fetch') && ini_get('apc.enabled') ? $apcuPrefix : null;
     283    }
     284
     285    /**
     286     * The APCu prefix in use, or null if APCu caching is not enabled.
     287     *
     288     * @return string|null
     289     */
     290    public function getApcuPrefix()
     291    {
     292        return $this->apcuPrefix;
     293    }
     294
     295    /**
    275296     * Registers this instance as an autoloader.
    276297     *
     
    314335    public function findFile($class)
    315336    {
    316         // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731
    317         if ('\\' == $class[0]) {
    318             $class = substr($class, 1);
    319         }
    320 
    321337        // class map lookup
    322338        if (isset($this->classMap[$class])) {
    323339            return $this->classMap[$class];
    324340        }
    325         if ($this->classMapAuthoritative) {
     341        if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) {
    326342            return false;
    327343        }
     344        if (null !== $this->apcuPrefix) {
     345            $file = apcu_fetch($this->apcuPrefix.$class, $hit);
     346            if ($hit) {
     347                return $file;
     348            }
     349        }
    328350
    329351        $file = $this->findFileWithExtension($class, '.php');
    330352
    331353        // Search for Hack files if we are running on HHVM
    332         if ($file === null && defined('HHVM_VERSION')) {
     354        if (false === $file && defined('HHVM_VERSION')) {
    333355            $file = $this->findFileWithExtension($class, '.hh');
    334356        }
    335357
    336         if ($file === null) {
     358        if (null !== $this->apcuPrefix) {
     359            apcu_add($this->apcuPrefix.$class, $file);
     360        }
     361
     362        if (false === $file) {
    337363            // Remember that this class does not exist.
    338             return $this->classMap[$class] = false;
     364            $this->missingClasses[$class] = true;
    339365        }
    340366
     
    349375        $first = $class[0];
    350376        if (isset($this->prefixLengthsPsr4[$first])) {
    351             foreach ($this->prefixLengthsPsr4[$first] as $prefix => $length) {
    352                 if (0 === strpos($class, $prefix)) {
    353                     foreach ($this->prefixDirsPsr4[$prefix] as $dir) {
    354                         if (file_exists($file = $dir . DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $length))) {
     377            $subPath = $class;
     378            while (false !== $lastPos = strrpos($subPath, '\\')) {
     379                $subPath = substr($subPath, 0, $lastPos);
     380                $search = $subPath.'\\';
     381                if (isset($this->prefixDirsPsr4[$search])) {
     382                    $pathEnd = DIRECTORY_SEPARATOR . substr($logicalPathPsr4, $lastPos + 1);
     383                    foreach ($this->prefixDirsPsr4[$search] as $dir) {
     384                        if (file_exists($file = $dir . $pathEnd)) {
    355385                            return $file;
    356386                        }
     
    400430            return $file;
    401431        }
     432
     433        return false;
    402434    }
    403435}
  • wp-php-console/trunk/vendor/composer/LICENSE

    r1429928 r1824282  
    1 
    2 Copyright (c) 2016 Nils Adermann, Jordi Boggiano
     1Copyright (c) Nils Adermann, Jordi Boggiano
    32
    43Permission is hereby granted, free of charge, to any person obtaining a copy
     
    1918OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
    2019THE SOFTWARE.
    21 
  • wp-php-console/trunk/vendor/composer/autoload_classmap.php

    r1429928 r1824282  
    1111    'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php',
    1212    'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php',
     13    'Composer\\Installers\\AttogramInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AttogramInstaller.php',
    1314    'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php',
    1415    'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php',
     
    1718    'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php',
    1819    'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php',
     20    'Composer\\Installers\\CockpitInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CockpitInstaller.php',
    1921    'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php',
    2022    'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php',
    2123    'Composer\\Installers\\CraftInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php',
    2224    'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php',
     25    'Composer\\Installers\\DecibelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DecibelInstaller.php',
    2326    'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php',
    2427    'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php',
    2528    'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php',
    2629    'Composer\\Installers\\ElggInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ElggInstaller.php',
     30    'Composer\\Installers\\EliasisInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EliasisInstaller.php',
     31    'Composer\\Installers\\ExpressionEngineInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php',
     32    'Composer\\Installers\\EzPlatformInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/EzPlatformInstaller.php',
    2733    'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php',
    2834    'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php',
     
    3137    'Composer\\Installers\\ImageCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php',
    3238    'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php',
     39    'Composer\\Installers\\ItopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ItopInstaller.php',
    3340    'Composer\\Installers\\JoomlaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php',
     41    'Composer\\Installers\\KanboardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KanboardInstaller.php',
    3442    'Composer\\Installers\\KirbyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php',
    3543    'Composer\\Installers\\KodiCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php',
    3644    'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php',
     45    'Composer\\Installers\\LanManagementSystemInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php',
    3746    'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php',
     47    'Composer\\Installers\\LavaLiteInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php',
    3848    'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php',
    3949    'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php',
    4050    'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php',
    4151    'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php',
     52    'Composer\\Installers\\MajimaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MajimaInstaller.php',
    4253    'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php',
    4354    'Composer\\Installers\\MauticInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php',
     55    'Composer\\Installers\\MayaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MayaInstaller.php',
    4456    'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php',
    4557    'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php',
     58    'Composer\\Installers\\ModxInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ModxInstaller.php',
    4659    'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php',
    4760    'Composer\\Installers\\OctoberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OctoberInstaller.php',
     61    'Composer\\Installers\\OntoWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OntoWikiInstaller.php',
     62    'Composer\\Installers\\OsclassInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OsclassInstaller.php',
    4863    'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php',
    4964    'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php',
     65    'Composer\\Installers\\PhiftyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php',
    5066    'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php',
    5167    'Composer\\Installers\\PimcoreInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php',
    5268    'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php',
     69    'Composer\\Installers\\PlentymarketsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php',
    5370    'Composer\\Installers\\Plugin' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php',
     71    'Composer\\Installers\\PortoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php',
    5472    'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php',
    5573    'Composer\\Installers\\PuppetInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PuppetInstaller.php',
     74    'Composer\\Installers\\PxcmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PxcmsInstaller.php',
     75    'Composer\\Installers\\RadPHPInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RadPHPInstaller.php',
     76    'Composer\\Installers\\ReIndexInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ReIndexInstaller.php',
    5677    'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php',
    5778    'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php',
     
    5980    'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php',
    6081    'Composer\\Installers\\SilverStripeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SilverStripeInstaller.php',
     82    'Composer\\Installers\\SiteDirectInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SiteDirectInstaller.php',
     83    'Composer\\Installers\\SyDESInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/SyDESInstaller.php',
    6184    'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php',
    6285    'Composer\\Installers\\TYPO3CmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php',
     
    6487    'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php',
    6588    'Composer\\Installers\\TuskInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TuskInstaller.php',
     89    'Composer\\Installers\\UserFrostingInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/UserFrostingInstaller.php',
     90    'Composer\\Installers\\VanillaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VanillaInstaller.php',
     91    'Composer\\Installers\\VgmcpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/VgmcpInstaller.php',
    6692    'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php',
    6793    'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php',
    6894    'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php',
     95    'Composer\\Installers\\YawikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/YawikInstaller.php',
    6996    'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php',
    7097    'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php',
  • wp-php-console/trunk/vendor/composer/autoload_real.php

    r1325684 r1824282  
    2424        spl_autoload_unregister(array('ComposerAutoloaderInit1edcb1aab573ff079cc179225fa20fd1', 'loadClassLoader'));
    2525
    26         $map = require __DIR__ . '/autoload_namespaces.php';
    27         foreach ($map as $namespace => $path) {
    28             $loader->set($namespace, $path);
    29         }
     26        $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
     27        if ($useStaticLoader) {
     28            require_once __DIR__ . '/autoload_static.php';
    3029
    31         $map = require __DIR__ . '/autoload_psr4.php';
    32         foreach ($map as $namespace => $path) {
    33             $loader->setPsr4($namespace, $path);
    34         }
     30            call_user_func(\Composer\Autoload\ComposerStaticInit1edcb1aab573ff079cc179225fa20fd1::getInitializer($loader));
     31        } else {
     32            $map = require __DIR__ . '/autoload_namespaces.php';
     33            foreach ($map as $namespace => $path) {
     34                $loader->set($namespace, $path);
     35            }
    3536
    36         $classMap = require __DIR__ . '/autoload_classmap.php';
    37         if ($classMap) {
    38             $loader->addClassMap($classMap);
     37            $map = require __DIR__ . '/autoload_psr4.php';
     38            foreach ($map as $namespace => $path) {
     39                $loader->setPsr4($namespace, $path);
     40            }
     41
     42            $classMap = require __DIR__ . '/autoload_classmap.php';
     43            if ($classMap) {
     44                $loader->addClassMap($classMap);
     45            }
    3946        }
    4047
  • wp-php-console/trunk/vendor/composer/autoload_real_52.php

    r1429928 r1824282  
    33// autoload_real_52.php generated by xrstf/composer-php52
    44
    5 class ComposerAutoloaderInit504a8155cd6d202df3b0ee6eed43c5bf {
     5class ComposerAutoloaderInit2503c7f476e766eba936ff04c58392e4 {
    66    private static $loader;
    77
     
    2020        }
    2121
    22         spl_autoload_register(array('ComposerAutoloaderInit504a8155cd6d202df3b0ee6eed43c5bf', 'loadClassLoader'), true /*, true */);
     22        spl_autoload_register(array('ComposerAutoloaderInit2503c7f476e766eba936ff04c58392e4', 'loadClassLoader'), true /*, true */);
    2323        self::$loader = $loader = new xrstf_Composer52_ClassLoader();
    24         spl_autoload_unregister(array('ComposerAutoloaderInit504a8155cd6d202df3b0ee6eed43c5bf', 'loadClassLoader'));
     24        spl_autoload_unregister(array('ComposerAutoloaderInit2503c7f476e766eba936ff04c58392e4', 'loadClassLoader'));
    2525
    2626        $vendorDir = dirname(dirname(__FILE__));
  • wp-php-console/trunk/vendor/composer/installed.json

    r1429928 r1824282  
    11[
     2    {
     3        "name": "composer/installers",
     4        "version": "v1.5.0",
     5        "version_normalized": "1.5.0.0",
     6        "source": {
     7            "type": "git",
     8            "url": "https://github.com/composer/installers.git",
     9            "reference": "049797d727261bf27f2690430d935067710049c2"
     10        },
     11        "dist": {
     12            "type": "zip",
     13            "url": "https://api.github.com/repos/composer/installers/zipball/049797d727261bf27f2690430d935067710049c2",
     14            "reference": "049797d727261bf27f2690430d935067710049c2",
     15            "shasum": ""
     16        },
     17        "require": {
     18            "composer-plugin-api": "^1.0"
     19        },
     20        "replace": {
     21            "roundcube/plugin-installer": "*",
     22            "shama/baton": "*"
     23        },
     24        "require-dev": {
     25            "composer/composer": "1.0.*@dev",
     26            "phpunit/phpunit": "^4.8.36"
     27        },
     28        "time": "2017-12-29T09:13:20+00:00",
     29        "type": "composer-plugin",
     30        "extra": {
     31            "class": "Composer\\Installers\\Plugin",
     32            "branch-alias": {
     33                "dev-master": "1.0-dev"
     34            }
     35        },
     36        "installation-source": "dist",
     37        "autoload": {
     38            "psr-4": {
     39                "Composer\\Installers\\": "src/Composer/Installers"
     40            }
     41        },
     42        "notification-url": "https://packagist.org/downloads/",
     43        "license": [
     44            "MIT"
     45        ],
     46        "authors": [
     47            {
     48                "name": "Kyle Robinson Young",
     49                "email": "kyle@dontkry.com",
     50                "homepage": "https://github.com/shama"
     51            }
     52        ],
     53        "description": "A multi-framework Composer library installer",
     54        "homepage": "https://composer.github.io/installers/",
     55        "keywords": [
     56            "Craft",
     57            "Dolibarr",
     58            "Eliasis",
     59            "Hurad",
     60            "ImageCMS",
     61            "Kanboard",
     62            "Lan Management System",
     63            "MODX Evo",
     64            "Mautic",
     65            "Maya",
     66            "OXID",
     67            "Plentymarkets",
     68            "Porto",
     69            "RadPHP",
     70            "SMF",
     71            "Thelia",
     72            "WolfCMS",
     73            "agl",
     74            "aimeos",
     75            "annotatecms",
     76            "attogram",
     77            "bitrix",
     78            "cakephp",
     79            "chef",
     80            "cockpit",
     81            "codeigniter",
     82            "concrete5",
     83            "croogo",
     84            "dokuwiki",
     85            "drupal",
     86            "eZ Platform",
     87            "elgg",
     88            "expressionengine",
     89            "fuelphp",
     90            "grav",
     91            "installer",
     92            "itop",
     93            "joomla",
     94            "kohana",
     95            "laravel",
     96            "lavalite",
     97            "lithium",
     98            "magento",
     99            "majima",
     100            "mako",
     101            "mediawiki",
     102            "modulework",
     103            "modx",
     104            "moodle",
     105            "osclass",
     106            "phpbb",
     107            "piwik",
     108            "ppi",
     109            "puppet",
     110            "pxcms",
     111            "reindex",
     112            "roundcube",
     113            "shopware",
     114            "silverstripe",
     115            "sydes",
     116            "symfony",
     117            "typo3",
     118            "wordpress",
     119            "yawik",
     120            "zend",
     121            "zikula"
     122        ]
     123    },
     124    {
     125        "name": "nekojira/wp-requirements",
     126        "version": "1.4.1",
     127        "version_normalized": "1.4.1.0",
     128        "source": {
     129            "type": "git",
     130            "url": "https://github.com/unfulvio/wp-requirements.git",
     131            "reference": "c12147245286b5b9053d1745995677e6df36e96d"
     132        },
     133        "dist": {
     134            "type": "zip",
     135            "url": "https://api.github.com/repos/unfulvio/wp-requirements/zipball/c12147245286b5b9053d1745995677e6df36e96d",
     136            "reference": "c12147245286b5b9053d1745995677e6df36e96d",
     137            "shasum": ""
     138        },
     139        "time": "2015-10-05T09:08:37+00:00",
     140        "type": "library",
     141        "installation-source": "dist",
     142        "autoload": {
     143            "psr-0": {
     144                "": "src"
     145            }
     146        },
     147        "notification-url": "https://packagist.org/downloads/",
     148        "license": [
     149            "GPL-2.0+"
     150        ],
     151        "authors": [
     152            {
     153                "name": "Fulvio Notarstefano",
     154                "email": "fulvio.notarstefano@gmail.com",
     155                "homepage": "https://github.com/nekojira",
     156                "role": "Developer"
     157            }
     158        ],
     159        "description": "Utility for WordPress plugin developers to check PHP version, WordPress version and presence of PHP extensions in current installation.",
     160        "homepage": "https://github.com/nekojira/wp-requirements/",
     161        "keywords": [
     162            "php",
     163            "requirements",
     164            "version",
     165            "wordpress"
     166        ]
     167    },
    2168    {
    3169        "name": "php-console/php-console",
     
    18184            "php": ">=5.3.0"
    19185        },
    20         "time": "2016-02-19 16:00:24",
     186        "time": "2016-02-19T16:00:24+00:00",
    21187        "type": "library",
    22188        "extra": {
     
    68234            "shasum": ""
    69235        },
    70         "time": "2016-04-16 21:52:24",
     236        "time": "2016-04-16T21:52:24+00:00",
    71237        "type": "library",
    72238        "extra": {
     
    85251            "MIT"
    86252        ]
    87     },
    88     {
    89         "name": "composer/installers",
    90         "version": "v1.0.25",
    91         "version_normalized": "1.0.25.0",
    92         "source": {
    93             "type": "git",
    94             "url": "https://github.com/composer/installers.git",
    95             "reference": "36e5b5843203d7f1cf6ffb0305a97e014387bd8e"
    96         },
    97         "dist": {
    98             "type": "zip",
    99             "url": "https://api.github.com/repos/composer/installers/zipball/36e5b5843203d7f1cf6ffb0305a97e014387bd8e",
    100             "reference": "36e5b5843203d7f1cf6ffb0305a97e014387bd8e",
    101             "shasum": ""
    102         },
    103         "require": {
    104             "composer-plugin-api": "^1.0"
    105         },
    106         "replace": {
    107             "roundcube/plugin-installer": "*",
    108             "shama/baton": "*"
    109         },
    110         "require-dev": {
    111             "composer/composer": "1.0.*@dev",
    112             "phpunit/phpunit": "4.1.*"
    113         },
    114         "time": "2016-04-13 19:46:30",
    115         "type": "composer-plugin",
    116         "extra": {
    117             "class": "Composer\\Installers\\Plugin",
    118             "branch-alias": {
    119                 "dev-master": "1.0-dev"
    120             }
    121         },
    122         "installation-source": "dist",
    123         "autoload": {
    124             "psr-4": {
    125                 "Composer\\Installers\\": "src/Composer/Installers"
    126             }
    127         },
    128         "notification-url": "https://packagist.org/downloads/",
    129         "license": [
    130             "MIT"
    131         ],
    132         "authors": [
    133             {
    134                 "name": "Kyle Robinson Young",
    135                 "email": "kyle@dontkry.com",
    136                 "homepage": "https://github.com/shama"
    137             }
    138         ],
    139         "description": "A multi-framework Composer library installer",
    140         "homepage": "https://composer.github.io/installers/",
    141         "keywords": [
    142             "Craft",
    143             "Dolibarr",
    144             "Hurad",
    145             "ImageCMS",
    146             "MODX Evo",
    147             "Mautic",
    148             "OXID",
    149             "SMF",
    150             "Thelia",
    151             "WolfCMS",
    152             "agl",
    153             "aimeos",
    154             "annotatecms",
    155             "bitrix",
    156             "cakephp",
    157             "chef",
    158             "codeigniter",
    159             "concrete5",
    160             "croogo",
    161             "dokuwiki",
    162             "drupal",
    163             "elgg",
    164             "fuelphp",
    165             "grav",
    166             "installer",
    167             "joomla",
    168             "kohana",
    169             "laravel",
    170             "lithium",
    171             "magento",
    172             "mako",
    173             "mediawiki",
    174             "modulework",
    175             "moodle",
    176             "phpbb",
    177             "piwik",
    178             "ppi",
    179             "puppet",
    180             "roundcube",
    181             "shopware",
    182             "silverstripe",
    183             "symfony",
    184             "typo3",
    185             "wordpress",
    186             "zend",
    187             "zikula"
    188         ]
    189     },
    190     {
    191         "name": "nekojira/wp-requirements",
    192         "version": "1.4.1",
    193         "version_normalized": "1.4.1.0",
    194         "source": {
    195             "type": "git",
    196             "url": "https://github.com/unfulvio/wp-requirements.git",
    197             "reference": "c12147245286b5b9053d1745995677e6df36e96d"
    198         },
    199         "dist": {
    200             "type": "zip",
    201             "url": "https://api.github.com/repos/unfulvio/wp-requirements/zipball/c12147245286b5b9053d1745995677e6df36e96d",
    202             "reference": "c12147245286b5b9053d1745995677e6df36e96d",
    203             "shasum": ""
    204         },
    205         "time": "2015-10-05 09:08:37",
    206         "type": "library",
    207         "installation-source": "dist",
    208         "autoload": {
    209             "psr-0": {
    210                 "": "src"
    211             }
    212         },
    213         "notification-url": "https://packagist.org/downloads/",
    214         "license": [
    215             "GPL-2.0+"
    216         ],
    217         "authors": [
    218             {
    219                 "name": "Fulvio Notarstefano",
    220                 "email": "fulvio.notarstefano@gmail.com",
    221                 "homepage": "https://github.com/nekojira",
    222                 "role": "Developer"
    223             }
    224         ],
    225         "description": "Utility for WordPress plugin developers to check PHP version, WordPress version and presence of PHP extensions in current installation.",
    226         "homepage": "https://github.com/nekojira/wp-requirements/",
    227         "keywords": [
    228             "php",
    229             "requirements",
    230             "version",
    231             "wordpress"
    232         ]
    233253    }
    234254]
  • wp-php-console/trunk/vendor/composer/installers/README.md

    r1429928 r1824282  
    77type.
    88
    9 The goal of `installers` is to be a simple package type to install path map.
     9The goal of Installers is to be a simple package type to install path map.
    1010Users can also customize the install path per package and package authors can
    1111modify the package name upon installing.
    1212
    13 `installers` isn't intended on replacing all custom installers. If your
     13Installers isn't intended on replacing all custom installers. If your
    1414package requires special installation handling then by all means, create a
    1515custom installer to handle it.
     
    2626* Yii2
    2727
    28 **Current Supported Package Types**:
     28## Current Supported Package Types
    2929
    3030> Stable types are marked as **bold**, this means that installation paths
     
    3636| Aimeos       | `aimeos-extension`
    3737| Asgard       | `asgard-module`<br>`asgard-theme`
     38| Attogram     | `attogram-module`
    3839| AGL          | `agl-module`
    3940| Bonefish     | `bonefish-package`
    4041| AnnotateCms  | `annotatecms-module`<br>`annotatecms-component`<br>`annotatecms-service`
    41 | Bitrix       | `bitrix-module`<br>`bitrix-component`<br>`bitrix-theme`
     42| 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`
    4243| CakePHP 2+   | **`cakephp-plugin`**
    4344| Chef         | `chef-cookbook`<br>`chef-role`
    4445| CCFramework  | `ccframework-ship`<br>`ccframework-theme`
     46| Cockpit      | `cockpit-module`
    4547| CodeIgniter  | `codeigniter-library`<br>`codeigniter-third-party`<br>`codeigniter-module`
    46 | concrete5    | `concrete5-block`<br>`concrete5-package`<br>`concrete5-theme`<br>`concrete5-update`
     48| concrete5    | `concrete5-core`<br>`concrete5-package`<br>`concrete5-theme`<br>`concrete5-block`<br>`concrete5-update`
    4749| Craft        | `craft-plugin`
    4850| Croogo       | `croogo-plugin`<br>`croogo-theme`
     51| Decibel      | `decibel-app`
    4952| DokuWiki     | `dokuwiki-plugin`<br>`dokuwiki-template`
    5053| Dolibarr     | `dolibarr-module`
    5154| Drupal       | <b>`drupal-core`<br>`drupal-module`<br>`drupal-theme`</b><br>`drupal-library`<br>`drupal-profile`<br>`drupal-drush`
    5255| Elgg         | `elgg-plugin`
     56| Eliasis      | `eliasis-component`<br>`eliasis-module`<br>`eliasis-plugin`<br>`eliasis-template`
     57| ExpressionEngine 3         | `ee3-addon`<br>`ee3-theme`
     58| eZ Platform  | `ezplatform-assets`<br>`ezplatform-meta-assets`
    5359| FuelPHP v1.x | `fuel-module`<br>`fuel-package`<br/>`fuel-theme`
    5460| FuelPHP v2.x | `fuelphp-component`
     
    5662| Hurad        | `hurad-plugin`<br>`hurad-theme`
    5763| ImageCMS     | `imagecms-template`<br>`imagecms-module`<br>`imagecms-library`
     64| iTop         | `itop-extension`
    5865| Joomla       | `joomla-component`<br>`joomla-module`<br>`joomla-template`<br>`joomla-plugin`<br>`joomla-library`
     66| Kanboard     | `kanboard-plugin`
    5967| Kirby        | **`kirby-plugin`**<br>`kirby-field`<br>`kirby-tag`
    6068| KodiCMS      | `kodicms-plugin`<br>`kodicms-media`
    6169| Kohana       | **`kohana-module`**
     70| Lan Management System | `lms-plugin`<br>`lms-template`<br>`lms-document-template`<br>`lms-userpanel-module`
    6271| Laravel      | `laravel-library`
     72| Lavalite     | `lavalite-theme`<br>`lavalite-package`
    6373| Lithium      | **`lithium-library`<br>`lithium-source`**
    6474| Magento      | `magento-library`<br>`magento-skin`<br>`magento-theme`
     75| majima       | `majima-plugin`
    6576| Mako         | `mako-package`
    6677| Mautic       | `mautic-plugin`<br>`mautic-theme`
     78| Maya         | `maya-module`
     79| MODX         | `modx-extra`
    6780| MODX Evo     | `modxevo-snippet`<br>`modxevo-plugin`<br>`modxevo-module`<br>`modxevo-template`<br>`modxevo-lib`
    6881| MediaWiki    | `mediawiki-extension`
    6982| October      | **`october-module`<br>`october-plugin`<br>`october-theme`**
     83| OntoWiki     | `ontowiki-extension`<br>`ontowiki-theme`<br>`ontowiki-translation`
    7084| OXID         | `oxid-module`<br>`oxid-theme`<br>`oxid-out`
     85| Osclass      | `osclass-plugin`<br>`osclass-theme`<br>`osclass-language`
    7186| MODULEWork   | `modulework-module`
    7287| Moodle       | `moodle-*` (Please [check source](https://raw.githubusercontent.com/composer/installers/master/src/Composer/Installers/MoodleInstaller.php) for all supported types)
     
    7489| phpBB        | `phpbb-extension`<br>`phpbb-style`<br>`phpbb-language`
    7590| Pimcore      | `pimcore-plugin`
     91| Plentymarkets      | `plentymarkets-plugin`
    7692| PPI          | **`ppi-module`**
    7793| Puppet       | `puppet-module`
     94| Porto        | `porto-container`
     95| RadPHP       | `radphp-bundle`
    7896| REDAXO       | `redaxo-addon`
     97| ReIndex      | **`reindex-plugin`** <br> **`reindex-theme`**
    7998| Roundcube    | `roundcube-plugin`
    80 | shopware     | `shopware-backend-plugin`<br/>`shopware-core-plugin`<br/>`shopware-frontend-plugin`<br/>`shopware-theme`
     99| shopware     | `shopware-backend-plugin`<br/>`shopware-core-plugin`<br/>`shopware-frontend-plugin`<br/>`shopware-theme`<br/>`shopware-plugin`<br/>`shopware-frontend-theme`
    81100| SilverStripe | `silverstripe-module`<br>`silverstripe-theme`
     101| SiteDirect   | `sitedirect-module`<br>`sitedirect-plugin`
    82102| SMF          | `smf-module`<br>`smf-theme`
     103| SyDES        | `sydes-module`<br>`sydes-theme`
    83104| symfony1     | **`symfony1-plugin`**
    84105| Tusk         | `tusk-task`<br>`tusk-command`<br>`tusk-asset`
    85106| 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`
    86107| TYPO3 CMS    | `typo3-cms-extension` (Deprecated in this package, use the [TYPO3 CMS Installers](https://packagist.org/packages/typo3/cms-composer-installers) instead)
     108| UserFrosting | `userfrosting-sprinkle`
     109| Vanilla      | `vanilla-plugin`<br>`vanilla-theme`
     110| Vgmcp        | `vgmcp-bundle`<br>`vgmcp-theme`
    87111| Wolf CMS     | `wolfcms-plugin`
    88 | WordPress    | <b>`wordpress-plugin`<br>`wordpress-theme`</b><br>`wordpress-muplugin`
     112| WordPress    | <b>`wordpress-plugin`<br>`wordpress-theme`</b><br>`wordpress-muplugin`<br>`wordpress-dropin`
     113| YAWIK        | `yawik-module`
    89114| Zend         | `zend-library`<br>`zend-extra`<br>`zend-module`
    90115| Zikula       | `zikula-module`<br>`zikula-theme`
    91116| Prestashop   | `prestashop-module`<br>`prestashop-theme`
     117| Phifty       | `phifty-bundle`<br>`phifty-framework`<br>`phifty-library`
    92118
    93119## Example `composer.json` File
     
    181207not be inflected.
    182208
    183 ## Contribute!
    184 
    185 * [Fork and clone](https://help.github.com/articles/fork-a-repo).
    186 * Run the command `php composer.phar install` to install the dependencies.
    187   This will also install the dev dependencies. See [Composer](https://getcomposer.org/doc/03-cli.md#install).
    188 * Use the command `phpunit` to run the tests. See [PHPUnit](http://phpunit.de).
    189 * Create a branch, commit, push and send us a
    190   [pull request](https://help.github.com/articles/using-pull-requests).
    191 
    192 To ensure a consistent code base, you should make sure the code follows the
    193 [Coding Standards](http://symfony.com/doc/2.0/contributing/code/standards.html)
    194 which we borrowed from Symfony.
    195 
    196 If you would like to help, please take a look at the list of
    197 [issues](https://github.com/composer/installers/issues).
    198 
    199 ### Should we allow dynamic package types or paths? No.
     209## Should we allow dynamic package types or paths? No.
     210
    200211What are they? The ability for a package author to determine where a package
    201212will be installed either through setting the path directly in their
     
    204215
    205216It has been proposed many times. Even implemented once early on and then
    206 removed. `installers` won't do this because it would allow a single package
     217removed. Installers won't do this because it would allow a single package
    207218author to wipe out entire folders without the user's consent. That user would
    208219then come here to yell at us.
  • wp-php-console/trunk/vendor/composer/installers/composer.json

    r1429928 r1824282  
    99        "AGL",
    1010        "AnnotateCms",
     11        "Attogram",
    1112        "Bitrix",
    1213        "CakePHP",
    1314        "Chef",
     15        "Cockpit",
    1416        "CodeIgniter",
    1517        "concrete5",
     
    2022        "Drupal",
    2123        "Elgg",
     24        "Eliasis",
     25        "ExpressionEngine",
     26        "eZ Platform",
    2227        "FuelPHP",
    2328        "Grav",
    2429        "Hurad",
    2530        "ImageCMS",
     31        "iTop",
    2632        "Joomla",
     33        "Kanboard",
    2734        "Kohana",
     35        "Lan Management System",
    2836        "Laravel",
     37        "Lavalite",
    2938        "Lithium",
    3039        "Magento",
     40        "majima",
    3141        "Mako",
    3242        "Mautic",
     43        "Maya",
     44        "MODX",
    3345        "MODX Evo",
    3446        "MediaWiki",
    3547        "OXID",
     48        "osclass",
    3649        "MODULEWork",
    3750        "Moodle",
    3851        "Piwik",
     52        "pxcms",
    3953        "phpBB",
     54        "Plentymarkets",
    4055        "PPI",
    4156        "Puppet",
     57        "Porto",
     58        "RadPHP",
     59        "ReIndex",
    4260        "Roundcube",
    4361        "shopware",
    4462        "SilverStripe",
    4563        "SMF",
     64        "SyDES",
    4665        "symfony",
    4766        "Thelia",
     
    4968        "WolfCMS",
    5069        "WordPress",
     70        "YAWIK",
    5171        "Zend",
    5272        "Zikula"
     
    7898    "require-dev": {
    7999        "composer/composer": "1.0.*@dev",
    80         "phpunit/phpunit": "4.1.*"
     100        "phpunit/phpunit": "^4.8.36"
    81101    },
    82102    "scripts": {
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php

    r1184144 r1824282  
    3232    protected function inflectPluginVars($vars)
    3333    {
    34         $vars['name'] = ucfirst(preg_replace('/-module/', '', $vars['name']));
     34        $vars['name'] = preg_replace('/-module$/', '', $vars['name']);
     35        $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
     36        $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
    3537
    3638        return $vars;
     
    3941    protected function inflectThemeVars($vars)
    4042    {
    41         $vars['name'] = ucfirst(preg_replace('/-theme$/', '', $vars['name']));
     43        $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
     44        $vars['name'] = str_replace(array('-', '_'), ' ', $vars['name']);
     45        $vars['name'] = str_replace(' ', '', ucwords($vars['name']));
    4246
    4347        return $vars;
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php

    r1429928 r1824282  
    77/**
    88 * Installer for Bitrix Framework. Supported types of extensions:
    9  * - `bitrix-module` — copy the module to directory `bitrix/modules/` directory.
    10  * - `bitrix-component` — copy the component to directory `bitrix/components/`.
    11  * - `bitrix-template` — copy the template to directory `bitrix/templates/`.
     9 * - `bitrix-d7-module` — copy the module to directory `bitrix/modules/<vendor>.<name>`.
     10 * - `bitrix-d7-component` — copy the component to directory `bitrix/components/<vendor>/<name>`.
     11 * - `bitrix-d7-template` — copy the template to directory `bitrix/templates/<vendor>_<name>`.
    1212 *
    1313 * You can set custom path to directory with Bitrix kernel in `composer.json`:
     
    2727{
    2828    protected $locations = array(
    29         'module'    => '{$bitrix_dir}/modules/{$name}/',
    30         'component' => '{$bitrix_dir}/components/{$name}/',
    31         'theme'     => '{$bitrix_dir}/templates/{$name}/',
     29        'module'    => '{$bitrix_dir}/modules/{$name}/',    // deprecated, remove on the major release (Backward compatibility will be broken)
     30        'component' => '{$bitrix_dir}/components/{$name}/', // deprecated, remove on the major release (Backward compatibility will be broken)
     31        'theme'     => '{$bitrix_dir}/templates/{$name}/',  // deprecated, remove on the major release (Backward compatibility will be broken)
     32        'd7-module'    => '{$bitrix_dir}/modules/{$vendor}.{$name}/',
     33        'd7-component' => '{$bitrix_dir}/components/{$vendor}/{$name}/',
     34        'd7-template'     => '{$bitrix_dir}/templates/{$vendor}_{$name}/',
    3235    );
    3336
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php

    r1325684 r1824282  
    33
    44use Composer\DependencyResolver\Pool;
    5 use Composer\Package\PackageInterface;
    65
    76class CakePHPInstaller extends BaseInstaller
     
    7675                if ($cake3->matches($installed)) {
    7776                    return true;
    78                     break;
    7977                }
    8078            }
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php

    r1184144 r1824282  
    55{
    66    protected $locations = array(
    7         'block'      => 'blocks/{$name}/',
     7        'core'       => 'concrete/',
     8        'block'      => 'application/blocks/{$name}/',
    89        'package'    => 'packages/{$name}/',
    9         'theme'      => 'themes/{$name}/',
     10        'theme'      => 'application/themes/{$name}/',
    1011        'update'     => 'updates/{$name}/',
    1112    );
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/Installer.php

    r1429928 r1824282  
    1717        'aimeos'       => 'AimeosInstaller',
    1818        'asgard'       => 'AsgardInstaller',
     19        'attogram'     => 'AttogramInstaller',
    1920        'agl'          => 'AglInstaller',
    2021        'annotatecms'  => 'AnnotateCmsInstaller',
     
    2425        'chef'         => 'ChefInstaller',
    2526        'ccframework'  => 'ClanCatsFrameworkInstaller',
     27        'cockpit'      => 'CockpitInstaller',
    2628        'codeigniter'  => 'CodeIgniterInstaller',
    2729        'concrete5'    => 'Concrete5Installer',
     
    3032        'dokuwiki'     => 'DokuWikiInstaller',
    3133        'dolibarr'     => 'DolibarrInstaller',
     34        'decibel'      => 'DecibelInstaller',
    3235        'drupal'       => 'DrupalInstaller',
    3336        'elgg'         => 'ElggInstaller',
     37        'eliasis'      => 'EliasisInstaller',
     38        'ee3'          => 'ExpressionEngineInstaller',
     39        'ee2'          => 'ExpressionEngineInstaller',
     40        'ezplatform'   => 'EzPlatformInstaller',
    3441        'fuel'         => 'FuelInstaller',
    3542        'fuelphp'      => 'FuelphpInstaller',
     
    3744        'hurad'        => 'HuradInstaller',
    3845        'imagecms'     => 'ImageCMSInstaller',
     46        'itop'         => 'ItopInstaller',
    3947        'joomla'       => 'JoomlaInstaller',
     48        'kanboard'     => 'KanboardInstaller',
    4049        'kirby'        => 'KirbyInstaller',
    4150        'kodicms'      => 'KodiCMSInstaller',
    4251        'kohana'       => 'KohanaInstaller',
     52        'lms'      => 'LanManagementSystemInstaller',
    4353        'laravel'      => 'LaravelInstaller',
     54        'lavalite'     => 'LavaLiteInstaller',
    4455        'lithium'      => 'LithiumInstaller',
    4556        'magento'      => 'MagentoInstaller',
     57        'majima'       => 'MajimaInstaller',
    4658        'mako'         => 'MakoInstaller',
     59        'maya'         => 'MayaInstaller',
    4760        'mautic'       => 'MauticInstaller',
    4861        'mediawiki'    => 'MediaWikiInstaller',
    49         'microweber'    => 'MicroweberInstaller',
     62        'microweber'   => 'MicroweberInstaller',
    5063        'modulework'   => 'MODULEWorkInstaller',
     64        'modx'         => 'ModxInstaller',
    5165        'modxevo'      => 'MODXEvoInstaller',
    5266        'moodle'       => 'MoodleInstaller',
    5367        'october'      => 'OctoberInstaller',
     68        'ontowiki'     => 'OntoWikiInstaller',
    5469        'oxid'         => 'OxidInstaller',
     70        'osclass'         => 'OsclassInstaller',
     71        'pxcms'        => 'PxcmsInstaller',
    5572        'phpbb'        => 'PhpBBInstaller',
    5673        'pimcore'      => 'PimcoreInstaller',
    5774        'piwik'        => 'PiwikInstaller',
     75        'plentymarkets'=> 'PlentymarketsInstaller',
    5876        'ppi'          => 'PPIInstaller',
    5977        'puppet'       => 'PuppetInstaller',
     78        'radphp'       => 'RadPHPInstaller',
     79        'phifty'       => 'PhiftyInstaller',
     80        'porto'        => 'PortoInstaller',
    6081        'redaxo'       => 'RedaxoInstaller',
     82        'reindex'      => 'ReIndexInstaller',
    6183        'roundcube'    => 'RoundcubeInstaller',
    6284        'shopware'     => 'ShopwareInstaller',
     85        'sitedirect'   => 'SiteDirectInstaller',
    6386        'silverstripe' => 'SilverStripeInstaller',
    6487        'smf'          => 'SMFInstaller',
     88        'sydes'        => 'SyDESInstaller',
    6589        'symfony1'     => 'Symfony1Installer',
    6690        'thelia'       => 'TheliaInstaller',
     
    6892        'typo3-cms'    => 'TYPO3CmsInstaller',
    6993        'typo3-flow'   => 'TYPO3FlowInstaller',
     94        'userfrosting' => 'UserFrostingInstaller',
     95        'vanilla'      => 'VanillaInstaller',
    7096        'whmcs'        => 'WHMCSInstaller',
    7197        'wolfcms'      => 'WolfCMSInstaller',
    7298        'wordpress'    => 'WordPressInstaller',
     99        'yawik'        => 'YawikInstaller',
    73100        'zend'         => 'ZendInstaller',
    74101        'zikula'       => 'ZikulaInstaller',
     
    98125    public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package)
    99126    {
    100         if (!$repo->hasPackage($package)) {
    101             throw new \InvalidArgumentException('Package is not installed: '.$package);
    102         }
    103 
    104         $repo->removePackage($package);
    105 
    106         $installPath = $this->getInstallPath($package);
    107         $this->io->write(sprintf('Deleting %s - %s', $installPath, $this->filesystem->removeDirectory($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>'));
     127        parent::uninstall($repo, $package);
     128        $installPath = $this->getPackageBasePath($package);
     129        $this->io->write(sprintf('Deleting %s - %s', $installPath, !file_exists($installPath) ? '<comment>deleted</comment>' : '<error>not deleted</error>'));
    108130    }
    109131
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php

    r1325684 r1824282  
    4646        'repository'         => 'repository/{$name}/',
    4747        'scormreport'        => 'mod/scorm/report/{$name}/',
     48        'search'             => 'search/engine/{$name}/',
    4849        'theme'              => 'theme/{$name}/',
    4950        'tinymce'            => 'lib/editor/tinymce/plugins/{$name}/',
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php

    r1184144 r1824282  
    3333    protected function inflectPluginVars($vars)
    3434    {
    35         $vars['name'] = preg_replace('/-plugin$/', '', $vars['name']);
     35        $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']);
    3636
    3737        return $vars;
     
    4040    protected function inflectThemeVars($vars)
    4141    {
    42         $vars['name'] = preg_replace('/-theme$/', '', $vars['name']);
     42        $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']);
    4343
    4444        return $vars;
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php

    r1184144 r1824282  
    1212        'core-plugin'       => 'engine/Shopware/Plugins/Local/Core/{$name}/',
    1313        'frontend-plugin'   => 'engine/Shopware/Plugins/Local/Frontend/{$name}/',
    14         'theme'             => 'templates/{$name}/'
     14        'theme'             => 'templates/{$name}/',
     15        'plugin'            => 'custom/plugins/{$name}/',
     16        'frontend-theme'    => 'themes/Frontend/{$name}/',
    1517    );
    1618
     
    2426        if ($vars['type'] === 'shopware-theme') {
    2527            return $this->correctThemeName($vars);
    26         } else {
    27             return $this->correctPluginName($vars);
    2828        }
     29
     30        return $this->correctPluginName($vars);       
    2931    }
    3032
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php

    r1184144 r1824282  
    2929        ) {
    3030            return $this->templatePath($this->locations['module'], array('name' => 'sapphire'));
    31         } else {
    32             return parent::getInstallPath($package, $frameworkType);
    3331        }
    3432
     33        return parent::getInstallPath($package, $frameworkType);
    3534    }
    3635}
  • wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php

    r1184144 r1824282  
    88        'theme'     => 'wp-content/themes/{$name}/',
    99        'muplugin'  => 'wp-content/mu-plugins/{$name}/',
     10        'dropin'    => 'wp-content/{$name}/',
    1011    );
    1112}
  • wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php

    r1184144 r1824282  
    55use Composer\Package\Package;
    66use Composer\Composer;
     7use PHPUnit\Framework\TestCase;
    78
    8 class AsgardInstallerTest extends \PHPUnit_Framework_TestCase
     9class AsgardInstallerTest extends TestCase
    910{
    1011    /**
    11      * @var OctoberInstaller
     12     * @var AsgardInstaller
    1213     */
    1314    private $installer;
     
    2728    {
    2829        $this->assertEquals(
    29             $this->installer->inflectPackageVars(array('name' => $name, 'type' => $type)),
    30             array('name' => $expected, 'type' => $type)
     30            array('name' => $expected, 'type' => $type),
     31            $this->installer->inflectPackageVars(array('name' => $name, 'type' => $type))
    3132        );
    3233    }
     
    3536    {
    3637        return array(
     38            // Should keep module name StudlyCase
     39            array(
     40                'asgard-module',
     41                'user-profile',
     42                'UserProfile'
     43            ),
    3744            array(
    3845                'asgard-module',
     
    4552                'Blog'
    4653            ),
     54            // tests that exactly one '-module' is cut off
     55            array(
     56                'asgard-module',
     57                'some-module-module',
     58                'SomeModule',
     59            ),
    4760            // tests that exactly one '-theme' is cut off
    4861            array(
    4962                'asgard-theme',
    5063                'some-theme-theme',
    51                 'Some-theme',
     64                'SomeTheme',
    5265            ),
    5366            // tests that names without '-theme' suffix stay valid
     
    5770                'Someothertheme',
    5871            ),
     72            // Should keep theme name StudlyCase
     73            array(
     74                'asgard-theme',
     75                'adminlte-advanced',
     76                'AdminlteAdvanced'
     77            ),
    5978        );
    6079    }
  • wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php

    r1325684 r1824282  
    77use Composer\Package\Package;
    88use Composer\Package\RootPackage;
    9 use Composer\Package\Link;
    109use Composer\Package\Version\VersionParser;
    1110use Composer\Composer;
  • wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php

    r1184144 r1824282  
    55use Composer\Package\Package;
    66use Composer\Composer;
     7use PHPUnit\Framework\TestCase as BaseTestCase;
    78
    8 class DokuWikiInstallerTest extends \PHPUnit_Framework_TestCase
     9class DokuWikiInstallerTest extends BaseTestCase
    910{
    1011    /**
  • wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php

    r1429928 r1824282  
    9090            array('annotatecms-component', true),
    9191            array('annotatecms-service', true),
     92            array('attogram-module', true),
    9293            array('bitrix-module', true),
    9394            array('bitrix-component', true),
     
    100101            array('chef-cookbook', true),
    101102            array('chef-role', true),
     103            array('cockpit-module', true),
    102104            array('codeigniter-app', false),
    103105            array('codeigniter-library', true),
     
    107109            array('concrete5-package', true),
    108110            array('concrete5-theme', true),
     111            array('concrete5-core', true),
    109112            array('concrete5-update', true),
    110113            array('craft-plugin', true),
    111114            array('croogo-plugin', true),
    112115            array('croogo-theme', true),
     116            array('decibel-app', true),
    113117            array('dokuwiki-plugin', true),
    114118            array('dokuwiki-template', true),
    115119            array('drupal-module', true),
    116120            array('dolibarr-module', true),
     121            array('ee3-theme', true),
     122            array('ee3-addon', true),
     123            array('ee2-theme', true),
     124            array('ee2-addon', true),
    117125            array('elgg-plugin', true),
     126            array('eliasis-component', true),
     127            array('eliasis-module', true),
     128            array('eliasis-plugin', true),
     129            array('eliasis-template', true),
     130            array('ezplatform-assets', true),
     131            array('ezplatform-meta-assets', true),
    118132            array('fuel-module', true),
    119133            array('fuel-package', true),
     
    125139            array('imagecms-module', true),
    126140            array('imagecms-library', true),
     141            array('itop-extension', true),
    127142            array('joomla-library', true),
     143            array('kanboard-plugin', true),
    128144            array('kirby-plugin', true),
    129145            array('kohana-module', true),
     146            array('lms-plugin', true),
     147            array('lms-template', true),
     148            array('lms-document-template', true),
     149            array('lms-userpanel-module', true),
    130150            array('laravel-library', true),
     151            array('lavalite-theme', true),
     152            array('lavalite-package', true),
    131153            array('lithium-library', true),
    132154            array('magento-library', true),
     155            array('majima-plugin', true),
    133156            array('mako-package', true),
     157            array('modx-extra', true),
    134158            array('modxevo-snippet', true),
    135159            array('modxevo-plugin', true),
     
    145169            array('october-plugin', true),
    146170            array('piwik-plugin', true),
     171            array('pxcms-module', true),
     172            array('pxcms-theme', true),
    147173            array('phpbb-extension', true),
    148174            array('pimcore-plugin', true),
     175            array('plentymarkets-plugin', true),
    149176            array('ppi-module', true),
    150177            array('prestashop-module', true),
    151178            array('prestashop-theme', true),
    152179            array('puppet-module', true),
     180            array('porto-container', true),
     181            array('radphp-bundle', true),
    153182            array('redaxo-addon', true),
    154183            array('redaxo-bestyle-plugin', true),
     184            array('reindex-theme', true),
     185            array('reindex-plugin', true),
    155186            array('roundcube-plugin', true),
    156187            array('shopware-backend-plugin', true),
     
    158189            array('shopware-frontend-plugin', true),
    159190            array('shopware-theme', true),
     191            array('shopware-plugin', true),
     192            array('shopware-frontend-theme', true),
    160193            array('silverstripe-module', true),
    161194            array('silverstripe-theme', true),
    162195            array('smf-module', true),
    163196            array('smf-theme', true),
     197            array('sydes-module', true),
     198            array('sydes-theme', true),
    164199            array('symfony1-plugin', true),
    165200            array('thelia-module', true),
     
    171206            array('typo3-flow-plugin', true),
    172207            array('typo3-cms-extension', true),
     208            array('userfrosting-sprinkle', true),
     209            array('vanilla-plugin', true),
     210            array('vanilla-theme', true),
    173211            array('whmcs-gateway', true),
    174212            array('wolfcms-plugin', true),
    175213            array('wordpress-plugin', true),
    176214            array('wordpress-core', false),
     215            array('yawik-module', true),
    177216            array('zend-library', true),
    178217            array('zikula-module', true),
     
    180219            array('kodicms-plugin', true),
    181220            array('kodicms-media', true),
     221            array('phifty-bundle', true),
     222            array('phifty-library', true),
     223            array('phifty-framework', true),
     224            array('osclass-plugin', true),
     225            array('osclass-theme', true),
     226            array('osclass-language', true),
    182227        );
    183228    }
     
    209254            array('annotatecms-component', 'addons/components/my_component/', 'vysinsky/my_component'),
    210255            array('annotatecms-service', 'addons/services/my_service/', 'vysinsky/my_service'),
     256            array('attogram-module', 'modules/my_module/', 'author/my_module'),
    211257            array('bitrix-module', 'bitrix/modules/my_module/', 'author/my_module'),
    212258            array('bitrix-component', 'bitrix/components/my_component/', 'author/my_component'),
    213259            array('bitrix-theme', 'bitrix/templates/my_theme/', 'author/my_theme'),
     260            array('bitrix-d7-module', 'bitrix/modules/author.my_module/', 'author/my_module'),
     261            array('bitrix-d7-component', 'bitrix/components/author/my_component/', 'author/my_component'),
     262            array('bitrix-d7-template', 'bitrix/templates/author_my_template/', 'author/my_template'),
    214263            array('bonefish-package', 'Packages/bonefish/package/', 'bonefish/package'),
    215264            array('cakephp-plugin', 'Plugin/Ftp/', 'shama/ftp'),
    216265            array('chef-cookbook', 'Chef/mre/my_cookbook/', 'mre/my_cookbook'),
    217266            array('chef-role', 'Chef/roles/my_role/', 'mre/my_role'),
     267            array('cockpit-module', 'cockpit/modules/addons/My_module/', 'piotr-cz/cockpit-my_module'),
    218268            array('codeigniter-library', 'application/libraries/my_package/', 'shama/my_package'),
    219269            array('codeigniter-module', 'application/modules/my_package/', 'shama/my_package'),
    220             array('concrete5-block', 'blocks/concrete5_block/', 'remo/concrete5_block'),
     270            array('concrete5-block', 'application/blocks/concrete5_block/', 'remo/concrete5_block'),
    221271            array('concrete5-package', 'packages/concrete5_package/', 'remo/concrete5_package'),
    222             array('concrete5-theme', 'themes/concrete5_theme/', 'remo/concrete5_theme'),
     272            array('concrete5-theme', 'application/themes/concrete5_theme/', 'remo/concrete5_theme'),
     273            array('concrete5-core', 'concrete/', 'concrete5/core'),
    223274            array('concrete5-update', 'updates/concrete5/', 'concrete5/concrete5'),
    224275            array('craft-plugin', 'craft/plugins/my_plugin/', 'mdcpepper/my_plugin'),
    225276            array('croogo-plugin', 'Plugin/Sitemaps/', 'fahad19/sitemaps'),
    226277            array('croogo-theme', 'View/Themed/Readable/', 'rchavik/readable'),
     278            array('decibel-app', 'app/someapp/', 'author/someapp'),
    227279            array('dokuwiki-plugin', 'lib/plugins/someplugin/', 'author/someplugin'),
    228280            array('dokuwiki-template', 'lib/tpl/sometemplate/', 'author/sometemplate'),
     
    233285            array('drupal-drush', 'drush/my_module/', 'shama/my_module'),
    234286            array('elgg-plugin', 'mod/sample_plugin/', 'test/sample_plugin'),
     287            array('eliasis-component', 'components/my_component/', 'shama/my_component'),
     288            array('eliasis-module', 'modules/my_module/', 'shama/my_module'),
     289            array('eliasis-plugin', 'plugins/my_plugin/', 'shama/my_plugin'),
     290            array('eliasis-template', 'templates/my_template/', 'shama/my_template'),
     291            array('ee3-addon', 'system/user/addons/ee_theme/', 'author/ee_theme'),
     292            array('ee3-theme', 'themes/user/ee_package/', 'author/ee_package'),
     293            array('ee2-addon', 'system/expressionengine/third_party/ee_theme/', 'author/ee_theme'),
     294            array('ee2-theme', 'themes/third_party/ee_package/', 'author/ee_package'),
     295            array('ezplatform-assets', 'web/assets/ezplatform/ezplatform_comp/', 'author/ezplatform_comp'),
     296            array('ezplatform-meta-assets', 'web/assets/ezplatform/', 'author/ezplatform_comp'),
    235297            array('fuel-module', 'fuel/app/modules/module/', 'fuel/module'),
    236298            array('fuel-package', 'fuel/packages/orm/', 'fuel/orm'),
     
    242304            array('imagecms-module', 'application/modules/my_module/', 'shama/my_module'),
    243305            array('imagecms-library', 'application/libraries/my_library/', 'shama/my_library'),
     306            array('itop-extension', 'extensions/my_extension/', 'shama/my_extension'),
    244307            array('joomla-plugin', 'plugins/my_plugin/', 'shama/my_plugin'),
     308            array('kanboard-plugin', 'plugins/my_plugin/', 'shama/my_plugin'),
    245309            array('kirby-plugin', 'site/plugins/my_plugin/', 'shama/my_plugin'),
    246310            array('kohana-module', 'modules/my_package/', 'shama/my_package'),
     311            array('lms-plugin', 'plugins/MyPackage/', 'shama/MyPackage'),
     312            array('lms-plugin', 'plugins/MyPackage/', 'shama/my_package'),
     313            array('lms-template', 'templates/MyPackage/', 'shama/MyPackage'),
     314            array('lms-template', 'templates/MyPackage/', 'shama/my_package'),
     315            array('lms-document-template', 'documents/templates/MyPackage/', 'shama/MyPackage'),
     316            array('lms-document-template', 'documents/templates/MyPackage/', 'shama/my_package'),
     317            array('lms-userpanel-module', 'userpanel/modules/MyPackage/', 'shama/MyPackage'),
     318            array('lms-userpanel-module', 'userpanel/modules/MyPackage/', 'shama/my_package'),
    247319            array('laravel-library', 'libraries/my_package/', 'shama/my_package'),
     320            array('lavalite-theme', 'public/themes/my_theme/', 'shama/my_theme'),
     321            array('lavalite-package', 'packages/my_group/my_package/', 'my_group/my_package'),
    248322            array('lithium-library', 'libraries/li3_test/', 'user/li3_test'),
    249323            array('magento-library', 'lib/foo/', 'test/foo'),
     324            array('majima-plugin', 'plugins/MyPlugin/', 'shama/my-plugin'),
     325            array('modx-extra', 'core/packages/extra/', 'vendor/extra'),
    250326            array('modxevo-snippet', 'assets/snippets/my_snippet/', 'shama/my_snippet'),
    251327            array('modxevo-plugin', 'assets/plugins/my_plugin/', 'shama/my_plugin'),
     
    269345            array('prestashop-module', 'modules/a-module/', 'vendor/a-module'),
    270346            array('prestashop-theme', 'themes/a-theme/', 'vendor/a-theme'),
     347            array('pxcms-module', 'app/Modules/Foo/', 'vendor/module-foo'),
     348            array('pxcms-module', 'app/Modules/Foo/', 'vendor/pxcms-foo'),
     349            array('pxcms-theme', 'themes/Foo/', 'vendor/theme-foo'),
     350            array('pxcms-theme', 'themes/Foo/', 'vendor/pxcms-foo'),
    271351            array('phpbb-extension', 'ext/test/foo/', 'test/foo'),
    272352            array('phpbb-style', 'styles/foo/', 'test/foo'),
    273353            array('phpbb-language', 'language/foo/', 'test/foo'),
    274354            array('pimcore-plugin', 'plugins/MyPlugin/', 'ubikz/my_plugin'),
     355            array('plentymarkets-plugin', 'HelloWorld/', 'plugin-hello-world'),
    275356            array('ppi-module', 'modules/foo/', 'test/foo'),
    276357            array('puppet-module', 'modules/puppet-name/', 'puppet/puppet-name'),
     358            array('porto-container', 'app/Containers/container-name/', 'test/container-name'),
     359            array('radphp-bundle', 'src/Migration/', 'atkrad/migration'),
    277360            array('redaxo-addon', 'redaxo/include/addons/my_plugin/', 'shama/my_plugin'),
    278361            array('redaxo-bestyle-plugin', 'redaxo/include/addons/be_style/plugins/my_plugin/', 'shama/my_plugin'),
     362            array('reindex-theme', 'themes/my_module/', 'author/my_module'),
     363            array('reindex-plugin', 'plugins/my_module/', 'author/my_module'),
    279364            array('roundcube-plugin', 'plugins/base/', 'test/base'),
    280365            array('roundcube-plugin', 'plugins/replace_dash/', 'test/replace-dash'),
     
    283368            array('shopware-frontend-plugin', 'engine/Shopware/Plugins/Local/Frontend/ShamaMyFrontendPlugin/', 'shama/my-frontend-plugin'),
    284369            array('shopware-theme', 'templates/my_theme/', 'shama/my-theme'),
     370            array('shopware-frontend-theme', 'themes/Frontend/ShamaMyFrontendTheme/', 'shama/my-frontend-theme'),
     371            array('shopware-plugin', 'custom/plugins/ShamaMyPlugin/', 'shama/my-plugin'),
    285372            array('silverstripe-module', 'my_module/', 'shama/my_module'),
    286373            array('silverstripe-module', 'sapphire/', 'silverstripe/framework', '2.4.0'),
     
    301388            array('typo3-flow-build', 'Build/my_package/', 'shama/my_package'),
    302389            array('typo3-cms-extension', 'typo3conf/ext/my_extension/', 'shama/my_extension'),
     390            array('userfrosting-sprinkle', 'app/sprinkles/my_sprinkle/', 'shama/my_sprinkle'),
     391            array('vanilla-plugin', 'plugins/my_plugin/', 'shama/my_plugin'),
     392            array('vanilla-theme', 'themes/my_theme/', 'shama/my_theme'),
    303393            array('whmcs-gateway', 'modules/gateways/gateway_name/', 'vendor/gateway_name'),
    304394            array('wolfcms-plugin', 'wolf/plugins/my_plugin/', 'shama/my_plugin'),
     
    310400            array('kodicms-media', 'cms/media/vendor/my_media/', 'shama/my_media'),
    311401            array('kodicms-plugin', 'cms/plugins/my_plugin/', 'shama/my_plugin'),
     402            array('phifty-bundle', 'bundles/core/', 'shama/core'),
     403            array('phifty-library', 'libraries/my-lib/', 'shama/my-lib'),
     404            array('phifty-framework', 'frameworks/my-framework/', 'shama/my-framework'),
     405            array('yawik-module', 'module/MyModule/', 'shama/my_module'),
     406            array('osclass-plugin', 'oc-content/plugins/sample_plugin/', 'test/sample_plugin'),
     407            array('osclass-theme', 'oc-content/themes/sample_theme/', 'test/sample_theme'),
     408            array('osclass-language', 'oc-content/languages/sample_lang/', 'test/sample_lang'),
    312409        );
    313410    }
     
    445542
    446543        $installer = $this->getMock('Composer\Installers\Installer', array('getInstallPath'), array($this->io, $this->composer));
    447         $installer->expects($this->once())->method('getInstallPath')->with($package)->will($this->returnValue(sys_get_temp_dir().'/foo'));
     544        $installer->expects($this->atLeastOnce())->method('getInstallPath')->with($package)->will($this->returnValue(sys_get_temp_dir().'/foo'));
    448545
    449546        $repo = $this->getMock('Composer\Repository\InstalledRepositoryInterface');
  • wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php

    r1184144 r1824282  
    55use Composer\Package\Package;
    66use Composer\Composer;
     7use PHPUnit\Framework\TestCase as BaseTestCase;
    78
    8 class MediaWikiInstallerTest extends \PHPUnit_Framework_TestCase
     9class MediaWikiInstallerTest extends BaseTestCase
    910{
    1011    /**
  • wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php

    r1184144 r1824282  
    55use Composer\Package\Package;
    66use Composer\Composer;
     7use PHPUnit\Framework\TestCase as BaseTestCase;
    78
    8 class OctoberInstallerTest extends \PHPUnit_Framework_TestCase
     9class OctoberInstallerTest extends BaseTestCase
    910{
    1011    /**
  • wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php

    r1184144 r1824282  
    1818use Composer\Package\LinkConstraint\VersionConstraint;
    1919use Composer\Util\Filesystem;
     20use PHPUnit\Framework\TestCase as BaseTestCase;
    2021
    21 abstract class TestCase extends \PHPUnit_Framework_TestCase
     22abstract class TestCase extends BaseTestCase
    2223{
    2324    private static $parser;
  • wp-php-console/trunk/wp-php-console.php

    r1429928 r1824282  
    55 * Description:  An implementation of PHP Console for WordPress. Easily debug and trace PHP errors and warnings from your Chrome dev tools console using a Google Chrome extension.
    66 *
    7  * Version:      1.5.0
     7 * Version:      1.5.1
    88 *
    99 * Author:       Fulvio Notarstefano
Note: See TracChangeset for help on using the changeset viewer.