chesio / bc-woocommerce-mpay24-gateway

Integrate mPAY24 payment gateway into WooCommerce
1 stars 1 forks source link

Robust code by default #3

Open szepeviktor opened 5 years ago

szepeviktor commented 5 years ago

@chesio Do you plan to introduce phpstan? https://github.com/chesio/bc-woocommerce-mpay24-gateway/pull/2#issue-302055138

chesio commented 5 years ago

Yeah, I want to. The server I'm currently developing on has only PHP 7.3 available as PHP-CLI, so I'm running into the issue (GiacoCorsiglia/wordpress-stubs#13) you are well aware of... But I'll set up PHPStan in the project as soon as I'll get to another machine (perhaps at home).

szepeviktor commented 5 years ago

@chesio I had enough of that long-standing error. My pkg comes with an autofixer: https://github.com/szepeviktor/phpstan-wordpress/blob/master/example/composer.json#L19-L22

chesio commented 5 years ago

Thanks, I'll check it out!

szepeviktor commented 4 years ago

Now https://packagist.org/packages/php-stubs/wordpress-stubs is available 🚀

:)

chesio commented 4 years ago

I forgot about this issue, TBH ;-) I don't have much time to work on this plugin now, but I'll get to it eventually!