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
minor #234 Re-configure and run PHP-CS-Fixer (Kocal)
This PR was squashed before being merged into the 2.x branch.
Discussion
----------
Re-configure and run PHP-CS-Fixer
This PR synchronize our PHP-CS-Fixer configuration file with https://github.com/symfony/symfony/blob/7.2/.php-cs-fixer.dist.php, but with for some adaptation (for the header text).
Commits
-------
ed5f925 Re-configure and run PHP-CS-Fixer
if (isset($entriesData['entrypoints'][$withoutExtension])) {
99
-
thrownewEntrypointNotFoundException(sprintf('Could not find the entry "%s". Try "%s" instead (without the extension).', $entryName, $withoutExtension));
101
+
thrownewEntrypointNotFoundException(\sprintf('Could not find the entry "%s". Try "%s" instead (without the extension).', $entryName, $withoutExtension));
100
102
}
101
103
102
-
thrownewEntrypointNotFoundException(sprintf('Could not find the entry "%s" in "%s". Found: %s.', $entryName, $this->entrypointJsonPath, implode(', ', array_keys($entriesData['entrypoints']))));
104
+
thrownewEntrypointNotFoundException(\sprintf('Could not find the entry "%s" in "%s". Found: %s.', $entryName, $this->entrypointJsonPath, implode(', ', array_keys($entriesData['entrypoints']))));
103
105
}
104
106
}
105
107
@@ -121,17 +123,17 @@ private function getEntriesData(): array
121
123
if (!$this->strictMode) {
122
124
return [];
123
125
}
124
-
thrownew \InvalidArgumentException(sprintf('Could not find the entrypoints file from Webpack: the file "%s" does not exist.', $this->entrypointJsonPath));
126
+
thrownew \InvalidArgumentException(\sprintf('Could not find the entrypoints file from Webpack: the file "%s" does not exist.', $this->entrypointJsonPath));
0 commit comments