Kalpa-Services / mmg-wp-plugin

WooCommerce Gateway that uses the MMG Checkout API to process payments
https://mmg-plugin.kalpa.dev
GNU General Public License v2.0
4 stars 2 forks source link

wp standards: rename generic functions #79

Closed carlHandy closed 1 month ago

github-actions[bot] commented 1 month ago

PHP CodeSniffer Summary

.W....... 9 / 9 (100%)

FILE: ...ork/mmg-wp-plugin/mmg-wp-plugin/includes/class-kalpa-mmg-checkout-main.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
 257 | WARNING | base64_encode() can be used to obfuscate code which is
     |         | strongly discouraged. Please verify that the function is used

PHP CodeSniffer Results

Click to expand full report ``` .W....... 9 / 9 (100%) FILE: ...ork/mmg-wp-plugin/mmg-wp-plugin/includes/class-kalpa-mmg-checkout-main.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 4 LINES -------------------------------------------------------------------------------- 257 | WARNING | base64_encode() can be used to obfuscate code which is | | strongly discouraged. Please verify that the function is used | | for benign reasons. 355 | WARNING | base64_decode() can be used to obfuscate code which is | | strongly discouraged. Please verify that the function is used | | for benign reasons. 389 | WARNING | Processing form data without nonce verification. 389 | WARNING | Processing form data without nonce verification. 429 | WARNING | Processing form data without nonce verification. 429 | WARNING | Processing form data without nonce verification. -------------------------------------------------------------------------------- Time: 1.3 secs; Memory: 20MB ```
github-actions[bot] commented 1 month ago

PHP CodeSniffer Summary

.W....... 9 / 9 (100%)

FILE: ...ork/mmg-wp-plugin/mmg-wp-plugin/includes/class-kalpa-mmg-checkout-main.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
 257 | WARNING | base64_encode() can be used to obfuscate code which is
     |         | strongly discouraged. Please verify that the function is used

PHP CodeSniffer Results

Click to expand full report ``` .W....... 9 / 9 (100%) FILE: ...ork/mmg-wp-plugin/mmg-wp-plugin/includes/class-kalpa-mmg-checkout-main.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 4 LINES -------------------------------------------------------------------------------- 257 | WARNING | base64_encode() can be used to obfuscate code which is | | strongly discouraged. Please verify that the function is used | | for benign reasons. 355 | WARNING | base64_decode() can be used to obfuscate code which is | | strongly discouraged. Please verify that the function is used | | for benign reasons. 389 | WARNING | Processing form data without nonce verification. 389 | WARNING | Processing form data without nonce verification. 429 | WARNING | Processing form data without nonce verification. 429 | WARNING | Processing form data without nonce verification. -------------------------------------------------------------------------------- Time: 1.34 secs; Memory: 20MB ```
github-actions[bot] commented 1 month ago

PHPUnit Test Summary

PHPUnit 9.6.20 by Sebastian Bergmann and contributors.

Runtime:       PHP 7.4.33
Configuration: /home/runner/work/mmg-wp-plugin/mmg-wp-plugin/phpunit.xml

MMGCheckout Payment (Kalpa_MMG_Checkout_Main\MMGCheckoutPayment)
 ✔ Generate checkout url  5 ms

Time: 00:00.006, Memory: 6.00 MB

PHPUnit Test Results

Click to expand full report ``` PHPUnit 9.6.20 by Sebastian Bergmann and contributors. Runtime: PHP 7.4.33 Configuration: /home/runner/work/mmg-wp-plugin/mmg-wp-plugin/phpunit.xml MMGCheckout Payment (Kalpa_MMG_Checkout_Main\MMGCheckoutPayment) ✔ Generate checkout url  5 ms Time: 00:00.006, Memory: 6.00 MB OK (1 test, 5 assertions) ```