Original Submission A PHP warning is thrown each time the REST route DELETE /dynamic_credentials/{username} is called.
PHP Warning: Missing argument 1 for Tuleap\DynamicCredentials\REST\DynamicCredentialsResource::optionsUsername(), called in /usr/share/tuleap/plugins/dynamic_credentials/include/REST/DynamicCredentialsResource.php on line 96 and defined in /usr/share/tuleap/plugins/dynamic_credentials/include/REST/DynamicCredentialsResource.php on line 81"
PHP Stack trace:"
PHP 1. {main}() /usr/share/tuleap/src/www/api/index.php:0"
PHP 2. Luracast\Restler\Restler->handle() /usr/share/tuleap/src/www/api/index.php:116"
PHP 3. Luracast\Restler\Restler->call() /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:304"
PHP 4. call_user_func_array:{/usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:1065}() /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:1065"
PHP 5. Tuleap\DynamicCredentials\REST\DynamicCredentialsResource->deleteUsername() /usr/share/tuleap/src/vendor/luracast/restler/vendor/Luracast/Restler/Restler.php:1065"
PHP 6. Tuleap\DynamicCredentials\REST\DynamicCredentialsResource->optionsUsername() /usr/share/tuleap/plugins/dynamic_credentials/include/REST/DynamicCredentialsResource.php:96