Code Duplication    Length = 8-10 lines in 2 locations

classes/external/php/yui-php-cssmin-2.4.8-4_fgo.php 1 location

@@ 43-52 (lines=10) @@
40
     * @param bool|int $raise_php_limits
41
     * If true, PHP settings will be raised if needed
42
     */
43
    public function __construct($raise_php_limits = TRUE)
44
    {
45
        // Set suggested PHP limits
46
        $this->memory_limit = 128 * 1048576; // 128MB in bytes
47
        $this->max_execution_time = 60; // 1 min
48
        $this->pcre_backtrack_limit = 1000 * 1000;
49
        $this->pcre_recursion_limit =  500 * 1000;
50
51
        $this->raise_php_limits = (bool) $raise_php_limits;
52
    }
53
54
    /**
55
     * Minify a string of CSS

classes/external/php/yui-php-cssmin-2.4.8-p9.php 1 location

@@ 45-52 (lines=8) @@
42
     * @param bool|int $raise_php_limits
43
     * If true, PHP settings will be raised if needed
44
     */
45
    public function __construct($raise_php_limits = TRUE)
46
    {
47
        $this->memory_limit = 128 * 1048576; // 128MB in bytes
48
        $this->pcre_backtrack_limit = 1000 * 1000;
49
        $this->pcre_recursion_limit = 500 * 1000;
50
51
        $this->raise_php_limits = (bool) $raise_php_limits;
52
    }
53
54
    /**
55
     * Minify a string of CSS