matthiasmullie / minify
Showing 1 of 2 files from the diff.
Other files ignored by Codecov

@@ -264,7 +264,7 @@
Loading
264 264
        // of the RegExp methods (a `\` followed by a variable or value is
265 265
        // likely part of a division, not a regex)
266 266
        $keywords = array('do', 'in', 'new', 'else', 'throw', 'yield', 'delete', 'return',  'typeof');
267 -
        $before = '(^|[=:,;\+\-\*\/\}\(\{\[&\|!]|'.implode('|', $keywords).')\s*';
267 +
        $before = '(^|[=:,;\+\-\*\?\/\}\(\{\[&\|!]|'.implode('|', $keywords).')\s*';
268 268
        $propertiesAndMethods = array(
269 269
            // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RegExp#Properties_2
270 270
            'constructor',
@@ -284,7 +284,7 @@
Loading
284 284
        );
285 285
        $delimiters = array_fill(0, count($propertiesAndMethods), '/');
286 286
        $propertiesAndMethods = array_map('preg_quote', $propertiesAndMethods, $delimiters);
287 -
        $after = '(?=\s*([\.,;\)\}&\|+]|\/\/|$|\.('.implode('|', $propertiesAndMethods).')))';
287 +
        $after = '(?=\s*([\.,;:\)\}&\|+]|\/\/|$|\.('.implode('|', $propertiesAndMethods).')))';
288 288
        $this->registerPattern('/'.$before.'\K'.$pattern.$after.'/', $callback);
289 289
290 290
        // regular expressions following a `)` are rather annoying to detect...
Files Complexity Coverage
src 118 99.56%
Project Totals (3 files) 118 99.56%

No yaml found.

Create your codecov.yml to customize your Codecov experience

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.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading