Skip to content

Commit e931e79

Browse files
committed
Apply fixes from StyleCI
1 parent a5d607e commit e931e79

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

framework/core/src/Formatter/Formatter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -193,7 +193,7 @@ protected function getRenderer(): Renderer
193193
*
194194
* Injects XSLT polyfill inline before s9e code to support browsers
195195
* that have removed native XSLT support (Chrome 155+, Nov 2026).
196-
*
196+
*
197197
* @TODO: Remove polyfill injection when s9e/textformatter has a solution for XSLT removal.
198198
* @see https://github.com/s9e/TextFormatter/issues/250
199199
*/
@@ -203,14 +203,14 @@ public function getJs(): string
203203

204204
// Try to load XSLT polyfill
205205
// Path 1: Published package (core/js/node_modules)
206-
$polyfillPath = __DIR__ . '/../../js/node_modules/xslt-polyfill/xslt-polyfill.min.js';
206+
$polyfillPath = __DIR__.'/../../js/node_modules/xslt-polyfill/xslt-polyfill.min.js';
207207

208-
if (!file_exists($polyfillPath)) {
208+
if (! file_exists($polyfillPath)) {
209209
// Path 2: Monorepo hoisted (framework/node_modules)
210-
$polyfillPath = __DIR__ . '/../../../../node_modules/xslt-polyfill/xslt-polyfill.min.js';
210+
$polyfillPath = __DIR__.'/../../../../node_modules/xslt-polyfill/xslt-polyfill.min.js';
211211
}
212212

213-
if (!file_exists($polyfillPath)) {
213+
if (! file_exists($polyfillPath)) {
214214
// Polyfill not available, return s9e JS without it
215215
return $s9eJs;
216216
}

0 commit comments

Comments
 (0)