Add unit tests for captcha classes #20787
+710
−0
Open
Annotations
10 warnings
|
Tests.:
framework/assets/yii.activeForm.js#L531
Expected '===' and instead saw '=='
|
|
Tests.:
framework/assets/yii.activeForm.js#L514
Expected '!==' and instead saw '!='
|
|
Tests.:
framework/assets/yii.activeForm.js#L379
Function has a complexity of 10. Maximum allowed is 6
|
|
Tests.:
framework/assets/yii.activeForm.js#L329
Function has a complexity of 20. Maximum allowed is 6
|
|
Tests.:
framework/assets/yii.activeForm.js#L285
Expected '===' and instead saw '=='
|
|
Tests.:
framework/assets/yii.activeForm.js#L283
It's not necessary to initialize 'result' to undefined
|
|
Tests.:
framework/assets/yii.activeForm.js#L275
Expected '!==' and instead saw '!='
|
|
Tests.:
framework/assets/yii.activeForm.js#L258
Expected '===' and instead saw '=='
|
|
Tests.:
framework/assets/yii.activeForm.js#L256
It's not necessary to initialize 'attribute' to undefined
|
|
Tests.:
framework/assets/yii.activeForm.js#L12
Move the invocation into the parens that contain the function
|
Loading