WordPress.org

Make WordPress Core

Ticket #53359: 53359-8-PHPCS-ruleset-update-the-config-for-WordPress.PHP.No.patch

File 53359-8-PHPCS-ruleset-update-the-config-for-WordPress.PHP.No.patch, 656 bytes (added by jrf, 2 months ago)
  • phpcs.xml.dist

    From 2b19565d654464b6096a9319df4491f8e671624b Mon Sep 17 00:00:00 2001
    From: jrfnl <jrfnl@users.noreply.github.com>
    Date: Tue, 20 Jul 2021 16:22:02 +0200
    Subject: [PATCH] PHPCS ruleset: update the config for
     WordPress.PHP.NoSilencedErrors
    
    ---
     phpcs.xml.dist | 1 +
     1 file changed, 1 insertion(+)
    
    diff --git a/phpcs.xml.dist b/phpcs.xml.dist
    index d09abc947c..3dce7d6cc2 100644
    a b  
    288288                                <element value="gzinflate"/>
    289289                                <element value="gzuncompress"/>
    290290                                <element value="gzdecode"/>
     291                                <element value="imagecreatefromwebp"/>
    291292                        </property>
    292293                </properties>
    293294        </rule>