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

Bug fix: rewrite rule not initialized #56

Closed carlHandy closed 2 months ago

github-actions[bot] commented 2 months 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) ```
github-actions[bot] commented 2 months 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  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 (MMG_Checkout_Payment\MMGCheckoutPayment) ✔ Generate checkout url  5 ms Time: 00:00.006, Memory: 6.00 MB OK (1 test, 5 assertions) ```
github-actions[bot] commented 2 months 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
--------------------------------------------------------------------------------
 250 | 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 -------------------------------------------------------------------------------- 250 | WARNING | base64_encode() can be used to obfuscate code which is | | strongly discouraged. Please verify that the function is used | | for benign reasons. 348 | WARNING | base64_decode() can be used to obfuscate code which is | | strongly discouraged. Please verify that the function is used | | for benign reasons. 384 | WARNING | Processing form data without nonce verification. 384 | WARNING | Processing form data without nonce verification. 424 | WARNING | Processing form data without nonce verification. 424 | WARNING | Processing form data without nonce verification. -------------------------------------------------------------------------------- Time: 1.28 secs; Memory: 20MB ```
github-actions[bot] commented 2 months 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  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 (MMG_Checkout_Payment\MMGCheckoutPayment) ✔ Generate checkout url  5 ms Time: 00:00.006, Memory: 6.00 MB OK (1 test, 5 assertions) ```