build: Upgrade phan-taint-check-plugin from 1.5.x to 2.0.1

Change-Id: I909d3cfa726d7b68b5a580baf00f6746d4689404
This commit is contained in:
James D. Forrester 2019-07-09 14:00:43 -07:00 committed by Daimona Eaytoy
parent eb37c893ea
commit bceb94ca2a
2 changed files with 5 additions and 5 deletions

View file

@ -18,6 +18,6 @@
]
},
"extra": {
"phan-taint-check-plugin": "1.5.0"
"phan-taint-check-plugin": "2.0.1"
}
}

View file

@ -1073,11 +1073,11 @@ class Cite {
* @return string
*/
private function normalizeKey( $key ) {
$key = Sanitizer::escapeIdForAttribute( $key );
$key = preg_replace( '/__+/', '_', $key );
$key = Sanitizer::safeEncodeAttribute( $key );
$ret = Sanitizer::escapeIdForAttribute( $key );
$ret = preg_replace( '/__+/', '_', $ret );
$ret = Sanitizer::safeEncodeAttribute( $ret );
return $key;
return $ret;
}
/**