Page MenuHomeSealhub

binary-expression-spacing.lint-test
No OneTemporary

Authored By
Unknown
Size
972 B
Referenced Files
None
Subscribers
None

binary-expression-spacing.lint-test

<?php
$a + $b;
$a+$b;
$a +$b;
$a+ $b;
$a = -$b;
$a=-$b;
$a-=$b;
$a -=$b;
$a-= $b;
$a===$b;
$a.$b;
function x($n=null) {}
function x($n = null) {}
$y /* ! */ += // ?
$z;
$obj->method();
Dog::bark();
$prev = ($total == 1) ? $navids[0] : $navids[$total-1];
$next = ($total == 1) ? $navids[0] : $navids[$current+1];
if ($x instanceof z &&$w) {}
if ($x instanceof z && $w) {}
f(1,2);
~~~~~~~~~~
warning:4:3
warning:5:4
warning:6:3
warning:8:3
warning:9:3
warning:10:4
warning:11:3
warning:12:3
warning:14:14
warning:21:52
warning:22:54
warning:23:21
warning:25:4
~~~~~~~~~~
<?php
$a + $b;
$a + $b;
$a + $b;
$a + $b;
$a = -$b;
$a = -$b;
$a -= $b;
$a -= $b;
$a -= $b;
$a === $b;
$a.$b;
function x($n = null) {}
function x($n = null) {}
$y /* ! */ += // ?
$z;
$obj->method();
Dog::bark();
$prev = ($total == 1) ? $navids[0] : $navids[$total - 1];
$next = ($total == 1) ? $navids[0] : $navids[$current + 1];
if ($x instanceof z && $w) {}
if ($x instanceof z && $w) {}
f(1, 2);

File Metadata

Mime Type
text/x-php
Expires
Fri, Nov 27, 17:16 (1 d, 19 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
1219609
Default Alt Text
binary-expression-spacing.lint-test (972 B)

Event Timeline