Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider integrating the PHP_CodeSniffer to check PSR-12 coding style #8

Open
peter279k opened this issue Jul 1, 2020 · 8 comments

Comments

@peter279k
Copy link
Contributor

As title, after looking at some of commits for this repository, it seems that this PHP package uses the PSR-12 coding style.

To let the coding style checking be automatic, I think it's nice to define the PHP_CodeSniffer inside require-dev block on composer.json file.

And adding the php vendor/bin/phpcs src/ tests/ --standard=psr12 during Travis CI building.

Once @zhooravell accepts this issue, I'll be happy to work on this :).

@zhooravell
Copy link
Owner

@peter279k, This is a good idea.

peter279k added a commit to open-source-contributions/skrill-php-client that referenced this issue Jul 1, 2020
peter279k added a commit to open-source-contributions/skrill-php-client that referenced this issue Jul 1, 2020
zhooravell added a commit that referenced this issue Jul 1, 2020
@darkos82
Copy link

Hi guys,
this is a good project, because in php not existing anyone (by my research), it's complete? Can i implement into my website (after create skrill account and after convert it in testing) for a direct payment with ipn (or webhook?) notifications?
thanks so much
L.

@zhooravell
Copy link
Owner

Hi! This library does not have an ipn implementation

@darkos82
Copy link

Excuse me, i meant the 'status_url' param

@darkos82
Copy link

Ok thanks! I've a curiosity, why in example main you not set this param?
Best regards

@zhooravell
Copy link
Owner

Because this is just an example. For more details please see tests
https://github.com/zhooravell/skrill-php-client/blob/master/tests/Request/SaleRequestTest.php#L37

@darkos82
Copy link

okk thanks for all!
Have nice day Bro!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants