Commit cc51b6ef authored by webchick's avatar webchick

Issue #2568595 by hussainweb, dawehner: Upgrade PHPUnit to latest 4.8.x

parent 1e4c4c3f
...@@ -5,6 +5,7 @@ ...@@ -5,6 +5,7 @@
"This file is @generated automatically" "This file is @generated automatically"
], ],
"hash": "8c9fdf621ce53640f24b24749e59717c", "hash": "8c9fdf621ce53640f24b24749e59717c",
"content-hash": "f38613812a285c03a1a18458384fe0b1",
"packages": [ "packages": [
{ {
"name": "composer/installers", "name": "composer/installers",
...@@ -2622,16 +2623,16 @@ ...@@ -2622,16 +2623,16 @@
}, },
{ {
"name": "phpunit/php-code-coverage", "name": "phpunit/php-code-coverage",
"version": "2.2.2", "version": "2.2.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-code-coverage.git", "url": "https://github.com/sebastianbergmann/php-code-coverage.git",
"reference": "2d7c03c0e4e080901b8f33b2897b0577be18a13c" "reference": "ef1ca6835468857944d5c3b48fa503d5554cff2f"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/2d7c03c0e4e080901b8f33b2897b0577be18a13c", "url": "https://api.github.com/repos/sebastianbergmann/php-code-coverage/zipball/ef1ca6835468857944d5c3b48fa503d5554cff2f",
"reference": "2d7c03c0e4e080901b8f33b2897b0577be18a13c", "reference": "ef1ca6835468857944d5c3b48fa503d5554cff2f",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2680,7 +2681,7 @@ ...@@ -2680,7 +2681,7 @@
"testing", "testing",
"xunit" "xunit"
], ],
"time": "2015-08-04 03:42:39" "time": "2015-09-14 06:51:16"
}, },
{ {
"name": "phpunit/php-file-iterator", "name": "phpunit/php-file-iterator",
...@@ -2813,16 +2814,16 @@ ...@@ -2813,16 +2814,16 @@
}, },
{ {
"name": "phpunit/php-token-stream", "name": "phpunit/php-token-stream",
"version": "1.4.6", "version": "1.4.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/php-token-stream.git", "url": "https://github.com/sebastianbergmann/php-token-stream.git",
"reference": "3ab72c62e550370a6cd5dc873e1a04ab57562f5b" "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3ab72c62e550370a6cd5dc873e1a04ab57562f5b", "url": "https://api.github.com/repos/sebastianbergmann/php-token-stream/zipball/3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
"reference": "3ab72c62e550370a6cd5dc873e1a04ab57562f5b", "reference": "3144ae21711fb6cac0b1ab4cbe63b75ce3d4e8da",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2858,20 +2859,20 @@ ...@@ -2858,20 +2859,20 @@
"keywords": [ "keywords": [
"tokenizer" "tokenizer"
], ],
"time": "2015-08-16 08:51:00" "time": "2015-09-15 10:49:45"
}, },
{ {
"name": "phpunit/phpunit", "name": "phpunit/phpunit",
"version": "4.8.6", "version": "4.8.10",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit.git", "url": "https://github.com/sebastianbergmann/phpunit.git",
"reference": "2246830f4a1a551c67933e4171bf2126dc29d357" "reference": "463163747474815c5ccd4ae12b5b355ec12158e8"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/2246830f4a1a551c67933e4171bf2126dc29d357", "url": "https://api.github.com/repos/sebastianbergmann/phpunit/zipball/463163747474815c5ccd4ae12b5b355ec12158e8",
"reference": "2246830f4a1a551c67933e4171bf2126dc29d357", "reference": "463163747474815c5ccd4ae12b5b355ec12158e8",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2930,20 +2931,20 @@ ...@@ -2930,20 +2931,20 @@
"testing", "testing",
"xunit" "xunit"
], ],
"time": "2015-08-24 04:09:38" "time": "2015-10-01 09:14:30"
}, },
{ {
"name": "phpunit/phpunit-mock-objects", "name": "phpunit/phpunit-mock-objects",
"version": "2.3.7", "version": "2.3.8",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git", "url": "https://github.com/sebastianbergmann/phpunit-mock-objects.git",
"reference": "5e2645ad49d196e020b85598d7c97e482725786a" "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/5e2645ad49d196e020b85598d7c97e482725786a", "url": "https://api.github.com/repos/sebastianbergmann/phpunit-mock-objects/zipball/ac8e7a3db35738d56ee9a76e78a4e03d97628983",
"reference": "5e2645ad49d196e020b85598d7c97e482725786a", "reference": "ac8e7a3db35738d56ee9a76e78a4e03d97628983",
"shasum": "" "shasum": ""
}, },
"require": { "require": {
...@@ -2986,7 +2987,7 @@ ...@@ -2986,7 +2987,7 @@
"mock", "mock",
"xunit" "xunit"
], ],
"time": "2015-08-19 09:14:08" "time": "2015-10-02 06:51:40"
}, },
{ {
"name": "sebastian/comparator", "name": "sebastian/comparator",
......
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"behat/mink": "~1.6", "behat/mink": "~1.6",
"behat/mink-goutte-driver": "~1.2", "behat/mink-goutte-driver": "~1.2",
"mikey179/vfsStream": "~1.2", "mikey179/vfsStream": "~1.2",
"phpunit/phpunit": "4.8.*", "phpunit/phpunit": "~4.8",
"symfony/css-selector": "2.7.*" "symfony/css-selector": "2.7.*"
}, },
"replace": { "replace": {
......
../phpunit/phpunit/phpunit
\ No newline at end of file
#!/usr/bin/env sh
SRC_DIR="`pwd`"
cd "`dirname "$0"`"
cd '../phpunit/phpunit'
BIN_TARGET="`pwd`/phpunit"
cd "$SRC_DIR"
"$BIN_TARGET" "$@"
This diff is collapsed.
...@@ -2,6 +2,15 @@ ...@@ -2,6 +2,15 @@
All notable changes of the PHP_CodeCoverage 2.2 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles. All notable changes of the PHP_CodeCoverage 2.2 release series are documented in this file using the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
## [2.2.3] - 2015-09-14
### Fixed
* Fixed [#368](https://github.com/sebastianbergmann/php-code-coverage/pull/368): Blacklists and whitelists are not merged when merging data sets
* Fixed [#370](https://github.com/sebastianbergmann/php-code-coverage/issues/370): Confusing statistics for source file that declares a class without methods
* Fixed [#372](https://github.com/sebastianbergmann/php-code-coverage/pull/372): Nested classes and functions are not handled correctly
* Fixed [#382](https://github.com/sebastianbergmann/php-code-coverage/issues/382): Crap4J report generates incorrect XML logfile
## [2.2.2] - 2015-08-04 ## [2.2.2] - 2015-08-04
### Added ### Added
...@@ -33,6 +42,7 @@ All notable changes of the PHP_CodeCoverage 2.2 release series are documented in ...@@ -33,6 +42,7 @@ All notable changes of the PHP_CodeCoverage 2.2 release series are documented in
* The dedicated driver for HHVM, `PHP_CodeCoverage_Driver_HHVM` has been removed * The dedicated driver for HHVM, `PHP_CodeCoverage_Driver_HHVM` has been removed
[2.2.3]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.2.3...2.2.3
[2.2.2]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.2.1...2.2.2 [2.2.2]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.2.1...2.2.2
[2.2.1]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.2.0...2.2.1 [2.2.1]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.2.0...2.2.1
[2.2.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.1...2.2.0 [2.2.0]: https://github.com/sebastianbergmann/php-code-coverage/compare/2.1...2.2.0
......
...@@ -7,8 +7,19 @@ ...@@ -7,8 +7,19 @@
## Requirements ## Requirements
* PHP 5.3.3 is required but using the latest version of PHP is highly recommended PHP 5.3.3 is required but using the latest version of PHP is highly recommended
* [Xdebug](http://xdebug.org/) 2.1.3 is required but using the latest version of Xdebug is highly recommended
### PHP 5
[Xdebug](http://xdebug.org/) is the only source of raw code coverage data supported for PHP 5. Version 2.1.3 of Xdebug is required but using the latest version is highly recommended.
### PHP 7
[phpdbg](http://phpdbg.com/docs) is currently the only source of raw code coverage data supported for PHP 7. Once Xdebug has been updated for PHP 7 it, too, will be supported.
### HHVM
A version of HHVM that implements the Xdebug API for code coverage (`xdebug_*_code_coverage()`) is required.
## Installation ## Installation
...@@ -16,7 +27,7 @@ To add PHP_CodeCoverage as a local, per-project dependency to your project, simp ...@@ -16,7 +27,7 @@ To add PHP_CodeCoverage as a local, per-project dependency to your project, simp
{ {
"require": { "require": {
"phpunit/php-code-coverage": "~2.0" "phpunit/php-code-coverage": "^2"
} }
} }
...@@ -37,4 +48,3 @@ $writer->process($coverage, '/tmp/clover.xml'); ...@@ -37,4 +48,3 @@ $writer->process($coverage, '/tmp/clover.xml');
$writer = new PHP_CodeCoverage_Report_HTML; $writer = new PHP_CodeCoverage_Report_HTML;
$writer->process($coverage, '/tmp/code-coverage-report'); $writer->process($coverage, '/tmp/code-coverage-report');
``` ```
...@@ -340,6 +340,14 @@ public function append(array $data, $id = null, $append = true, $linesToBeCovere ...@@ -340,6 +340,14 @@ public function append(array $data, $id = null, $append = true, $linesToBeCovere
*/ */
public function merge(PHP_CodeCoverage $that) public function merge(PHP_CodeCoverage $that)
{ {
$this->filter->setBlacklistedFiles(
array_merge($this->filter->getBlacklistedFiles(), $that->filter()->getBlacklistedFiles())
);
$this->filter->setWhitelistedFiles(
array_merge($this->filter->getWhitelistedFiles(), $that->filter()->getWhitelistedFiles())
);
foreach ($that->data as $file => $lines) { foreach ($that->data as $file => $lines) {
if (!isset($this->data[$file])) { if (!isset($this->data[$file])) {
if (!$this->filter->isFiltered($file)) { if (!$this->filter->isFiltered($file)) {
...@@ -364,13 +372,6 @@ public function merge(PHP_CodeCoverage $that) ...@@ -364,13 +372,6 @@ public function merge(PHP_CodeCoverage $that)
$this->tests = array_merge($this->tests, $that->getTests()); $this->tests = array_merge($this->tests, $that->getTests());
$this->filter->setBlacklistedFiles(
array_merge($this->filter->getBlacklistedFiles(), $that->filter()->getBlacklistedFiles())
);
$this->filter->setWhitelistedFiles(
array_merge($this->filter->getWhitelistedFiles(), $that->filter()->getWhitelistedFiles())
);
} }
/** /**
......
...@@ -172,7 +172,8 @@ public function removeFileFromWhitelist($filename) ...@@ -172,7 +172,8 @@ public function removeFileFromWhitelist($filename)
/** /**
* Checks whether a filename is a real filename. * Checks whether a filename is a real filename.
* *
* @param string $filename * @param string $filename
* @return bool
*/ */
public function isFile($filename) public function isFile($filename)
{ {
......
...@@ -116,7 +116,7 @@ public function process(PHP_CodeCoverage $coverage, $target = null, $name = null ...@@ -116,7 +116,7 @@ public function process(PHP_CodeCoverage $coverage, $target = null, $name = null
if ($fullMethodCount > 0) { if ($fullMethodCount > 0) {
$crapMethodPercent = $this->roundValue((100 * $fullCrapMethodCount) / $fullMethodCount); $crapMethodPercent = $this->roundValue((100 * $fullCrapMethodCount) / $fullMethodCount);
} else { } else {
$crapMethodPercent = ''; $crapMethodPercent = 0;
} }
$stats->appendChild($document->createElement('crapMethodPercent', $crapMethodPercent)); $stats->appendChild($document->createElement('crapMethodPercent', $crapMethodPercent));
......
...@@ -58,7 +58,7 @@ abstract class PHP_CodeCoverage_Report_HTML_Renderer ...@@ -58,7 +58,7 @@ abstract class PHP_CodeCoverage_Report_HTML_Renderer
*/ */
public function __construct($templatePath, $generator, $date, $lowUpperBound, $highLowerBound) public function __construct($templatePath, $generator, $date, $lowUpperBound, $highLowerBound)
{ {
$version = new SebastianBergmann\Version('2.2.2', dirname(dirname(dirname(dirname(__DIR__))))); $version = new SebastianBergmann\Version('2.2.3', dirname(dirname(dirname(dirname(__DIR__)))));
$this->templatePath = $templatePath; $this->templatePath = $templatePath;
$this->generator = $generator; $this->generator = $generator;
...@@ -76,9 +76,6 @@ public function __construct($templatePath, $generator, $date, $lowUpperBound, $h ...@@ -76,9 +76,6 @@ public function __construct($templatePath, $generator, $date, $lowUpperBound, $h
protected function renderItemTemplate(Text_Template $template, array $data) protected function renderItemTemplate(Text_Template $template, array $data)
{ {
$numSeparator = ' / '; $numSeparator = ' / ';
$classesBar = ' ';
$classesLevel = 'None';
$classesNumber = ' ';
if (isset($data['numClasses']) && $data['numClasses'] > 0) { if (isset($data['numClasses']) && $data['numClasses'] > 0) {
$classesLevel = $this->getColorLevel($data['testedClassesPercent']); $classesLevel = $this->getColorLevel($data['testedClassesPercent']);
...@@ -89,12 +86,12 @@ protected function renderItemTemplate(Text_Template $template, array $data) ...@@ -89,12 +86,12 @@ protected function renderItemTemplate(Text_Template $template, array $data)
$classesBar = $this->getCoverageBar( $classesBar = $this->getCoverageBar(
$data['testedClassesPercent'] $data['testedClassesPercent']
); );
} else {
$classesLevel = 'success';
$classesNumber = '0' . $numSeparator . '0';
$classesBar = $this->getCoverageBar(100);
} }
$methodsBar = ' ';
$methodsLevel = 'None';
$methodsNumber = ' ';
if ($data['numMethods'] > 0) { if ($data['numMethods'] > 0) {
$methodsLevel = $this->getColorLevel($data['testedMethodsPercent']); $methodsLevel = $this->getColorLevel($data['testedMethodsPercent']);
...@@ -104,12 +101,13 @@ protected function renderItemTemplate(Text_Template $template, array $data) ...@@ -104,12 +101,13 @@ protected function renderItemTemplate(Text_Template $template, array $data)
$methodsBar = $this->getCoverageBar( $methodsBar = $this->getCoverageBar(
$data['testedMethodsPercent'] $data['testedMethodsPercent']
); );
} else {
$methodsLevel = 'success';
$methodsNumber = '0' . $numSeparator . '0';
$methodsBar = $this->getCoverageBar(100);
$data['testedMethodsPercentAsString'] = '100.00%';
} }
$linesBar = ' ';
$linesLevel = 'None';
$linesNumber = ' ';
if ($data['numExecutableLines'] > 0) { if ($data['numExecutableLines'] > 0) {
$linesLevel = $this->getColorLevel($data['linesExecutedPercent']); $linesLevel = $this->getColorLevel($data['linesExecutedPercent']);
...@@ -119,6 +117,11 @@ protected function renderItemTemplate(Text_Template $template, array $data) ...@@ -119,6 +117,11 @@ protected function renderItemTemplate(Text_Template $template, array $data)
$linesBar = $this->getCoverageBar( $linesBar = $this->getCoverageBar(
$data['linesExecutedPercent'] $data['linesExecutedPercent']
); );
} else {
$linesLevel = 'success';
$linesNumber = '0' . $numSeparator . '0';
$linesBar = $this->getCoverageBar(100);
$data['linesExecutedPercentAsString'] = '100.00%';
} }
$template->setVar( $template->setVar(
......
...@@ -351,6 +351,8 @@ public function getNumTestedFunctions() ...@@ -351,6 +351,8 @@ public function getNumTestedFunctions()
*/ */
protected function calculateStatistics() protected function calculateStatistics()
{ {
$classStack = $functionStack = array();
if ($this->cacheTokens) { if ($this->cacheTokens) {
$tokens = PHP_Token_Stream_CachingFactory::get($this->getPath()); $tokens = PHP_Token_Stream_CachingFactory::get($this->getPath());
} else { } else {
...@@ -367,6 +369,10 @@ protected function calculateStatistics() ...@@ -367,6 +369,10 @@ protected function calculateStatistics()
if (isset($this->startLines[$lineNumber])) { if (isset($this->startLines[$lineNumber])) {
// Start line of a class. // Start line of a class.
if (isset($this->startLines[$lineNumber]['className'])) { if (isset($this->startLines[$lineNumber]['className'])) {
if (isset($currentClass)) {
$classStack[] = &$currentClass;
}
$currentClass = &$this->startLines[$lineNumber]; $currentClass = &$this->startLines[$lineNumber];
} // Start line of a trait. } // Start line of a trait.
elseif (isset($this->startLines[$lineNumber]['traitName'])) { elseif (isset($this->startLines[$lineNumber]['traitName'])) {
...@@ -376,12 +382,15 @@ protected function calculateStatistics() ...@@ -376,12 +382,15 @@ protected function calculateStatistics()
$currentMethod = &$this->startLines[$lineNumber]; $currentMethod = &$this->startLines[$lineNumber];
} // Start line of a function. } // Start line of a function.
elseif (isset($this->startLines[$lineNumber]['functionName'])) { elseif (isset($this->startLines[$lineNumber]['functionName'])) {
if (isset($currentFunction)) {
$functionStack[] = &$currentFunction;
}
$currentFunction = &$this->startLines[$lineNumber]; $currentFunction = &$this->startLines[$lineNumber];
} }
} }
if (isset($this->coverageData[$lineNumber]) && if (isset($this->coverageData[$lineNumber])) {
$this->coverageData[$lineNumber] !== null) {
if (isset($currentClass)) { if (isset($currentClass)) {
$currentClass['executableLines']++; $currentClass['executableLines']++;
} }
...@@ -425,6 +434,13 @@ protected function calculateStatistics() ...@@ -425,6 +434,13 @@ protected function calculateStatistics()
// End line of a class. // End line of a class.
if (isset($this->endLines[$lineNumber]['className'])) { if (isset($this->endLines[$lineNumber]['className'])) {
unset($currentClass); unset($currentClass);
if ($classStack) {
end($classStack);
$key = key($classStack);
$currentClass = &$classStack[$key];
unset($classStack[$key]);
}
} // End line of a trait. } // End line of a trait.
elseif (isset($this->endLines[$lineNumber]['traitName'])) { elseif (isset($this->endLines[$lineNumber]['traitName'])) {
unset($currentTrait); unset($currentTrait);
...@@ -434,6 +450,13 @@ protected function calculateStatistics() ...@@ -434,6 +450,13 @@ protected function calculateStatistics()
} // End line of a function. } // End line of a function.
elseif (isset($this->endLines[$lineNumber]['functionName'])) { elseif (isset($this->endLines[$lineNumber]['functionName'])) {
unset($currentFunction); unset($currentFunction);
if ($functionStack) {
end($functionStack);
$key = key($functionStack);
$currentFunction = &$functionStack[$key];
unset($functionStack[$key]);
}
} }
} }
} }
......
...@@ -60,68 +60,68 @@ public function testSomething() ...@@ -60,68 +60,68 @@ public function testSomething()
'BankAccount' => array( 'BankAccount' => array(
'methods' => array( 'methods' => array(
'getBalance' => array( 'getBalance' => array(
'signature' => 'getBalance()', 'signature' => 'getBalance()',
'startLine' => 6, 'startLine' => 6,
'endLine' => 9, 'endLine' => 9,
'executableLines' => 1, 'executableLines' => 1,
'executedLines' => 1, 'executedLines' => 1,
'ccn' => 1, 'ccn' => 1,
'coverage' => 100, 'coverage' => 100,
'crap' => '1', 'crap' => '1',
'link' => 'BankAccount.php.html#6', 'link' => 'BankAccount.php.html#6',
'methodName' => 'getBalance' 'methodName' => 'getBalance'
), ),
'setBalance' => array( 'setBalance' => array(
'signature' => 'setBalance($balance)', 'signature' => 'setBalance($balance)',
'startLine' => 11, 'startLine' => 11,
'endLine' => 18, 'endLine' => 18,
'executableLines' => 5, 'executableLines' => 5,
'executedLines' => 0, 'executedLines' => 0,
'ccn' => 2, 'ccn' => 2,
'coverage' => 0, 'coverage' => 0,
'crap' => 6, 'crap' => 6,
'link' => 'BankAccount.php.html#11', 'link' => 'BankAccount.php.html#11',
'methodName' => 'setBalance' 'methodName' => 'setBalance'
), ),
'depositMoney' => array( 'depositMoney' => array(
'signature' => 'depositMoney($balance)', 'signature' => 'depositMoney($balance)',
'startLine' => 20, 'startLine' => 20,
'endLine' => 25, 'endLine' => 25,
'executableLines' => 2, 'executableLines' => 2,
'executedLines' => 2, 'executedLines' => 2,
'ccn' => 1, 'ccn' => 1,
'coverage' => 100, 'coverage' => 100,
'crap' => '1', 'crap' => '1',
'link' => 'BankAccount.php.html#20', 'link' => 'BankAccount.php.html#20',
'methodName' => 'depositMoney' 'methodName' => 'depositMoney'
), ),
'withdrawMoney' => array( 'withdrawMoney' => array(
'signature' => 'withdrawMoney($balance)', 'signature' => 'withdrawMoney($balance)',
'startLine' => 27, 'startLine' => 27,
'endLine' => 32, 'endLine' => 32,
'executableLines' => 2, 'executableLines' => 2,
'executedLines' => 2, 'executedLines' => 2,
'ccn' => 1, 'ccn' => 1,
'coverage' => 100, 'coverage' => 100,
'crap' => '1', 'crap' => '1',
'link' => 'BankAccount.php.html#27', 'link' => 'BankAccount.php.html#27',
'methodName' => 'withdrawMoney' 'methodName' => 'withdrawMoney'
), ),
), ),
'startLine' => 2, 'startLine' => 2,
'executableLines' => 10, 'executableLines' => 10,
'executedLines' => 5, 'executedLines' => 5,
'ccn' => 5, 'ccn' => 5,
'coverage' => 50, 'coverage' => 50,
'crap' => '8.12', 'crap' => '8.12',
'package' => array( 'package' => array(
'namespace' => '', 'namespace' => '',
'fullPackage' => '', 'fullPackage' => '',
'category' => '', 'category' => '',
'package' => '', 'package' => '',
'subpackage' => '' 'subpackage' => ''
), ),
'link' => 'BankAccount.php.html#2', 'link' => 'BankAccount.php.html#2',
'className' => 'BankAccount' 'className' => 'BankAccount'
) )
), ),
...@@ -146,7 +146,7 @@ public function testBuildDirectoryStructure() ...@@ -146,7 +146,7 @@ public function testBuildDirectoryStructure()
$this->assertEquals( $this->assertEquals(
array( array(
'src' => array( 'src' => array(
'Money.php/f' => array(), 'Money.php/f' => array(),
'MoneyBag.php/f' => array() 'MoneyBag.php/f' => array()
) )