Skip to content

Add generic payment method #11

Add generic payment method

Add generic payment method #11

Triggered via pull request April 5, 2024 12:30
Status Failure
Total duration 20s
Artifacts

phpcs.yml

on: pull_request
PHP_CodeSniffer
13s
PHP_CodeSniffer
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 8 warnings
PHP_CodeSniffer: api/v3/TwingleDonation/Submit.php#L268
Function's cyclomatic complexity (73) exceeds allowed maximum of 20
PHP_CodeSniffer
Process completed with exit code 1.
PHP_CodeSniffer
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/.
PHP_CodeSniffer: api/v3/TwingleDonation/Submit.php#L268
Function's nesting level (6) exceeds 5; consider refactoring the function
PHP_CodeSniffer: CRM/Twingle/Tools.php#L119
Line exceeds 120 characters; contains 129 characters
PHP_CodeSniffer: CRM/Twingle/Form/Profile.php#L170
Function's cyclomatic complexity (20) exceeds 10; consider refactoring the function
PHP_CodeSniffer: CRM/Twingle/Form/Profile.php#L577
Line exceeds 120 characters; contains 148 characters
PHP_CodeSniffer: CRM/Twingle/Submission.php#L54
Function's cyclomatic complexity (14) exceeds 10; consider refactoring the function
PHP_CodeSniffer: CRM/Twingle/Profile.php#L250
Function's cyclomatic complexity (13) exceeds 10; consider refactoring the function
PHP_CodeSniffer: CRM/Twingle/Profile.php#L684
Line exceeds 120 characters; contains 123 characters