nextcloud/lib/private/Settings
Lukas Reschke 3d2600b039
Add Phan plugin to check for SQL injections
This adds a phan plugin which checks for SQL injections on code using our QueryBuilder, while it isn't perfect it should already catch most potential issues.

As always, static analysis will sometimes have false positives and this is also here the case. So in some cases the analyzer just doesn't know if something is potential user input or not, thus I had to add some `@suppress SqlInjectionChecker` in front of those potential injections.

The Phan plugin hasn't the most awesome code but it works and I also added a file with test cases.

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2017-07-20 22:48:13 +02:00
..
Admin move admin templates to the right place 2017-06-27 12:25:37 +02:00
Personal Move sync client to the firstrunwizard app 2017-07-04 10:54:13 +02:00
Manager.php Move sync client to the firstrunwizard app 2017-07-04 10:54:13 +02:00
Mapper.php Add Phan plugin to check for SQL injections 2017-07-20 22:48:13 +02:00
RemoveOrphaned.php check registered sections and settings after an app got updated to garbage collect orphaned classes 2016-08-16 00:56:17 +02:00
Section.php Add the icon for the default sections 2017-01-19 10:42:21 +01:00