WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/12/2019 06:05:55 AM (3 years ago)
Author:
pento
Message:

Coding Standards: Fix and whitelist variable names.

From the WordPress.NamingConventions.ValidVariableName sniff, this commit fixes/whitelists all NotSnakeCaseMemberVar, MemberNotSnakeCase, and StringNotSnakeCase violations. It also fixes a handful of the NotSnakeCase violations.

See #45934.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/http/base.php

    r43571 r44573  
    1414    // You can use your own version of data/WPHTTP-testcase-redirection-script.php here.
    1515    var $redirection_script = 'http://api.wordpress.org/core/tests/1.0/redirection.php';
    16     var $fileStreamUrl      = 'http://s.w.org/screenshots/3.9/dashboard.png';
     16    var $file_stream_url    = 'http://s.w.org/screenshots/3.9/dashboard.png';
    1717
    1818    protected $http_request_args;
     
    255255
    256256    function test_file_stream() {
    257         $url  = $this->fileStreamUrl;
     257        $url  = $this->file_stream_url;
    258258        $size = 153204;
    259259        $res  = wp_remote_request(
     
    283283     */
    284284    function test_file_stream_limited_size() {
    285         $url  = $this->fileStreamUrl;
     285        $url  = $this->file_stream_url;
    286286        $size = 10000;
    287287        $res  = wp_remote_request(
     
    312312     */
    313313    function test_request_limited_size() {
    314         $url  = $this->fileStreamUrl;
     314        $url  = $this->file_stream_url;
    315315        $size = 10000;
    316316
Note: See TracChangeset for help on using the changeset viewer.