Changeset 1824282
- Timestamp:
- 02/19/2018 01:39:12 AM (8 years ago)
- Location:
- wp-php-console/trunk
- Files:
-
- 38 added
- 30 edited
-
includes/class-wp-php-console.php (modified) (1 diff)
-
readme.txt (modified) (6 diffs)
-
vendor/autoload.php (modified) (1 diff)
-
vendor/autoload_52.php (modified) (1 diff)
-
vendor/composer/ClassLoader.php (modified) (5 diffs)
-
vendor/composer/LICENSE (modified) (2 diffs)
-
vendor/composer/autoload_classmap.php (modified) (5 diffs)
-
vendor/composer/autoload_real.php (modified) (1 diff)
-
vendor/composer/autoload_real_52.php (modified) (2 diffs)
-
vendor/composer/autoload_static.php (added)
-
vendor/composer/installed.json (modified) (4 diffs)
-
vendor/composer/installers/CHANGELOG.md (added)
-
vendor/composer/installers/CONTRIBUTING.md (added)
-
vendor/composer/installers/README.md (modified) (7 diffs)
-
vendor/composer/installers/_config.yml (added)
-
vendor/composer/installers/composer.json (modified) (4 diffs)
-
vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php (modified) (2 diffs)
-
vendor/composer/installers/src/Composer/Installers/AttogramInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php (modified) (2 diffs)
-
vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php (modified) (2 diffs)
-
vendor/composer/installers/src/Composer/Installers/CockpitInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/DecibelInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/EliasisInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/ExpressionEngineInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/EzPlatformInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/Installer.php (modified) (6 diffs)
-
vendor/composer/installers/src/Composer/Installers/ItopInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/KanboardInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/LavaLiteInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/MajimaInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/MayaInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/ModxInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php (modified) (2 diffs)
-
vendor/composer/installers/src/Composer/Installers/OntoWikiInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/OsclassInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/PhiftyInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/PortoInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/PxcmsInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/RadPHPInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/ReIndexInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php (modified) (2 diffs)
-
vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/SiteDirectInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/SyDESInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/UserFrostingInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/VanillaInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/VgmcpInstaller.php (added)
-
vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php (modified) (1 diff)
-
vendor/composer/installers/src/Composer/Installers/YawikInstaller.php (added)
-
vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php (modified) (5 diffs)
-
vendor/composer/installers/tests/Composer/Installers/Test/BitrixInstallerTest.php (added)
-
vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php (modified) (1 diff)
-
vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php (modified) (1 diff)
-
vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php (modified) (16 diffs)
-
vendor/composer/installers/tests/Composer/Installers/Test/MayaInstallerTest.php (added)
-
vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php (modified) (1 diff)
-
vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php (modified) (1 diff)
-
vendor/composer/installers/tests/Composer/Installers/Test/OntoWikiInstallerTest.php (added)
-
vendor/composer/installers/tests/Composer/Installers/Test/SiteDirectInstallerTest.php (added)
-
vendor/composer/installers/tests/Composer/Installers/Test/SyDESInstallerTest.php (added)
-
vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php (modified) (1 diff)
-
vendor/composer/installers/tests/Composer/Installers/Test/VgmcpInstallerTest.php (added)
-
vendor/composer/installers/tests/Composer/Installers/Test/YawikInstallerTest.php (added)
-
wp-php-console.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-php-console/trunk/includes/class-wp-php-console.php
r1429928 r1824282 28 28 * @const string 29 29 */ 30 CONST VERSION = '1.5. 0';30 CONST VERSION = '1.5.1'; 31 31 32 32 /** -
wp-php-console/trunk/readme.txt
r1429928 r1824282 4 4 Tags: dev, development, bug, debug, debugging, stacktrace, php, console, terminal, browser 5 5 Requires at least: 3.6.0 6 Tested up to: 4. 5.27 Stable tag: 1.5. 06 Tested up to: 4.9 7 Stable tag: 1.5.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 18 18 This 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. 19 19 20 Note: PHP version 5.4.0 or above is required to use this plugin. 20 Note: PHP version 5.4.0 or above is required to use this plugin. 21 21 22 22 For 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. … … 44 44 = Options = 45 45 46 **Allow only on SSL** 46 **Allow only on SSL** 47 47 Forces 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). 48 48 … … 87 87 = Will there be items logged in my debug.log files when a PHP error occurs? = 88 88 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. 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. 90 90 91 91 = Why are PHP arrays shown as objects? = … … 128 128 == Changelog == 129 129 130 = 1.5.1 = 131 * Misc: Bump WordPress compatibility to mark support for the latest versions 132 130 133 = 1.5.0 = 131 134 * 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 133 136 * Misc: Updated PHP Console Library to 3.1.6 134 137 * Misc: Tested up to WordPress 4.5.2 … … 144 147 145 148 = 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) 147 150 148 151 = 1.3.7 = -
wp-php-console/trunk/vendor/autoload.php
r1325684 r1824282 3 3 // autoload.php @generated by Composer 4 4 5 require_once __DIR__ . '/composer ' . '/autoload_real.php';5 require_once __DIR__ . '/composer/autoload_real.php'; 6 6 7 7 return ComposerAutoloaderInit1edcb1aab573ff079cc179225fa20fd1::getLoader(); -
wp-php-console/trunk/vendor/autoload_52.php
r1429928 r1824282 5 5 require_once dirname(__FILE__) . '/composer'.'/autoload_real_52.php'; 6 6 7 return ComposerAutoloaderInit 504a8155cd6d202df3b0ee6eed43c5bf::getLoader();7 return ComposerAutoloaderInit2503c7f476e766eba936ff04c58392e4::getLoader(); -
wp-php-console/trunk/vendor/composer/ClassLoader.php
r1325684 r1824282 54 54 private $useIncludePath = false; 55 55 private $classMap = array(); 56 57 56 private $classMapAuthoritative = false; 57 private $missingClasses = array(); 58 private $apcuPrefix; 58 59 59 60 public function getPrefixes() … … 273 274 274 275 /** 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 /** 275 296 * Registers this instance as an autoloader. 276 297 * … … 314 335 public function findFile($class) 315 336 { 316 // work around for PHP 5.3.0 - 5.3.2 https://bugs.php.net/50731317 if ('\\' == $class[0]) {318 $class = substr($class, 1);319 }320 321 337 // class map lookup 322 338 if (isset($this->classMap[$class])) { 323 339 return $this->classMap[$class]; 324 340 } 325 if ($this->classMapAuthoritative ) {341 if ($this->classMapAuthoritative || isset($this->missingClasses[$class])) { 326 342 return false; 327 343 } 344 if (null !== $this->apcuPrefix) { 345 $file = apcu_fetch($this->apcuPrefix.$class, $hit); 346 if ($hit) { 347 return $file; 348 } 349 } 328 350 329 351 $file = $this->findFileWithExtension($class, '.php'); 330 352 331 353 // Search for Hack files if we are running on HHVM 332 if ( $file === null&& defined('HHVM_VERSION')) {354 if (false === $file && defined('HHVM_VERSION')) { 333 355 $file = $this->findFileWithExtension($class, '.hh'); 334 356 } 335 357 336 if ($file === null) { 358 if (null !== $this->apcuPrefix) { 359 apcu_add($this->apcuPrefix.$class, $file); 360 } 361 362 if (false === $file) { 337 363 // Remember that this class does not exist. 338 return $this->classMap[$class] = false;364 $this->missingClasses[$class] = true; 339 365 } 340 366 … … 349 375 $first = $class[0]; 350 376 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)) { 355 385 return $file; 356 386 } … … 400 430 return $file; 401 431 } 432 433 return false; 402 434 } 403 435 } -
wp-php-console/trunk/vendor/composer/LICENSE
r1429928 r1824282 1 2 Copyright (c) 2016 Nils Adermann, Jordi Boggiano 1 Copyright (c) Nils Adermann, Jordi Boggiano 3 2 4 3 Permission is hereby granted, free of charge, to any person obtaining a copy … … 19 18 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 20 19 THE SOFTWARE. 21 -
wp-php-console/trunk/vendor/composer/autoload_classmap.php
r1429928 r1824282 11 11 'Composer\\Installers\\AnnotateCmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AnnotateCmsInstaller.php', 12 12 'Composer\\Installers\\AsgardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AsgardInstaller.php', 13 'Composer\\Installers\\AttogramInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/AttogramInstaller.php', 13 14 'Composer\\Installers\\BaseInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BaseInstaller.php', 14 15 'Composer\\Installers\\BitrixInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/BitrixInstaller.php', … … 17 18 'Composer\\Installers\\ChefInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ChefInstaller.php', 18 19 'Composer\\Installers\\ClanCatsFrameworkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ClanCatsFrameworkInstaller.php', 20 'Composer\\Installers\\CockpitInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CockpitInstaller.php', 19 21 'Composer\\Installers\\CodeIgniterInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CodeIgniterInstaller.php', 20 22 'Composer\\Installers\\Concrete5Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Concrete5Installer.php', 21 23 'Composer\\Installers\\CraftInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CraftInstaller.php', 22 24 'Composer\\Installers\\CroogoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/CroogoInstaller.php', 25 'Composer\\Installers\\DecibelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DecibelInstaller.php', 23 26 'Composer\\Installers\\DokuWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DokuWikiInstaller.php', 24 27 'Composer\\Installers\\DolibarrInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DolibarrInstaller.php', 25 28 'Composer\\Installers\\DrupalInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/DrupalInstaller.php', 26 29 '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', 27 33 'Composer\\Installers\\FuelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelInstaller.php', 28 34 'Composer\\Installers\\FuelphpInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/FuelphpInstaller.php', … … 31 37 'Composer\\Installers\\ImageCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ImageCMSInstaller.php', 32 38 'Composer\\Installers\\Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Installer.php', 39 'Composer\\Installers\\ItopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ItopInstaller.php', 33 40 'Composer\\Installers\\JoomlaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/JoomlaInstaller.php', 41 'Composer\\Installers\\KanboardInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KanboardInstaller.php', 34 42 'Composer\\Installers\\KirbyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KirbyInstaller.php', 35 43 'Composer\\Installers\\KodiCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KodiCMSInstaller.php', 36 44 'Composer\\Installers\\KohanaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/KohanaInstaller.php', 45 'Composer\\Installers\\LanManagementSystemInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LanManagementSystemInstaller.php', 37 46 'Composer\\Installers\\LaravelInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LaravelInstaller.php', 47 'Composer\\Installers\\LavaLiteInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LavaLiteInstaller.php', 38 48 'Composer\\Installers\\LithiumInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/LithiumInstaller.php', 39 49 'Composer\\Installers\\MODULEWorkInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODULEWorkInstaller.php', 40 50 'Composer\\Installers\\MODXEvoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MODXEvoInstaller.php', 41 51 'Composer\\Installers\\MagentoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MagentoInstaller.php', 52 'Composer\\Installers\\MajimaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MajimaInstaller.php', 42 53 'Composer\\Installers\\MakoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MakoInstaller.php', 43 54 'Composer\\Installers\\MauticInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MauticInstaller.php', 55 'Composer\\Installers\\MayaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MayaInstaller.php', 44 56 'Composer\\Installers\\MediaWikiInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MediaWikiInstaller.php', 45 57 'Composer\\Installers\\MicroweberInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MicroweberInstaller.php', 58 'Composer\\Installers\\ModxInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ModxInstaller.php', 46 59 'Composer\\Installers\\MoodleInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/MoodleInstaller.php', 47 60 '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', 48 63 'Composer\\Installers\\OxidInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/OxidInstaller.php', 49 64 'Composer\\Installers\\PPIInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PPIInstaller.php', 65 'Composer\\Installers\\PhiftyInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhiftyInstaller.php', 50 66 'Composer\\Installers\\PhpBBInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PhpBBInstaller.php', 51 67 'Composer\\Installers\\PimcoreInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PimcoreInstaller.php', 52 68 'Composer\\Installers\\PiwikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PiwikInstaller.php', 69 'Composer\\Installers\\PlentymarketsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PlentymarketsInstaller.php', 53 70 'Composer\\Installers\\Plugin' => $vendorDir . '/composer/installers/src/Composer/Installers/Plugin.php', 71 'Composer\\Installers\\PortoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PortoInstaller.php', 54 72 'Composer\\Installers\\PrestashopInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/PrestashopInstaller.php', 55 73 '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', 56 77 'Composer\\Installers\\RedaxoInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RedaxoInstaller.php', 57 78 'Composer\\Installers\\RoundcubeInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/RoundcubeInstaller.php', … … 59 80 'Composer\\Installers\\ShopwareInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ShopwareInstaller.php', 60 81 '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', 61 84 'Composer\\Installers\\Symfony1Installer' => $vendorDir . '/composer/installers/src/Composer/Installers/Symfony1Installer.php', 62 85 'Composer\\Installers\\TYPO3CmsInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TYPO3CmsInstaller.php', … … 64 87 'Composer\\Installers\\TheliaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/TheliaInstaller.php', 65 88 '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', 66 92 'Composer\\Installers\\WHMCSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WHMCSInstaller.php', 67 93 'Composer\\Installers\\WolfCMSInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WolfCMSInstaller.php', 68 94 'Composer\\Installers\\WordPressInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/WordPressInstaller.php', 95 'Composer\\Installers\\YawikInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/YawikInstaller.php', 69 96 'Composer\\Installers\\ZendInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZendInstaller.php', 70 97 'Composer\\Installers\\ZikulaInstaller' => $vendorDir . '/composer/installers/src/Composer/Installers/ZikulaInstaller.php', -
wp-php-console/trunk/vendor/composer/autoload_real.php
r1325684 r1824282 24 24 spl_autoload_unregister(array('ComposerAutoloaderInit1edcb1aab573ff079cc179225fa20fd1', 'loadClassLoader')); 25 25 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'; 30 29 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 } 35 36 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 } 39 46 } 40 47 -
wp-php-console/trunk/vendor/composer/autoload_real_52.php
r1429928 r1824282 3 3 // autoload_real_52.php generated by xrstf/composer-php52 4 4 5 class ComposerAutoloaderInit 504a8155cd6d202df3b0ee6eed43c5bf{5 class ComposerAutoloaderInit2503c7f476e766eba936ff04c58392e4 { 6 6 private static $loader; 7 7 … … 20 20 } 21 21 22 spl_autoload_register(array('ComposerAutoloaderInit 504a8155cd6d202df3b0ee6eed43c5bf', 'loadClassLoader'), true /*, true */);22 spl_autoload_register(array('ComposerAutoloaderInit2503c7f476e766eba936ff04c58392e4', 'loadClassLoader'), true /*, true */); 23 23 self::$loader = $loader = new xrstf_Composer52_ClassLoader(); 24 spl_autoload_unregister(array('ComposerAutoloaderInit 504a8155cd6d202df3b0ee6eed43c5bf', 'loadClassLoader'));24 spl_autoload_unregister(array('ComposerAutoloaderInit2503c7f476e766eba936ff04c58392e4', 'loadClassLoader')); 25 25 26 26 $vendorDir = dirname(dirname(__FILE__)); -
wp-php-console/trunk/vendor/composer/installed.json
r1429928 r1824282 1 1 [ 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 }, 2 168 { 3 169 "name": "php-console/php-console", … … 18 184 "php": ">=5.3.0" 19 185 }, 20 "time": "2016-02-19 16:00:24",186 "time": "2016-02-19T16:00:24+00:00", 21 187 "type": "library", 22 188 "extra": { … … 68 234 "shasum": "" 69 235 }, 70 "time": "2016-04-16 21:52:24",236 "time": "2016-04-16T21:52:24+00:00", 71 237 "type": "library", 72 238 "extra": { … … 85 251 "MIT" 86 252 ] 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 ]233 253 } 234 254 ] -
wp-php-console/trunk/vendor/composer/installers/README.md
r1429928 r1824282 7 7 type. 8 8 9 The goal of `installers`is to be a simple package type to install path map.9 The goal of Installers is to be a simple package type to install path map. 10 10 Users can also customize the install path per package and package authors can 11 11 modify the package name upon installing. 12 12 13 `installers`isn't intended on replacing all custom installers. If your13 Installers isn't intended on replacing all custom installers. If your 14 14 package requires special installation handling then by all means, create a 15 15 custom installer to handle it. … … 26 26 * Yii2 27 27 28 **Current Supported Package Types**: 28 ## Current Supported Package Types 29 29 30 30 > Stable types are marked as **bold**, this means that installation paths … … 36 36 | Aimeos | `aimeos-extension` 37 37 | Asgard | `asgard-module`<br>`asgard-theme` 38 | Attogram | `attogram-module` 38 39 | AGL | `agl-module` 39 40 | Bonefish | `bonefish-package` 40 41 | 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` 42 43 | CakePHP 2+ | **`cakephp-plugin`** 43 44 | Chef | `chef-cookbook`<br>`chef-role` 44 45 | CCFramework | `ccframework-ship`<br>`ccframework-theme` 46 | Cockpit | `cockpit-module` 45 47 | 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` 47 49 | Craft | `craft-plugin` 48 50 | Croogo | `croogo-plugin`<br>`croogo-theme` 51 | Decibel | `decibel-app` 49 52 | DokuWiki | `dokuwiki-plugin`<br>`dokuwiki-template` 50 53 | Dolibarr | `dolibarr-module` 51 54 | Drupal | <b>`drupal-core`<br>`drupal-module`<br>`drupal-theme`</b><br>`drupal-library`<br>`drupal-profile`<br>`drupal-drush` 52 55 | 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` 53 59 | FuelPHP v1.x | `fuel-module`<br>`fuel-package`<br/>`fuel-theme` 54 60 | FuelPHP v2.x | `fuelphp-component` … … 56 62 | Hurad | `hurad-plugin`<br>`hurad-theme` 57 63 | ImageCMS | `imagecms-template`<br>`imagecms-module`<br>`imagecms-library` 64 | iTop | `itop-extension` 58 65 | Joomla | `joomla-component`<br>`joomla-module`<br>`joomla-template`<br>`joomla-plugin`<br>`joomla-library` 66 | Kanboard | `kanboard-plugin` 59 67 | Kirby | **`kirby-plugin`**<br>`kirby-field`<br>`kirby-tag` 60 68 | KodiCMS | `kodicms-plugin`<br>`kodicms-media` 61 69 | Kohana | **`kohana-module`** 70 | Lan Management System | `lms-plugin`<br>`lms-template`<br>`lms-document-template`<br>`lms-userpanel-module` 62 71 | Laravel | `laravel-library` 72 | Lavalite | `lavalite-theme`<br>`lavalite-package` 63 73 | Lithium | **`lithium-library`<br>`lithium-source`** 64 74 | Magento | `magento-library`<br>`magento-skin`<br>`magento-theme` 75 | majima | `majima-plugin` 65 76 | Mako | `mako-package` 66 77 | Mautic | `mautic-plugin`<br>`mautic-theme` 78 | Maya | `maya-module` 79 | MODX | `modx-extra` 67 80 | MODX Evo | `modxevo-snippet`<br>`modxevo-plugin`<br>`modxevo-module`<br>`modxevo-template`<br>`modxevo-lib` 68 81 | MediaWiki | `mediawiki-extension` 69 82 | October | **`october-module`<br>`october-plugin`<br>`october-theme`** 83 | OntoWiki | `ontowiki-extension`<br>`ontowiki-theme`<br>`ontowiki-translation` 70 84 | OXID | `oxid-module`<br>`oxid-theme`<br>`oxid-out` 85 | Osclass | `osclass-plugin`<br>`osclass-theme`<br>`osclass-language` 71 86 | MODULEWork | `modulework-module` 72 87 | Moodle | `moodle-*` (Please [check source](https://raw.githubusercontent.com/composer/installers/master/src/Composer/Installers/MoodleInstaller.php) for all supported types) … … 74 89 | phpBB | `phpbb-extension`<br>`phpbb-style`<br>`phpbb-language` 75 90 | Pimcore | `pimcore-plugin` 91 | Plentymarkets | `plentymarkets-plugin` 76 92 | PPI | **`ppi-module`** 77 93 | Puppet | `puppet-module` 94 | Porto | `porto-container` 95 | RadPHP | `radphp-bundle` 78 96 | REDAXO | `redaxo-addon` 97 | ReIndex | **`reindex-plugin`** <br> **`reindex-theme`** 79 98 | 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` 81 100 | SilverStripe | `silverstripe-module`<br>`silverstripe-theme` 101 | SiteDirect | `sitedirect-module`<br>`sitedirect-plugin` 82 102 | SMF | `smf-module`<br>`smf-theme` 103 | SyDES | `sydes-module`<br>`sydes-theme` 83 104 | symfony1 | **`symfony1-plugin`** 84 105 | Tusk | `tusk-task`<br>`tusk-command`<br>`tusk-asset` 85 106 | 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` 86 107 | 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` 87 111 | 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` 89 114 | Zend | `zend-library`<br>`zend-extra`<br>`zend-module` 90 115 | Zikula | `zikula-module`<br>`zikula-theme` 91 116 | Prestashop | `prestashop-module`<br>`prestashop-theme` 117 | Phifty | `phifty-bundle`<br>`phifty-framework`<br>`phifty-library` 92 118 93 119 ## Example `composer.json` File … … 181 207 not be inflected. 182 208 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 200 211 What are they? The ability for a package author to determine where a package 201 212 will be installed either through setting the path directly in their … … 204 215 205 216 It 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 package217 removed. Installers won't do this because it would allow a single package 207 218 author to wipe out entire folders without the user's consent. That user would 208 219 then come here to yell at us. -
wp-php-console/trunk/vendor/composer/installers/composer.json
r1429928 r1824282 9 9 "AGL", 10 10 "AnnotateCms", 11 "Attogram", 11 12 "Bitrix", 12 13 "CakePHP", 13 14 "Chef", 15 "Cockpit", 14 16 "CodeIgniter", 15 17 "concrete5", … … 20 22 "Drupal", 21 23 "Elgg", 24 "Eliasis", 25 "ExpressionEngine", 26 "eZ Platform", 22 27 "FuelPHP", 23 28 "Grav", 24 29 "Hurad", 25 30 "ImageCMS", 31 "iTop", 26 32 "Joomla", 33 "Kanboard", 27 34 "Kohana", 35 "Lan Management System", 28 36 "Laravel", 37 "Lavalite", 29 38 "Lithium", 30 39 "Magento", 40 "majima", 31 41 "Mako", 32 42 "Mautic", 43 "Maya", 44 "MODX", 33 45 "MODX Evo", 34 46 "MediaWiki", 35 47 "OXID", 48 "osclass", 36 49 "MODULEWork", 37 50 "Moodle", 38 51 "Piwik", 52 "pxcms", 39 53 "phpBB", 54 "Plentymarkets", 40 55 "PPI", 41 56 "Puppet", 57 "Porto", 58 "RadPHP", 59 "ReIndex", 42 60 "Roundcube", 43 61 "shopware", 44 62 "SilverStripe", 45 63 "SMF", 64 "SyDES", 46 65 "symfony", 47 66 "Thelia", … … 49 68 "WolfCMS", 50 69 "WordPress", 70 "YAWIK", 51 71 "Zend", 52 72 "Zikula" … … 78 98 "require-dev": { 79 99 "composer/composer": "1.0.*@dev", 80 "phpunit/phpunit": " 4.1.*"100 "phpunit/phpunit": "^4.8.36" 81 101 }, 82 102 "scripts": { -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/AsgardInstaller.php
r1184144 r1824282 32 32 protected function inflectPluginVars($vars) 33 33 { 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'])); 35 37 36 38 return $vars; … … 39 41 protected function inflectThemeVars($vars) 40 42 { 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'])); 42 46 43 47 return $vars; -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/BitrixInstaller.php
r1429928 r1824282 7 7 /** 8 8 * 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>`. 12 12 * 13 13 * You can set custom path to directory with Bitrix kernel in `composer.json`: … … 27 27 { 28 28 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}/', 32 35 ); 33 36 -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/CakePHPInstaller.php
r1325684 r1824282 3 3 4 4 use Composer\DependencyResolver\Pool; 5 use Composer\Package\PackageInterface;6 5 7 6 class CakePHPInstaller extends BaseInstaller … … 76 75 if ($cake3->matches($installed)) { 77 76 return true; 78 break;79 77 } 80 78 } -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/Concrete5Installer.php
r1184144 r1824282 5 5 { 6 6 protected $locations = array( 7 'block' => 'blocks/{$name}/', 7 'core' => 'concrete/', 8 'block' => 'application/blocks/{$name}/', 8 9 'package' => 'packages/{$name}/', 9 'theme' => ' themes/{$name}/',10 'theme' => 'application/themes/{$name}/', 10 11 'update' => 'updates/{$name}/', 11 12 ); -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/Installer.php
r1429928 r1824282 17 17 'aimeos' => 'AimeosInstaller', 18 18 'asgard' => 'AsgardInstaller', 19 'attogram' => 'AttogramInstaller', 19 20 'agl' => 'AglInstaller', 20 21 'annotatecms' => 'AnnotateCmsInstaller', … … 24 25 'chef' => 'ChefInstaller', 25 26 'ccframework' => 'ClanCatsFrameworkInstaller', 27 'cockpit' => 'CockpitInstaller', 26 28 'codeigniter' => 'CodeIgniterInstaller', 27 29 'concrete5' => 'Concrete5Installer', … … 30 32 'dokuwiki' => 'DokuWikiInstaller', 31 33 'dolibarr' => 'DolibarrInstaller', 34 'decibel' => 'DecibelInstaller', 32 35 'drupal' => 'DrupalInstaller', 33 36 'elgg' => 'ElggInstaller', 37 'eliasis' => 'EliasisInstaller', 38 'ee3' => 'ExpressionEngineInstaller', 39 'ee2' => 'ExpressionEngineInstaller', 40 'ezplatform' => 'EzPlatformInstaller', 34 41 'fuel' => 'FuelInstaller', 35 42 'fuelphp' => 'FuelphpInstaller', … … 37 44 'hurad' => 'HuradInstaller', 38 45 'imagecms' => 'ImageCMSInstaller', 46 'itop' => 'ItopInstaller', 39 47 'joomla' => 'JoomlaInstaller', 48 'kanboard' => 'KanboardInstaller', 40 49 'kirby' => 'KirbyInstaller', 41 50 'kodicms' => 'KodiCMSInstaller', 42 51 'kohana' => 'KohanaInstaller', 52 'lms' => 'LanManagementSystemInstaller', 43 53 'laravel' => 'LaravelInstaller', 54 'lavalite' => 'LavaLiteInstaller', 44 55 'lithium' => 'LithiumInstaller', 45 56 'magento' => 'MagentoInstaller', 57 'majima' => 'MajimaInstaller', 46 58 'mako' => 'MakoInstaller', 59 'maya' => 'MayaInstaller', 47 60 'mautic' => 'MauticInstaller', 48 61 'mediawiki' => 'MediaWikiInstaller', 49 'microweber' => 'MicroweberInstaller',62 'microweber' => 'MicroweberInstaller', 50 63 'modulework' => 'MODULEWorkInstaller', 64 'modx' => 'ModxInstaller', 51 65 'modxevo' => 'MODXEvoInstaller', 52 66 'moodle' => 'MoodleInstaller', 53 67 'october' => 'OctoberInstaller', 68 'ontowiki' => 'OntoWikiInstaller', 54 69 'oxid' => 'OxidInstaller', 70 'osclass' => 'OsclassInstaller', 71 'pxcms' => 'PxcmsInstaller', 55 72 'phpbb' => 'PhpBBInstaller', 56 73 'pimcore' => 'PimcoreInstaller', 57 74 'piwik' => 'PiwikInstaller', 75 'plentymarkets'=> 'PlentymarketsInstaller', 58 76 'ppi' => 'PPIInstaller', 59 77 'puppet' => 'PuppetInstaller', 78 'radphp' => 'RadPHPInstaller', 79 'phifty' => 'PhiftyInstaller', 80 'porto' => 'PortoInstaller', 60 81 'redaxo' => 'RedaxoInstaller', 82 'reindex' => 'ReIndexInstaller', 61 83 'roundcube' => 'RoundcubeInstaller', 62 84 'shopware' => 'ShopwareInstaller', 85 'sitedirect' => 'SiteDirectInstaller', 63 86 'silverstripe' => 'SilverStripeInstaller', 64 87 'smf' => 'SMFInstaller', 88 'sydes' => 'SyDESInstaller', 65 89 'symfony1' => 'Symfony1Installer', 66 90 'thelia' => 'TheliaInstaller', … … 68 92 'typo3-cms' => 'TYPO3CmsInstaller', 69 93 'typo3-flow' => 'TYPO3FlowInstaller', 94 'userfrosting' => 'UserFrostingInstaller', 95 'vanilla' => 'VanillaInstaller', 70 96 'whmcs' => 'WHMCSInstaller', 71 97 'wolfcms' => 'WolfCMSInstaller', 72 98 'wordpress' => 'WordPressInstaller', 99 'yawik' => 'YawikInstaller', 73 100 'zend' => 'ZendInstaller', 74 101 'zikula' => 'ZikulaInstaller', … … 98 125 public function uninstall(InstalledRepositoryInterface $repo, PackageInterface $package) 99 126 { 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>')); 108 130 } 109 131 -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/MoodleInstaller.php
r1325684 r1824282 46 46 'repository' => 'repository/{$name}/', 47 47 'scormreport' => 'mod/scorm/report/{$name}/', 48 'search' => 'search/engine/{$name}/', 48 49 'theme' => 'theme/{$name}/', 49 50 'tinymce' => 'lib/editor/tinymce/plugins/{$name}/', -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/OctoberInstaller.php
r1184144 r1824282 33 33 protected function inflectPluginVars($vars) 34 34 { 35 $vars['name'] = preg_replace('/ -plugin$/', '', $vars['name']);35 $vars['name'] = preg_replace('/^oc-|-plugin$/', '', $vars['name']); 36 36 37 37 return $vars; … … 40 40 protected function inflectThemeVars($vars) 41 41 { 42 $vars['name'] = preg_replace('/ -theme$/', '', $vars['name']);42 $vars['name'] = preg_replace('/^oc-|-theme$/', '', $vars['name']); 43 43 44 44 return $vars; -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/ShopwareInstaller.php
r1184144 r1824282 12 12 'core-plugin' => 'engine/Shopware/Plugins/Local/Core/{$name}/', 13 13 '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}/', 15 17 ); 16 18 … … 24 26 if ($vars['type'] === 'shopware-theme') { 25 27 return $this->correctThemeName($vars); 26 } else {27 return $this->correctPluginName($vars);28 28 } 29 30 return $this->correctPluginName($vars); 29 31 } 30 32 -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/SilverStripeInstaller.php
r1184144 r1824282 29 29 ) { 30 30 return $this->templatePath($this->locations['module'], array('name' => 'sapphire')); 31 } else {32 return parent::getInstallPath($package, $frameworkType);33 31 } 34 32 33 return parent::getInstallPath($package, $frameworkType); 35 34 } 36 35 } -
wp-php-console/trunk/vendor/composer/installers/src/Composer/Installers/WordPressInstaller.php
r1184144 r1824282 8 8 'theme' => 'wp-content/themes/{$name}/', 9 9 'muplugin' => 'wp-content/mu-plugins/{$name}/', 10 'dropin' => 'wp-content/{$name}/', 10 11 ); 11 12 } -
wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/AsgardInstallerTest.php
r1184144 r1824282 5 5 use Composer\Package\Package; 6 6 use Composer\Composer; 7 use PHPUnit\Framework\TestCase; 7 8 8 class AsgardInstallerTest extends \PHPUnit_Framework_TestCase9 class AsgardInstallerTest extends TestCase 9 10 { 10 11 /** 11 * @var OctoberInstaller12 * @var AsgardInstaller 12 13 */ 13 14 private $installer; … … 27 28 { 28 29 $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)) 31 32 ); 32 33 } … … 35 36 { 36 37 return array( 38 // Should keep module name StudlyCase 39 array( 40 'asgard-module', 41 'user-profile', 42 'UserProfile' 43 ), 37 44 array( 38 45 'asgard-module', … … 45 52 'Blog' 46 53 ), 54 // tests that exactly one '-module' is cut off 55 array( 56 'asgard-module', 57 'some-module-module', 58 'SomeModule', 59 ), 47 60 // tests that exactly one '-theme' is cut off 48 61 array( 49 62 'asgard-theme', 50 63 'some-theme-theme', 51 'Some -theme',64 'SomeTheme', 52 65 ), 53 66 // tests that names without '-theme' suffix stay valid … … 57 70 'Someothertheme', 58 71 ), 72 // Should keep theme name StudlyCase 73 array( 74 'asgard-theme', 75 'adminlte-advanced', 76 'AdminlteAdvanced' 77 ), 59 78 ); 60 79 } -
wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/CakePHPInstallerTest.php
r1325684 r1824282 7 7 use Composer\Package\Package; 8 8 use Composer\Package\RootPackage; 9 use Composer\Package\Link;10 9 use Composer\Package\Version\VersionParser; 11 10 use Composer\Composer; -
wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/DokuWikiInstallerTest.php
r1184144 r1824282 5 5 use Composer\Package\Package; 6 6 use Composer\Composer; 7 use PHPUnit\Framework\TestCase as BaseTestCase; 7 8 8 class DokuWikiInstallerTest extends \PHPUnit_Framework_TestCase9 class DokuWikiInstallerTest extends BaseTestCase 9 10 { 10 11 /** -
wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/InstallerTest.php
r1429928 r1824282 90 90 array('annotatecms-component', true), 91 91 array('annotatecms-service', true), 92 array('attogram-module', true), 92 93 array('bitrix-module', true), 93 94 array('bitrix-component', true), … … 100 101 array('chef-cookbook', true), 101 102 array('chef-role', true), 103 array('cockpit-module', true), 102 104 array('codeigniter-app', false), 103 105 array('codeigniter-library', true), … … 107 109 array('concrete5-package', true), 108 110 array('concrete5-theme', true), 111 array('concrete5-core', true), 109 112 array('concrete5-update', true), 110 113 array('craft-plugin', true), 111 114 array('croogo-plugin', true), 112 115 array('croogo-theme', true), 116 array('decibel-app', true), 113 117 array('dokuwiki-plugin', true), 114 118 array('dokuwiki-template', true), 115 119 array('drupal-module', true), 116 120 array('dolibarr-module', true), 121 array('ee3-theme', true), 122 array('ee3-addon', true), 123 array('ee2-theme', true), 124 array('ee2-addon', true), 117 125 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), 118 132 array('fuel-module', true), 119 133 array('fuel-package', true), … … 125 139 array('imagecms-module', true), 126 140 array('imagecms-library', true), 141 array('itop-extension', true), 127 142 array('joomla-library', true), 143 array('kanboard-plugin', true), 128 144 array('kirby-plugin', true), 129 145 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), 130 150 array('laravel-library', true), 151 array('lavalite-theme', true), 152 array('lavalite-package', true), 131 153 array('lithium-library', true), 132 154 array('magento-library', true), 155 array('majima-plugin', true), 133 156 array('mako-package', true), 157 array('modx-extra', true), 134 158 array('modxevo-snippet', true), 135 159 array('modxevo-plugin', true), … … 145 169 array('october-plugin', true), 146 170 array('piwik-plugin', true), 171 array('pxcms-module', true), 172 array('pxcms-theme', true), 147 173 array('phpbb-extension', true), 148 174 array('pimcore-plugin', true), 175 array('plentymarkets-plugin', true), 149 176 array('ppi-module', true), 150 177 array('prestashop-module', true), 151 178 array('prestashop-theme', true), 152 179 array('puppet-module', true), 180 array('porto-container', true), 181 array('radphp-bundle', true), 153 182 array('redaxo-addon', true), 154 183 array('redaxo-bestyle-plugin', true), 184 array('reindex-theme', true), 185 array('reindex-plugin', true), 155 186 array('roundcube-plugin', true), 156 187 array('shopware-backend-plugin', true), … … 158 189 array('shopware-frontend-plugin', true), 159 190 array('shopware-theme', true), 191 array('shopware-plugin', true), 192 array('shopware-frontend-theme', true), 160 193 array('silverstripe-module', true), 161 194 array('silverstripe-theme', true), 162 195 array('smf-module', true), 163 196 array('smf-theme', true), 197 array('sydes-module', true), 198 array('sydes-theme', true), 164 199 array('symfony1-plugin', true), 165 200 array('thelia-module', true), … … 171 206 array('typo3-flow-plugin', true), 172 207 array('typo3-cms-extension', true), 208 array('userfrosting-sprinkle', true), 209 array('vanilla-plugin', true), 210 array('vanilla-theme', true), 173 211 array('whmcs-gateway', true), 174 212 array('wolfcms-plugin', true), 175 213 array('wordpress-plugin', true), 176 214 array('wordpress-core', false), 215 array('yawik-module', true), 177 216 array('zend-library', true), 178 217 array('zikula-module', true), … … 180 219 array('kodicms-plugin', true), 181 220 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), 182 227 ); 183 228 } … … 209 254 array('annotatecms-component', 'addons/components/my_component/', 'vysinsky/my_component'), 210 255 array('annotatecms-service', 'addons/services/my_service/', 'vysinsky/my_service'), 256 array('attogram-module', 'modules/my_module/', 'author/my_module'), 211 257 array('bitrix-module', 'bitrix/modules/my_module/', 'author/my_module'), 212 258 array('bitrix-component', 'bitrix/components/my_component/', 'author/my_component'), 213 259 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'), 214 263 array('bonefish-package', 'Packages/bonefish/package/', 'bonefish/package'), 215 264 array('cakephp-plugin', 'Plugin/Ftp/', 'shama/ftp'), 216 265 array('chef-cookbook', 'Chef/mre/my_cookbook/', 'mre/my_cookbook'), 217 266 array('chef-role', 'Chef/roles/my_role/', 'mre/my_role'), 267 array('cockpit-module', 'cockpit/modules/addons/My_module/', 'piotr-cz/cockpit-my_module'), 218 268 array('codeigniter-library', 'application/libraries/my_package/', 'shama/my_package'), 219 269 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'), 221 271 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'), 223 274 array('concrete5-update', 'updates/concrete5/', 'concrete5/concrete5'), 224 275 array('craft-plugin', 'craft/plugins/my_plugin/', 'mdcpepper/my_plugin'), 225 276 array('croogo-plugin', 'Plugin/Sitemaps/', 'fahad19/sitemaps'), 226 277 array('croogo-theme', 'View/Themed/Readable/', 'rchavik/readable'), 278 array('decibel-app', 'app/someapp/', 'author/someapp'), 227 279 array('dokuwiki-plugin', 'lib/plugins/someplugin/', 'author/someplugin'), 228 280 array('dokuwiki-template', 'lib/tpl/sometemplate/', 'author/sometemplate'), … … 233 285 array('drupal-drush', 'drush/my_module/', 'shama/my_module'), 234 286 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'), 235 297 array('fuel-module', 'fuel/app/modules/module/', 'fuel/module'), 236 298 array('fuel-package', 'fuel/packages/orm/', 'fuel/orm'), … … 242 304 array('imagecms-module', 'application/modules/my_module/', 'shama/my_module'), 243 305 array('imagecms-library', 'application/libraries/my_library/', 'shama/my_library'), 306 array('itop-extension', 'extensions/my_extension/', 'shama/my_extension'), 244 307 array('joomla-plugin', 'plugins/my_plugin/', 'shama/my_plugin'), 308 array('kanboard-plugin', 'plugins/my_plugin/', 'shama/my_plugin'), 245 309 array('kirby-plugin', 'site/plugins/my_plugin/', 'shama/my_plugin'), 246 310 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'), 247 319 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'), 248 322 array('lithium-library', 'libraries/li3_test/', 'user/li3_test'), 249 323 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'), 250 326 array('modxevo-snippet', 'assets/snippets/my_snippet/', 'shama/my_snippet'), 251 327 array('modxevo-plugin', 'assets/plugins/my_plugin/', 'shama/my_plugin'), … … 269 345 array('prestashop-module', 'modules/a-module/', 'vendor/a-module'), 270 346 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'), 271 351 array('phpbb-extension', 'ext/test/foo/', 'test/foo'), 272 352 array('phpbb-style', 'styles/foo/', 'test/foo'), 273 353 array('phpbb-language', 'language/foo/', 'test/foo'), 274 354 array('pimcore-plugin', 'plugins/MyPlugin/', 'ubikz/my_plugin'), 355 array('plentymarkets-plugin', 'HelloWorld/', 'plugin-hello-world'), 275 356 array('ppi-module', 'modules/foo/', 'test/foo'), 276 357 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'), 277 360 array('redaxo-addon', 'redaxo/include/addons/my_plugin/', 'shama/my_plugin'), 278 361 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'), 279 364 array('roundcube-plugin', 'plugins/base/', 'test/base'), 280 365 array('roundcube-plugin', 'plugins/replace_dash/', 'test/replace-dash'), … … 283 368 array('shopware-frontend-plugin', 'engine/Shopware/Plugins/Local/Frontend/ShamaMyFrontendPlugin/', 'shama/my-frontend-plugin'), 284 369 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'), 285 372 array('silverstripe-module', 'my_module/', 'shama/my_module'), 286 373 array('silverstripe-module', 'sapphire/', 'silverstripe/framework', '2.4.0'), … … 301 388 array('typo3-flow-build', 'Build/my_package/', 'shama/my_package'), 302 389 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'), 303 393 array('whmcs-gateway', 'modules/gateways/gateway_name/', 'vendor/gateway_name'), 304 394 array('wolfcms-plugin', 'wolf/plugins/my_plugin/', 'shama/my_plugin'), … … 310 400 array('kodicms-media', 'cms/media/vendor/my_media/', 'shama/my_media'), 311 401 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'), 312 409 ); 313 410 } … … 445 542 446 543 $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')); 448 545 449 546 $repo = $this->getMock('Composer\Repository\InstalledRepositoryInterface'); -
wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/MediaWikiInstallerTest.php
r1184144 r1824282 5 5 use Composer\Package\Package; 6 6 use Composer\Composer; 7 use PHPUnit\Framework\TestCase as BaseTestCase; 7 8 8 class MediaWikiInstallerTest extends \PHPUnit_Framework_TestCase9 class MediaWikiInstallerTest extends BaseTestCase 9 10 { 10 11 /** -
wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/OctoberInstallerTest.php
r1184144 r1824282 5 5 use Composer\Package\Package; 6 6 use Composer\Composer; 7 use PHPUnit\Framework\TestCase as BaseTestCase; 7 8 8 class OctoberInstallerTest extends \PHPUnit_Framework_TestCase9 class OctoberInstallerTest extends BaseTestCase 9 10 { 10 11 /** -
wp-php-console/trunk/vendor/composer/installers/tests/Composer/Installers/Test/TestCase.php
r1184144 r1824282 18 18 use Composer\Package\LinkConstraint\VersionConstraint; 19 19 use Composer\Util\Filesystem; 20 use PHPUnit\Framework\TestCase as BaseTestCase; 20 21 21 abstract class TestCase extends \PHPUnit_Framework_TestCase22 abstract class TestCase extends BaseTestCase 22 23 { 23 24 private static $parser; -
wp-php-console/trunk/wp-php-console.php
r1429928 r1824282 5 5 * 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. 6 6 * 7 * Version: 1.5. 07 * Version: 1.5.1 8 8 * 9 9 * Author: Fulvio Notarstefano
Note: See TracChangeset
for help on using the changeset viewer.