33
2
mirror of https://github.com/joomla-extensions/jedchecker.git synced 2024-11-15 17:47:11 +00:00
Commit Graph

35 Commits

Author SHA1 Message Date
Denis Ryabov
7e9d840377 reformat long code line 2021-05-11 18:46:10 +03:00
Denis Ryabov
f0184fa74d Joomla code-style fixes 2021-05-11 18:45:51 +03:00
Denis Ryabov
14ba00024a switch to use of JEDCheckerHelper in framework 2021-05-11 18:42:44 +03:00
Denis Ryabov
2c3fe01168 remove unused code 2021-05-11 18:42:28 +03:00
Denis Ryabov
72c8ed99ef Fix possible warning on empty php files 2021-05-11 18:42:12 +03:00
Denis Ryabov
1b2bdbe41e Extended list of leftover files/folders 2021-05-11 18:41:55 +03:00
Denis Ryabov
21a4a72356 add Joomla! 4 removed and deprecated snippets 2021-04-04 15:17:22 +03:00
Denis Ryabov
57374c3492 fix deprecated rules (behaviour.mootools is mostly loaded via JHtml::_, and assignRef is not static method) 2021-04-04 15:14:19 +03:00
Denis Ryabov
8cca981cff add debug_zval_dump to the error_log checks 2021-04-04 15:14:06 +03:00
Denis Ryabov
ce6ca7a939 simplify word boundary check 2021-04-04 14:05:39 +03:00
Denis Ryabov
a2bb820771 Check errors in JFolder::folders/files results 2021-04-04 14:03:59 +03:00
Denis Ryabov
c47fba03c9 add comments 2021-04-04 14:03:34 +03:00
Denis Ryabov
a2565abe68 add direct search for leftover files and folders 2021-04-04 14:01:38 +03:00
Denis Ryabov
ded1cab905 add __MACOSX to the list of leftover folders 2021-04-04 14:01:21 +03:00
Denis Ryabov
7dd70628e0 Typos / Joomla! code style fixes 2021-04-04 13:36:35 +03:00
Denis Ryabov
fb16f918d3 clean PHP code (by removing comments, html, and strings) in the framework rules to avoid false-positives 2021-04-04 12:52:53 +03:00
21faa210dc
Merge PR #86 into develop 2021-03-27 05:32:24 +02:00
7e1346a2ca
Merge pull request #87 into joomla/develop 2021-03-07 02:58:08 +02:00
3d51728978
Added more comments to the calculate_line_number method and fixed the variable naming. 2021-03-07 02:13:09 +02:00
ebb388a5c7
Merge pull request #76 into joomla/develop 2021-03-07 02:08:19 +02:00
Denis Ryabov
e063c3fe22
Add direct MySQLi access to the errors list 2021-02-14 00:13:03 +03:00
Denis Ryabov
aaa100fbbb fix regular expressions ("." character should be escaped) 2021-02-13 23:12:08 +03:00
f22a82d6cf
Merge pull request #77 from dryabov/patch-11 2021-01-27 15:15:04 +02:00
Denis Ryabov
fa5eb52dd6
Don't warn on str_replace and preg_replace
Both `str_replace` and `preg_replace` (deprecated /e modifier is checked in another rule) are widely used and shouldn't be considered as a marker of malicious code
2021-01-24 20:37:57 +03:00
Denis Ryabov
36159b616c
A simpler way to get line number 2021-01-24 20:32:07 +03:00
SharkyKZ
b7c1d87817
Support exit in entry point check 2020-09-03 11:41:52 +03:00
Anibal Sanchez
510e0b168c
Merge pull request #51 from dryabov/patch-1
Fix false-positive for JAMSS rule#23
2019-05-17 11:25:17 +02:00
Anibal Sanchez
03c7294a4c
Merge pull request #54 from dryabov/patch-4
Add `print_r` to "errorlog" list
2019-05-17 11:24:50 +02:00
Denis Ryabov
373603166d
Add print_r to "errorlog" list
Display a notice for `print_r` function (along with `error_log`, `var_export`, `var_dump`)
2019-05-15 17:25:32 +03:00
Denis Ryabov
e379627132
remove zero-width-space characters
Replace `mysql_​​escape_​​string` by `mysql_​escape_string`
2019-05-15 17:23:19 +03:00
Denis Ryabov
2f7943f6ac
Fix false-positive for JAMSS rule#23
JAMSS rule#23 gives false-positive warning for files that starts with `defined('_JEXEC')` (because of partial `exec` match) and use `$_GET` or `$_POST`. This patch requires `exec` (and other function names in) to be checked explicitly using word boundaries (`\b`) in the regex.
2019-05-15 16:48:40 +03:00
anibalsanchez
0f241adba7 More Copryright fixes 2019-03-10 17:09:42 +01:00
anibalsanchez
5119fc102a 2.1.1 - Copyright updated to Joomla 2019-03-10 09:49:52 +01:00
anibalsanchez
b34cb440a4 2.1.0 2019-03-09 20:44:14 +01:00
Jaz Parkyn
e2eb961633 Removal of build tools 2017-02-14 14:34:35 +00:00