Permalink
Browse files

Static vars in test suite are now aware of LST.

  • Loading branch information...
1 parent 301e921 commit 8f582eb53f9bd1f27542da59bb401ee54d417e5d @lapistano committed Oct 29, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 accepted/tests/Psr0_CompatibilityTest.php
View
6 accepted/tests/Psr0_CompatibilityTest.php
@@ -59,7 +59,7 @@ public function testPsr0Compatability($filename, $classname)
*/
public function testReadErrorsOccured()
{
- $errors = self::$psr0->getErrors('NotReadable');
+ $errors = static::$psr0->getErrors('NotReadable');
$this->assertEmpty(
$errors,
"The following files could not been readed probably due to missing access permissions:\n\n".
@@ -81,11 +81,11 @@ public function testReadErrorsOccured()
public static function psr0CompatibilityDataprovider()
{
// preparations
- self::$psr0 = new Psr0_Scanner(
+ static::$psr0 = new Psr0_Scanner(
defined('Psr0_ScannerInclude') ? Psr0_ScannerInclude : '',
defined('Psr0_ScannerExclude') ? Psr0_ScannerExclude : ''
);
- return self::$psr0->scan(Psr0_ScannerStartDir);
+ return static::$psr0->scan(Psr0_ScannerStartDir);
}
}

0 comments on commit 8f582eb

Please sign in to comment.