src/JS.php
changed.
Showing 1 of 1 files from the diff.
@@ -185,7 +185,7 @@
Loading
185 | 185 | ||
186 | 186 | // clean up leftover `;`s from the combination of multiple scripts |
|
187 | 187 | $content = ltrim($content, ';'); |
|
188 | - | $content = (string)substr($content, 0, -1); |
|
188 | + | $content = (string) substr($content, 0, -1); |
|
189 | 189 | ||
190 | 190 | /* |
|
191 | 191 | * Earlier, we extracted strings & regular expressions and replaced them |
@@ -269,7 +269,7 @@
Loading
269 | 269 | // a regular expression can only be followed by a few operators or some |
|
270 | 270 | // of the RegExp methods (a `\` followed by a variable or value is |
|
271 | 271 | // likely part of a division, not a regex) |
|
272 | - | $keywords = array('do', 'in', 'new', 'else', 'throw', 'yield', 'delete', 'return', 'typeof'); |
|
272 | + | $keywords = array('do', 'in', 'new', 'else', 'throw', 'yield', 'delete', 'return', 'typeof'); |
|
273 | 273 | $before = '(^|[=:,;\+\-\*\?\/\}\(\{\[&\|!]|' . implode('|', $keywords) . ')\s*'; |
|
274 | 274 | $propertiesAndMethods = array( |
|
275 | 275 | // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#Properties_2 |
@@ -477,7 +477,7 @@
Loading
477 | 477 | * This will prepare the given array by escaping all characters. |
|
478 | 478 | * |
|
479 | 479 | * @param string[] $operators |
|
480 | - | * @param string $delimiter |
|
480 | + | * @param string $delimiter |
|
481 | 481 | * |
|
482 | 482 | * @return string[] |
|
483 | 483 | */ |
@@ -508,7 +508,7 @@
Loading
508 | 508 | * This will prepare the given array by escaping all characters. |
|
509 | 509 | * |
|
510 | 510 | * @param string[] $keywords |
|
511 | - | * @param string $delimiter |
|
511 | + | * @param string $delimiter |
|
512 | 512 | * |
|
513 | 513 | * @return string[] |
|
514 | 514 | */ |
Files | Coverage |
---|---|
src | 99.35% |
Project Totals (3 files) | 99.35% |
3648578881
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file.
The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files.
The size and color of each slice is representing the number of statements and the coverage, respectively.