Commit graph

15 commits

Author SHA1 Message Date
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)