WordPress.org

Making WordPress.org


Ignore:
Timestamp:
12/19/2017 04:22:37 PM (21 months 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/readme/class-validator.php

    r5841 r6287  
    11<?php
    22namespace WordPressdotorg\Plugin_Directory\Readme;
     3
    34use WordPressdotorg\Plugin_Directory\Tools\Filesystem;
    45
     
    3435            $error = sprintf( __( 'URL must end in %s!', 'wporg-plugins' ), '<code>readme.txt</code>' );
    3536            return array(
    36                 'errors' => array( $error )
     37                'errors' => array( $error ),
    3738            );
    3839        }
     
    4243            $error = __( 'Invalid readme.txt URL.', 'wporg-plugins' );
    4344            return array(
    44                 'errors' => array( $error )
     45                'errors' => array( $error ),
    4546            );
    4647        }
     
    6465        if ( empty( $readme->name ) ) {
    6566            /* Translators: Plugin header tag; */
    66             $errors[] = sprintf( __( "No plugin name detected. Plugin names look like: %s", 'wporg-plugins' ), '<code>=== Plugin Name ===</code>' );
     67            $errors[] = sprintf( __( 'No plugin name detected. Plugin names look like: %s', 'wporg-plugins' ), '<code>=== Plugin Name ===</code>' );
    6768        }
    6869
Note: See TracChangeset for help on using the changeset viewer.