Commit graph

22 commits

Author SHA1 Message Date
Roman Kelesidis
261e8b6e27 Updated copyright year 2023-01-27 18:30:34 +07:00
Yuriy Pikhtarev
a4845b4514
PHP 7+ deprecations of old cache systems
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-26 15:09:47 +03:00
Yuriy Pikhtarev
78af495048
Unqualified function/constant reference and much more
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-24 16:46:50 +03:00
Yuriy Pikhtarev
4bb72dfe59
Power operator can be used
Signed-off-by: Yuriy Pikhtarev <iglix@me.com>
2018-06-24 15:20:23 +03:00
Yuriy Pikhtarev
2f9cef0a39
Update copyright to the short syntax. 2018-06-23 21:50:13 +03:00
Yuriy Pikhtarev
8c6097f5d8
IP storage and attachment system bugfix. PHP 5.6+. 2017-06-12 03:31:39 +03:00
Yuriy Pikhtarev
2210705486
'str(i)str(...)' could be replaced with 'str(i)pos(...)'. 2017-05-09 22:53:53 +03:00
Yuriy Pikhtarev
3d817078a6
Deprecated each() function in php 7.2 2017-05-09 20:25:59 +03:00
Vasily Komrakov
56540c893a
Change for with count. 2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
05442c4213
'stristr(...)/stripos(...)/strripos(...)' could be replaced with 'strstr(...)/strpos()/strrpos()'.
(cherry picked from commit eba06c0)
2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
8e5338e5d3
'str(i)str(...)' could be replaced with 'str(i)pos(...)'.
(cherry picked from commit b4d079f)
2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
5dd290f2b2
'(mb_)substr(...)' used as index-based access.
(cherry picked from commit e89f017)
2017-05-07 21:06:12 +03:00
Yuriy Pikhtarev
21c8e7d48a
Type casting can be used.
(cherry picked from commit b5065ae)
2017-05-07 21:05:18 +03:00
Yuriy Pikhtarev
64df3c5538
'null === ...' can be used.
(cherry picked from commit ec96f65)
2017-05-07 21:03:32 +03:00
Yuriy Pikhtarev
6abd9babc9
Alias functions usage.
(cherry picked from commit 4a79c08)
2017-05-07 21:03:32 +03:00
Yuriy Pikhtarev
02a06e68c9
Ternary operator could be simplified.
(cherry picked from commit 57f0cd7)
2017-05-07 21:03:32 +03:00
Yuriy Pikhtarev
dcd19e54a9
One-time use variables.
(cherry picked from commit 95575e1)
2017-05-07 21:03:32 +03:00
Yuriy Pikhtarev
75990902ae
If-return-return could be simplified.
(cherry picked from commit bcf57cd)
2017-05-07 21:03:32 +03:00
Yuriy Pikhtarev
8262cf769e
Fix many notices in admin_attach_cp.php 2017-02-12 15:56:46 +03:00
Yuriy Pikhtarev
3730bed000
Реформат в PSR-2 + добавление заголовков лицензии MIT в файлы 2017-01-14 04:08:14 +03:00
Vasily Komrakov
efcd7ae71f php 7 future 2017-01-12 18:25:47 +03:00
Exile
f94c0dd2ee Перенос файлов движка в корень 2014-10-28 21:35:42 +03:00
Renamed from upload/library/attach_mod/includes/functions_attach.php (Browse further)