Skip to content

Commit

Permalink
Added psalm (static security scanner), fixed CSV download bug and mad…
Browse files Browse the repository at this point in the history
…e secuirty improvements for psalm
  • Loading branch information
mullen2 committed Aug 26, 2021
1 parent 4430477 commit 940f144
Show file tree
Hide file tree
Showing 6 changed files with 2,344 additions and 782 deletions.
2 changes: 1 addition & 1 deletion classes/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -461,7 +461,7 @@ public function set($properties, $isWorkflow = false)
#--------------------------------------------------------------
$this->properties[$name] = RedCapEtlModule::getRedCapApiUrl();
} else {
$this->properties[$name] = $properties[$name];
$this->properties[$name] = Filter::stripTags($properties[$name]);
}
}
} else { // if (!$isWorkflow) {
Expand Down
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"require-dev": {
"phpunit/phpunit": "9.5.8",
"squizlabs/php_codesniffer": "3.6.0",
"vimeo/psalm": "4.9.3",
"erusev/parsedown": "^1.7"
},
"autoload" : {
Expand Down
Loading

0 comments on commit 940f144

Please sign in to comment.