Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
KanDisheng committed Feb 5, 2018
1 parent 70383d4 commit 06fc002
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion library/Autoload.php
Expand Up @@ -24,7 +24,7 @@ public function __construct()
* Directory
* @param array $autoloaDirectory
*/
public static function directory($autoloaDirectory =array())
public static function directory($autoloaDirectory = array())
{
foreach ($autoloaDirectory as $directory => $namespaceRoot) {
$directory = sprintf('%s%s%s', __DIR__, DIRECTORY_SEPARATOR, $directory);
Expand Down
5 changes: 4 additions & 1 deletion phpunit.xml
Expand Up @@ -7,8 +7,11 @@
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">./interface</directory>
<directory suffix=".php">./library</directory>
<directory suffix=".php">./class</directory>
<exclude>
<file>./library/Autoload.php</file>
</exclude>
</whitelist>
</filter>
<logging>
Expand Down

0 comments on commit 06fc002

Please sign in to comment.