Improve profile validation #10
Annotations
2 errors and 6 warnings
Run PHP_CodeSniffer:
api/v3/TwingleDonation/Submit.php#L268
Function's cyclomatic complexity (73) exceeds allowed maximum of 20
|
Run PHP_CodeSniffer
Process completed with exit code 1.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/cache@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Run PHP_CodeSniffer:
api/v3/TwingleDonation/Submit.php#L268
Function's nesting level (6) exceeds 5; consider refactoring the function
|
Run PHP_CodeSniffer:
CRM/Twingle/Form/Profile.php#L167
Function's cyclomatic complexity (17) exceeds 10; consider refactoring the function
|
Run PHP_CodeSniffer:
CRM/Twingle/Tools.php#L119
Line exceeds 120 characters; contains 129 characters
|
Run PHP_CodeSniffer:
CRM/Twingle/Profile.php#L250
Function's cyclomatic complexity (13) exceeds 10; consider refactoring the function
|
Run PHP_CodeSniffer:
CRM/Twingle/Submission.php#L54
Function's cyclomatic complexity (14) exceeds 10; consider refactoring the function
|
Loading