Initial commit: apps.supersam24.ru
This commit is contained in:
commit
e955e1da36
6566 files changed
+1271095
No files matched your search
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace Cake\Test\Composer\Installer;
|
||||
|
||||
use Cake\Composer\Installer\PluginInstaller as PluginInstallerSrc;
|
||||
|
||||
/**
|
||||
* Test double for static methods in PluginInstaller
|
||||
*/
|
||||
class PluginInstaller extends PluginInstallerSrc
|
||||
{
|
||||
|
||||
/**
|
||||
* Overriden to return a test-config file
|
||||
*
|
||||
* @param string $vendorDir
|
||||
* @return string path to test plugins config file
|
||||
*/
|
||||
public static function configFile($vendorDir)
|
||||
{
|
||||
$root = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'plugin-installer-test';
|
||||
|
||||
return $root . DIRECTORY_SEPARATOR . 'vendor' . DIRECTORY_SEPARATOR . 'cakephp-plugins.php';
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user