Making WordPress.org


Ignore:
Timestamp:
12/19/2017 04:22:37 PM (7 years ago)
Author:
obenland
Message:

PLugins: Clean up formatting with phpcbf

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/cli/i18n/class-code-import.php

    r5446 r6287  
    3030        }
    3131
    32         $tmp_directory = Filesystem::temp_directory( $this->plugin . '-code-' . $tag );
     32        $tmp_directory    = Filesystem::temp_directory( $this->plugin . '-code-' . $tag );
    3333        $export_directory = $tmp_directory . '/export';
    3434
     
    4848
    4949        $pot_file = "{$tmp_directory}/{$this->plugin}-code.pot";
    50         $makepot  = new \MakePOT;
     50        $makepot  = new \MakePOT();
    5151
    5252        if ( ! $makepot->wp_plugin( $export_directory, $pot_file, $this->plugin ) || ! file_exists( $pot_file ) ) {
     
    8181        // Whether plugin files should be checked for valid text domains.
    8282        if ( empty( $readme->requires ) || version_compare( $readme->requires, '4.6', '<' ) ) {
    83             $error  = new WP_Error();
     83            $error                = new WP_Error();
    8484            $esc_export_directory = escapeshellarg( $export_directory );
    8585
Note: See TracChangeset for help on using the changeset viewer.