You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feature #1129 [tests] bring test suite up to PHP8 standards (jrushlow)
This PR was squashed before being merged into the 1.0-dev branch.
Discussion
----------
[tests] bring test suite up to PHP8 standards
Commits
-------
669c325 [tests] bring test suite up to PHP8 standards
@@ -85,14 +87,17 @@ protected function executeMakerCommand(MakerTestDetails $testDetails)
85
87
));
86
88
}
87
89
88
-
if ('.twig' === substr($file, -5)) {
90
+
if (str_ends_with($file, '.twig')) {
89
91
$csProcess = $testEnv->runTwigCSLint($file);
90
92
91
93
$this->assertTrue($csProcess->isSuccessful(), sprintf('File "%s" has a twig-cs problem: %s', $file, $csProcess->getErrorOutput()."\n".$csProcess->getOutput()));
0 commit comments