You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
we need to update the $json variable to be something like $current_json in src/Core/Module/UnitTest.stub (testItShouldGetListingOfTheResource() method)
the same thing as above, $model should be something like $current_model in src/Core/Base/ApiController.stub (update() and destroy() methods)
we need to update the
$json
variable to be something like$current_json
insrc/Core/Module/UnitTest.stub
(testItShouldGetListingOfTheResource()
method)the same thing as above,
$model
should be something like$current_model
insrc/Core/Base/ApiController.stub
(update()
anddestroy()
methods)reference:
https://wiki.sei.cmu.edu/confluence/display/c/DCL01-C.+Do+not+reuse+variable+names+in+subscopes
https://wiki.sei.cmu.edu/confluence/display/java/DCL51-J.+Do+not+shadow+or+obscure+identifiers+in+subscopes
source of issues mentioned was:
SonarQube
The text was updated successfully, but these errors were encountered: