Make WordPress Core

Changeset 60795


Ignore:
Timestamp:
09/23/2025 06:50:56 PM (11 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Add specific sniff exclusions for serialize functions in sodium_compat.

These are necessary for a passing PHP Compatibility scan.

Follow-up to [47735], [60787].

See #64008.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpcompat.xml.dist

    r60257 r60795  
    8686                <exclude-pattern>/sodium_compat/src/Compat\.php$</exclude-pattern>
    8787        </rule>
     88        <rule ref="PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__serializeFound">
     89                <exclude-pattern>/sodium_compat/src/PHP52/SplFixedArray\.php$</exclude-pattern>
     90        </rule>
     91        <rule ref="PHPCompatibility.FunctionNameRestrictions.NewMagicMethods.__unserializeFound">
     92                <exclude-pattern>/sodium_compat/src/PHP52/SplFixedArray\.php$</exclude-pattern>
     93        </rule>
    8894
    8995</ruleset>
Note: See TracChangeset for help on using the changeset viewer.