Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Static vars in test suite are now aware of LST.

  • Loading branch information...
commit 8f582eb53f9bd1f27542da59bb401ee54d417e5d 1 parent 301e921
Bastian Feder authored

Showing 1 changed file with 3 additions and 3 deletions. Show diff stats Hide diff stats

  1. +3 3 accepted/tests/Psr0_CompatibilityTest.php
6 accepted/tests/Psr0_CompatibilityTest.php
@@ -59,7 +59,7 @@ public function testPsr0Compatability($filename, $classname)
59 59 */
60 60 public function testReadErrorsOccured()
61 61 {
62   - $errors = self::$psr0->getErrors('NotReadable');
  62 + $errors = static::$psr0->getErrors('NotReadable');
63 63 $this->assertEmpty(
64 64 $errors,
65 65 "The following files could not been readed probably due to missing access permissions:\n\n".
@@ -81,11 +81,11 @@ public function testReadErrorsOccured()
81 81 public static function psr0CompatibilityDataprovider()
82 82 {
83 83 // preparations
84   - self::$psr0 = new Psr0_Scanner(
  84 + static::$psr0 = new Psr0_Scanner(
85 85 defined('Psr0_ScannerInclude') ? Psr0_ScannerInclude : '',
86 86 defined('Psr0_ScannerExclude') ? Psr0_ScannerExclude : ''
87 87 );
88 88
89   - return self::$psr0->scan(Psr0_ScannerStartDir);
  89 + return static::$psr0->scan(Psr0_ScannerStartDir);
90 90 }
91 91 }

0 comments on commit 8f582eb

Please sign in to comment.
Something went wrong with that request. Please try again.