Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Static vars in test suite are now aware of LST.

  • Loading branch information...
commit 8f582eb53f9bd1f27542da59bb401ee54d417e5d 1 parent 301e921
Bastian Feder authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 accepted/tests/Psr0_CompatibilityTest.php
6 accepted/tests/Psr0_CompatibilityTest.php
View
@@ -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);
}
}
Please sign in to comment.
Something went wrong with that request. Please try again.