April 17

ozh wants to merge dir1820 into master

Use __DIR__ instead of dirname(__FILE__)

Current Status:

Analysed View on GitHub
Good work!

A positive pull request.

  • = Issues
  • = Duplication
  • = Complexity
  • - Coverage


user/plugins/random-bg/plugin.php
Avoid variables with short names like $bg. Configured minimum length is 3.
$bg = glob( __DIR__.'/img/*png' );

Avoid unused local variables such as '$url'.
$url = yourls_plugin_url( __DIR__ );

More


user/plugins/random-bg/plugin.php
Avoid variables with short names like $bg. Configured minimum length is 3.
$bg = glob( dirname( __FILE__ ).'/img/*png' );

Avoid unused local variables such as '$url'.
$url = yourls_plugin_url( dirname( __FILE__ ) );

More

Loading...

Loading...

Loading...

Loading...