@@ -0,0 +1,6 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
$config = new Symfony\CS\Config\Config();
|
||||||
|
$config->getFinder()->exclude('bin');
|
||||||
|
|
||||||
|
return $config;
|
||||||
@@ -95,10 +95,10 @@ EOS;
|
|||||||
/**
|
/**
|
||||||
* Loads a list of classes and caches them in one big file.
|
* Loads a list of classes and caches them in one big file.
|
||||||
*
|
*
|
||||||
* @param array $classes An array of classes to load
|
* @param array $classes An array of classes to load
|
||||||
* @param string $cacheDir A cache directory
|
* @param string $cacheDir A cache directory
|
||||||
* @param string $name The cache name prefix
|
* @param string $name The cache name prefix
|
||||||
* @param string $extension File extension of the resulting file
|
* @param string $extension File extension of the resulting file
|
||||||
*
|
*
|
||||||
* @throws InvalidArgumentException When class can't be loaded
|
* @throws InvalidArgumentException When class can't be loaded
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -92,7 +92,7 @@ class Mustache_Test_Functional_ExamplesTest extends PHPUnit_Framework_TestCase
|
|||||||
// load other files
|
// load other files
|
||||||
switch ($info['extension']) {
|
switch ($info['extension']) {
|
||||||
case 'php':
|
case 'php':
|
||||||
require_once($fullpath);
|
require_once $fullpath;
|
||||||
$context = new $info['filename'];
|
$context = new $info['filename'];
|
||||||
break;
|
break;
|
||||||
|
|
||||||
|
|||||||
@@ -21,7 +21,7 @@ class MagicObject
|
|||||||
|
|
||||||
public function __get($key)
|
public function __get($key)
|
||||||
{
|
{
|
||||||
return isset($this->_data[$key]) ? $this->_data[$key] : NULL;
|
return isset($this->_data[$key]) ? $this->_data[$key] : null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function __isset($key)
|
public function __isset($key)
|
||||||
|
|||||||
Reference in New Issue
Block a user