Commit graph

132664 commits

Author SHA1 Message Date
MDW
f9639fc689
Fix arg type for strtolower by typing function arguments 2024-03-19 02:59:38 +01:00
MDW
d690227f43
Fix arg type to mt_rand by cast to string 2024-03-19 02:59:37 +01:00
MDW
4407eb4787
Fix arg type to set_cookie() with cast to string 2024-03-19 02:59:36 +01:00
MDW
8cf914b543
Fix arg type to url_encode by updating to ((int) $arg) 2024-03-19 02:59:35 +01:00
MDW
a3e535f99f
Fix arg type to explode() by proper function arg typing 2024-03-19 02:59:34 +01:00
MDW
53d062f90b
Fix arg type to urlencode by casting to string 2024-03-19 02:59:33 +01:00
MDW
96218ec2ca
Fix GETPOSTINT() to GETPOST(..,intcomma) to allow empty type 2024-03-19 02:59:32 +01:00
MDW
fd5059920f
Fix arg type to mt_srand() with cast to int 2024-03-19 02:59:31 +01:00
MDW
f63dcc1b6f
Fix arg types for htmlentities() and uniqid() by casting to string 2024-03-19 02:59:30 +01:00
MDW
1aa9f97897
Fix arguments to addChild() by casting to string 2024-03-19 02:59:29 +01:00
MDW
4257a50e9c
Fix json_encode()'s second argument which was true by removing it 2024-03-19 02:59:28 +01:00
MDW
a55a657704
Fix default argument for code_region 2024-03-19 02:59:27 +01:00
MDW
8a889f9ae5
Fix type of arg to mt_rand with cast to string 2024-03-19 02:59:26 +01:00
MDW
8309189c35
Fix arg type to substr by casting to string 2024-03-19 02:59:25 +01:00
MDW
dd8becea72
Fix PhanTypeMismatchArgumentInternal by ignoring it 2024-03-19 02:59:23 +01:00
MDW
bf2db7152c
Fix args to urlencode by casting to string 2024-03-19 02:59:22 +01:00
MDW
750ffdc9d2
Fix args to substr by casting (value from user setting) 2024-03-19 02:59:21 +01:00
MDW
cde95b3037
Fix bad typing in thirdparty lib (TCPDF) with cast 2024-03-19 02:59:20 +01:00
MDW
8dc0a6d214
Fix arg type to mt_srand with cast 2024-03-19 02:59:19 +01:00
MDW
3ded4f67c7
Fix PhanTypeMismatchArgumentInternal by casting 2024-03-19 02:59:18 +01:00
MDW
34e960f7ad
Fix arg types for substr() by casting to string 2024-03-19 02:59:17 +01:00
MDW
029990cd01
Fix arg types for str_pad and shmop_read with casts 2024-03-19 02:59:16 +01:00
MDW
e8cc181eb0
Fix arg type for imagecreate* and imagecopy* functions by casting 2024-03-19 02:59:15 +01:00
MDW
33f7d645d6
Fix arg type for explode() with cast 2024-03-19 02:59:14 +01:00
MDW
397cd58f26
Fix arg types to substr(),mb_strcut() and number_format() by casting & typing 2024-03-19 02:59:13 +01:00
MDW
add3d0e150
Fix $port type to ssh2_connect, ftp_ssl_connect, ftp_connect with cast 2024-03-19 02:59:12 +01:00
MDW
c406ae4502
Fix args to strrev, imagefilledrectangle and imagettftext
# Fix args to strrev, imagefilledrectangle and imagettftext

Fix by initialising to string, and casting round() to int (return is float)
2024-03-19 02:59:11 +01:00
MDW
fd9618c3c8
Fix arg to explode by forcing type of 2024-03-19 02:59:10 +01:00
MDW
c0e8e053b8
Fix port arg to count by adding typing information 2024-03-19 02:59:09 +01:00
MDW
6455353c94
Fix port arg to fsockopen by casting, review of setter/getter 2024-03-19 02:59:08 +01:00
MDW
e0baa385b5
Fix args to strpos and count with typing and casting 2024-03-19 02:59:07 +01:00
MDW
0032fe4746
Fix wrong reference to this->rowid, must be this->id 2024-03-19 02:59:06 +01:00
MDW
c8fa6b4827
Fix casting to fix strtoupper and more 2024-03-19 02:59:05 +01:00
MDW
7cc1894893
Fix type of param to fix strtoupper typing 2024-03-19 02:59:04 +01:00
MDW
8077bf10f3
Fix type of argument to urlencode by rewrite 2024-03-19 02:59:03 +01:00
MDW
d9970ff4e7
Fix type of argument for round 2024-03-19 02:59:02 +01:00
MDW
4c5ceace40
Fix type of argument for round 2024-03-19 02:59:01 +01:00
MDW
9958fde08a
Fix type of argument for usleep 2024-03-19 02:59:00 +01:00
MDW
1933349eb0
Fix type of argument for str_pad 2024-03-19 02:58:59 +01:00
MDW
2c034e6aac
Fix types of arguments for round and str_pad 2024-03-19 02:58:58 +01:00
MDW
3c5599bb47
Correct annotation to ignore PhanTypeMismatchArgumentInternal 2024-03-19 02:58:57 +01:00
MDW
79a0b7d234
Fix array_key_exists in websiteaccount_card by adding key to initializer 2024-03-19 02:58:56 +01:00
Laurent Destailleur
c527cb27fb
Merge pull request #28891 from mdeweerd/fix/PhanTypeSuspiciousStringExpression
Fix & enable PhanTypeSuspiciousStringExpression
2024-03-19 02:56:43 +01:00
MDW
cd3ea72f96
Qual: Disable global variable suggestion for $website 2024-03-19 02:44:07 +01:00
MDW
9647c46371
Add empty lines to avoid comment alignments 2024-03-19 02:44:05 +01:00
MDW
3c968477cb
Change type of global $website to string 2024-03-19 02:44:04 +01:00
MDW
921431dbdc
Qual: Enable PhanTypeSuspiciousStringExpression 2024-03-19 02:44:03 +01:00
MDW
10b260a31d
Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:44:02 +01:00
MDW
0538db7468
Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:44:01 +01:00
MDW
5b2758327d
Fix PhanTypeSuspiciousStringExpression 2024-03-19 02:44:00 +01:00