73
$commentStart = $phpcsFile->findPrevious();
74
$commentEnd = $this->_phpcsFile;
78
$this->okButton = new Button();
79
$content = new MyClass();
82
$GLOBALS['_PEAR_ERRORSTACK_SINGLETON'] = array();
86
const MODE_DEBUG = 'debug';
87
const MODE_DEBUG2 = 'debug';
89
$array[$test] = 'anything';
92
const MODE_DEBUG2 = 'debug';
93
$array[$test] = 'anything';
95
$array[($test + 1)] = 'anything';
96
$array[($blah + (10 - $test))] = 'anything';
99
function myFunction($var=true)
101
if ($strict === true) {
102
$length = strlen($string);
103
$lastCharWasCaps = ($classFormat === false) ? false : true;
105
for ($i = 1; $i < $length; $i++) {
106
$isCaps = (strtoupper($string{$i}) === $string{$i}) ? true : false;
107
if ($isCaps === true && $lastCharWasCaps === true) {
111
$lastCharWasCaps = $isCaps;
117
for ($i = 0; $i < 10; $i += 2) {
122
foreach ($files as $file) {
123
$saves[$file] = array();
124
$contents = stripslashes(file_get_contents($file));
125
list($assetid, $time, $content) = explode("\n", $contents);
126
$saves[$file]['assetid'] = $assetid;
131
for ($i = 0; $i < 10; $i += 2) {
137
$var = a_very(long_line('that', 'contains'),
138
a_bunch('of long', 'parameters'),
139
'that_need to be aligned with the equal sign');
144
$var = 'a very long line of text that contains '
146
.' and some other stuff that is too long to fit on one line';
151
$var = a_very(long_line('that', 'contains'),
152
a_bunch('of long', 'parameters'),
153
'that_need to be aligned with the equal sign');
158
$var = 'a very long line of text that contains '
160
.' and some other stuff that is too long to fit on one line';
165
$var .= 'a very long line of text that contains '
167
.' and some other stuff that is too long to fit on one line';
172
$var .= 'a very long line of text that contains '
174
.' and some other stuff that is too long to fit on one line';
179
$var .= 'a very long line of text that contains '
181
.' and some other stuff that is too long to fit on one line';
186
while (list($h, $f) = each($handle)) {
192
function blah ($value = true) {
194
if ($value === true) {
200
$args = array('foo' => 'foo');