Robert Schadek
b43c8f45cf
Always Check Curly
...
Check that if|else|for|foreach|while|do|try|catch
are always followed by a BlockStatement aka. { }
closer
can not get the test to work
try to get the AutoFix in place
maybe a fix
nicer messages
some formatting
more tinkering
still nothing
autofix work now
AutoFix name
message to message_postfix
2023-09-24 19:35:46 +02:00
WebFreak001
f22b2e587c
Disable auto_function_check by default
...
Since it may be used to auto-infer function attributes
2023-07-17 11:32:16 +02:00
WebFreak001
4194e6af0c
add `dscanner fix` command
2023-07-08 23:09:33 +02:00
Mai-Lapyst
e2cc6e1ad2
Adds an check for `@disable`d functions that have an body; closes #897
2023-05-09 04:10:43 +02:00
WebFreak001
cdf881c103
add cyclomatic complexity check
...
Fix #684
Disabled by default.
2022-02-11 20:17:23 +01:00
Shigeki Karita
7c54e445c6
Add max_line_length config
2022-01-21 13:24:35 +01:00
Vladimir Panteleev
e61ce45856
Add unused_result check
2020-08-25 06:26:31 +00:00
Hackerpilot
4bca597f4b
Update the documentation for the local import rule
2020-06-22 22:18:12 -07:00
Hackerpilot
1bc03367b4
Disable the local imports check by default
2020-06-22 19:01:05 -07:00
Eugene Wissner
9502af2494
Split unused variable and unused parameter checks ( #768 )
2019-07-02 22:56:52 +02:00
BBasile
1b503656d4
Set the check for useless init disabled by default
2018-08-22 16:32:40 +02:00
Sebastian Wilzbach
558c1bf6cf
Fix #438 - check for __gshared and immutable redundancies
2018-04-06 10:46:21 +02:00
Sebastian Wilzbach
b9f5dbe22b
Don't use the dscanner prefix for the ModuleFilter in the config INI
2018-04-03 06:49:46 +02:00
BBasile
0e35538bbd
Adds a check for too much trusted scope, close #545 ( #581 )
...
Adds a check for too much trusted scope, close #545
merged-on-behalf-of: BBasile <BBasile@users.noreply.github.com>
2018-04-02 07:48:20 +02:00
Basile Burg
67e0f8a9e4
Use new config name override instead of breaking existing ini
2018-03-30 23:59:36 +02:00
Sebastian Wilzbach
cb073c3cf0
Add check for if constraint indendation
2018-03-22 21:03:10 +01:00
Laurent Tréguier
2be1a1f22f
Move everything under package `dscanner` ( #526 )
...
* Move everything under package `dscanner`
* Fix .gitignore
* Fix .dscanner.ini
2018-03-22 20:15:42 +01:00