/trunk/index.php |
---|
221,6 → 221,7 |
$room_file = chatroom_file($room); |
$cont = file_get_contents($room_file); |
preg_match_all('@\(user:(.*)\)@ismU', $cont, $m); |
$users_lookup = array(); |
foreach ($m[1] as &$us) { |
$users_lookup[$us] = true; |
} |
285,7 → 286,7 |
// $sajax_debug_mode = true; |
$sajax_failure_redirect = 'http://web.archive.org/web/20090915191608/http://sajax.info/sajaxfail.html'; |
sajax_export( |
sajax_export( /** @phpstan-ignore-line */ // PHPstan thinks that sajax_export() only accepts 0 parameters?! |
array('name' => 'add_line', 'method' => 'POST'), |
array('name' => 'refresh', 'method' => 'GET') // TODO: post? |
); |
/trunk/phpstan.neon.dist |
---|
0,0 → 1,19 |
parameters: |
level: 5 |
fileExtensions: |
- php |
- phps |
paths: |
- . |
excludePaths: |
analyse: |
- dependencies/ |
analyseAndScan: |
- .phpstan.tmp |
tmpDir: .phpstan.tmp |
bootstrapFiles: |
- config/config.original.inc.php |
ignoreErrors: |
- '#is always (true|false)\.#' |
#- '#Call to function assert\(\) with false will always evaluate to false\.#' |
#- '#with no typehint specified\.#' |
/trunk/private/old_messenger/messages.php |
---|
24,7 → 24,7 |
if ($s < 0) $s = 0; |
for ($i=$s; $i<count($expl)-1; $i++) { |
echo "[".str_pad($i+1, 4, '0', STR_PAD_LEFT)."] ".$expl[$i]; |
echo "[".str_pad((string)($i+1), 4, '0', STR_PAD_LEFT)."] ".$expl[$i]; |
} |
?> |
/trunk |
---|
Property changes: |
Added: svn:ignore |
+.phpstan.tmp |
+phpstan.neon |
+ |