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

Implemented more constants #612

Merged
merged 1 commit into from
Mar 22, 2019
Merged

Implemented more constants #612

merged 1 commit into from
Mar 22, 2019

Conversation

nickdnk
Copy link
Contributor

@nickdnk nickdnk commented Mar 20, 2019

Hello guys

I've added loads of new constants to different objects, including all possible Stripe error codes to the Base error class, adjusted some minor phpdocs (invoice -> application_fee_amount) and included the constants in tests where applicable.

Let me know if you want me to change or remove anything.

Cheers

lib/Review.php Show resolved Hide resolved
lib/Review.php Show resolved Hide resolved
lib/Payout.php Show resolved Hide resolved
lib/Error/Base.php Outdated Show resolved Hide resolved
Copy link
Contributor

@ob-stripe ob-stripe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @nickdnk, thanks for the contribution as usual!

This looks great overall. I've requested a couple of changes, feel free to ping me when you've updated the PR.

lib/Error/Base.php Outdated Show resolved Hide resolved
lib/Payout.php Show resolved Hide resolved
lib/Review.php Show resolved Hide resolved
lib/Review.php Show resolved Hide resolved
tests/Stripe/AccountTest.php Outdated Show resolved Hide resolved
@nickdnk
Copy link
Contributor Author

nickdnk commented Mar 22, 2019

Changes performed as requested.

@ob-stripe ob-stripe self-assigned this Mar 22, 2019
@ob-stripe ob-stripe merged commit 6ce0343 into stripe:master Mar 22, 2019
@ob-stripe
Copy link
Contributor

Released as 6.31.1.

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

Successfully merging this pull request may close these issues.

3 participants