Page MenuHomeSealhub

naming-conventions.lint-test
No OneTemporary

naming-conventions.lint-test

<?php
class a {
const b = 1, c = d;
protected $E, $H;
public function F($G, $GG) { }
}
interface i { }
function YY($ZZ) { }
class Quack {
const R = 1, S = 2;
protected $tX, $uY;
public function vV($w_w) { }
}
function () use ($this_is_a_closure) { };
function f(&$YY) {
}
function g() {
$lowerCamelCase = 0;
$UpperCamelCase = 0;
$UPPERCASE_WITH_UNDERSCORES = 0;
$lowercase_with_underscores = 0;
$mIxEd_CaSe = 0;
}
function h() {
global $mIxEd_CaSe;
$mIxEd_CaSe = 2;
$GLOBALS[0] = 2;
$_ENV[0] = 1;
}
function i() {
self::$X_x;
Other::$Y_y;
parent::$Z_z;
self::$X_x[0];
Other::$Y_y[0];
parent::$Z_z[0];
}
~~~~~~~~~~
warning:2:7
warning:3:9
warning:3:16
warning:4:13
warning:4:17
warning:5:19
warning:5:21
warning:5:25
warning:8:11
warning:12:10
warning:12:13
warning:26:13
warning:30:3
warning:31:3
warning:32:3
warning:34:3

File Metadata

Mime Type
text/x-php
Expires
Fri, Nov 28, 15:37 (1 h, 33 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1086296
Default Alt Text
naming-conventions.lint-test (878 B)

Event Timeline