Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Corrected PSR-0 compatibility of the test suite.

  • Loading branch information...
commit 03d1386c07fdf57a2ea5dc2955bf34ccb348e86d 1 parent 22bcde8
@lapistano authored
View
6 accepted/tests/Psr0/CompatibilityTest.php
@@ -8,9 +8,9 @@
*/
namespace figStandards\accepted\tests\Psr0;
-require __DIR__ . '/Psr0_Scanner.php';
+require __DIR__ . '/Scanner.php';
-class Psr0_CompatibilityTest extends \PHPUnit_Framework_TestCase
+class CompatibilityTest extends \PHPUnit_Framework_TestCase
{
/**
* Contains the result of the directory scan.
@@ -81,7 +81,7 @@ public function testReadErrorsOccured()
public static function psr0CompatibilityDataprovider()
{
// preparations
- static::$psr0 = new Psr0_Scanner(
+ static::$psr0 = new Scanner(
defined('Psr0_ScannerInclude') ? Psr0_ScannerInclude : '',
defined('Psr0_ScannerExclude') ? Psr0_ScannerExclude : ''
);
View
2  accepted/tests/Psr0/Scanner.php
@@ -9,7 +9,7 @@
namespace figStandards\accepted\tests\Psr0;
-class Psr0_Scanner
+class Scanner
{
protected $includes = '';
protected $excludes = '';
View
2  accepted/tests/README.md
@@ -46,7 +46,7 @@ to configure the *DirectoryScanner*. Modify them to meet the requirements of you
* (optional) __Psr0_ScannerExclude__
is a colon separated set of patterns which directories/files are to be ignored when scanning.
You usually want to exclude the directories containing the tests and 3rd party source probably located in a
- vendor directory. This combines into the string shown in the folowing example:
+ vendor directory. This combines into the string shown in the following example:
*/vendor/*:*/Test/*
Please sign in to comment.
Something went wrong with that request. Please try again.