Make WordPress Core


Ignore:
Timestamp:
11/29/2022 03:49:49 PM (2 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Always use parentheses when instantiating an object.

Note: This will be enforced by WPCS 3.0.0.

Props jrf.
See #56791.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/pomo/mo.php

    r52010 r54891  
    146146    public function test_export_should_not_include_empty_translations() {
    147147        $entries = array();
    148         $mo      = new MO;
     148        $mo      = new MO();
    149149        $mo->add_entry(
    150150            array(
Note: See TracChangeset for help on using the changeset viewer.