Skip to content

Commit fa15cdd

Browse files
authored
Merge pull request #354 from PHPCSStandards/feature/tests-core-performance-improvement
Tests/Core: performance improvement
2 parents 795136c + 37e969e commit fa15cdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

tests/Core/AbstractMethodUnitTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public static function initializeFile()
7373
$contents .= file_get_contents($pathToTestFile);
7474

7575
self::$phpcsFile = new DummyFile($contents, $ruleset, $config);
76-
self::$phpcsFile->process();
76+
self::$phpcsFile->parse();
7777

7878
}//end initializeFile()
7979

tests/Core/Tokenizer/AbstractTokenizerTestCase.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ protected function initializeFile()
7878
$contents .= file_get_contents($pathToTestFile);
7979

8080
$this->phpcsFile = new DummyFile($contents, $ruleset, $config);
81-
$this->phpcsFile->process();
81+
$this->phpcsFile->parse();
8282
}
8383

8484
}//end initializeFile()

0 commit comments

Comments
 (0)