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

File structure update #72

Closed carlHandy closed 1 month ago

github-actions[bot] commented 1 month ago

PHP CodeSniffer Summary

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

FILE: ...r/work/mmg-wp-plugin/mmg-wp-plugin/includes/class-mmg-checkout-payment.php
--------------------------------------------------------------------------------
FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 4 LINES
--------------------------------------------------------------------------------
 255 | 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: ...r/work/mmg-wp-plugin/mmg-wp-plugin/includes/class-mmg-checkout-payment.php -------------------------------------------------------------------------------- FOUND 0 ERRORS AND 6 WARNINGS AFFECTING 4 LINES -------------------------------------------------------------------------------- 255 | WARNING | base64_encode() can be used to obfuscate code which is | | strongly discouraged. Please verify that the function is used | | for benign reasons. 353 | WARNING | base64_decode() can be used to obfuscate code which is | | strongly discouraged. Please verify that the function is used | | for benign reasons. 387 | WARNING | Processing form data without nonce verification. 387 | WARNING | Processing form data without nonce verification. 427 | WARNING | Processing form data without nonce verification. 427 | WARNING | Processing form data without nonce verification. -------------------------------------------------------------------------------- Time: 1.24 secs; Memory: 18MB ```
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 (MMG_Checkout_Payment\MMGCheckoutPayment)
 ✔ Generate checkout url  6 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 (MMG_Checkout_Payment\MMGCheckoutPayment) ✔ Generate checkout url  6 ms Time: 00:00.006, Memory: 6.00 MB OK (1 test, 5 assertions) ```