Subversion Repositories prepend

Compare Revisions

No changes between revisions

Regard whitespace Rev 3 → Rev 4

/trunk/php_auto_pre/001-mysql_replacement.php
38,7 → 38,8
global $vts_mysqli;
$ary = explode(':', $server);
$host = $ary[0];
$port = isset($ary[1]) ? $ary[1] : ini_get("mysqli.default_port");
$ini_port = ini_get("mysqli.default_port");
$port = isset($ary[1]) ? (int)$ary[1] : ($ini_port ? (int)$ini_port : 3306);
if (is_null($server)) $port = ini_get("mysqli.default_host");
if (is_null($username)) $port = ini_get("mysqli.default_user");
if (is_null($password)) $port = ini_get("mysqli.default_password");
61,7 → 62,7
$err = mysql_error();
throw new Exception("Called mysql_data_seek() with an erroneous argument.".($err == '' ? '' : " Possible cause: $err"));
}
return $result->data_seek($offset) !== false;
return $result->data_seek($row_number) !== false;
}
 
// Liefert Schema Namen vom Aufruf von mysql_list_dbs
185,7 → 186,7
$err = mysql_error();
throw new Exception("Called mysql_field_flags() with an erroneous argument.".($err == '' ? '' : " Possible cause: $err"));
}
return $result->fetch_field_direct($fieldnr)->flags;
return $result->fetch_field_direct($field_offset)->flags;
}
 
// Liefert die Länge des angegebenen Feldes
194,7 → 195,7
$err = mysql_error();
throw new Exception("Called mysql_field_len() with an erroneous argument.".($err == '' ? '' : " Possible cause: $err"));
}
return $result->fetch_field_direct($fieldnr)->length;
return $result->fetch_field_direct($field_offset)->length;
}
 
// Liefert den Namen eines Feldes in einem Ergebnis
353,7 → 354,8
global $vts_mysqli;
$ary = explode(':', $server);
$host = $ary[0];
$port = isset($ary[1]) ? $ary[1] : ini_get("mysqli.default_port");
$ini_port = ini_get("mysqli.default_port");
$port = isset($ary[1]) ? (int)$ary[1] : ($ini_port ? (int)$ini_port : 3306);
if (is_null($server)) $port = ini_get("mysqli.default_host");
if (is_null($username)) $port = ini_get("mysqli.default_user");
if (is_null($password)) $port = ini_get("mysqli.default_password");
/trunk/phpstan.neon.dist
0,0 → 1,15
parameters:
level: 5
fileExtensions:
- php
- phps
paths:
- .
excludePaths:
analyseAndScan:
- .phpstan.tmp
tmpDir: .phpstan.tmp
ignoreErrors:
#- '#is always (true|false)\.#'
#- '#Call to function assert\(\) with false will always evaluate to false\.#'
#- '#with no typehint specified\.#'
/trunk
Property changes:
Added: svn:ignore
+.phpstan.tmp
+