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

Feature/pp 44628 #47

Merged
merged 21 commits into from
Sep 29, 2020
Merged

Feature/pp 44628 #47

merged 21 commits into from
Sep 29, 2020

Conversation

paypay-ayas
Copy link
Contributor

@paypay-ayas paypay-ayas commented Sep 28, 2020

All Submissions:

  • Have you followed the guidelines in our Contributing document?
  • Have you read and signed the automated Contributor's License Agreement?
  • Have you checked to ensure there aren't other open Pull Requests for the same update/change?

New Feature Submissions:

  1. Does your submission pass tests?
  2. Have you lint your code locally prior to submission?

Changes to Core Features:

  • Have you added an explanation of what your changes do and why you'd like us to include them?
  • Have you written new tests for your core changes, as applicable?
  • Have you successfully ran tests with your changes locally?

@blackduck-copilot
Copy link

blackduck-copilot bot commented Sep 28, 2020

Black Duck Security Report

Merging #47 into master will not change security risk.

Click here to see full report

* @param CreatePendingPaymentPayload $payload SDK payload object
* @return mixed
*/
public function createPendingPayment($payload)
Copy link

Choose a reason for hiding this comment

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

Similar blocks of code found in 2 locations. Consider refactoring.

* @return mixed
*/
public function getPaymentDetails($merchantPaymentId)
public function getPaymentDetails($merchantPaymentId, $paymentType = 'web_cashier')
Copy link

Choose a reason for hiding this comment

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

Similar blocks of code found in 2 locations. Consider refactoring.

* @return mixed
*/
public function cancelPayment($merchantPaymentId)
public function cancelPayment($merchantPaymentId, $paymentType = 'web_cashier')
Copy link

Choose a reason for hiding this comment

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

Similar blocks of code found in 2 locations. Consider refactoring.

@codeclimate
Copy link

codeclimate bot commented Sep 28, 2020

Code Climate has analyzed commit feaf1eb and detected 8 issues on this pull request.

Here's the issue category breakdown:

Category Count
Duplication 8

The test coverage on the diff in this pull request is 100.0% (5% is the threshold).

This pull request will bring the total coverage in the repository to 94.9% (0.4% change).

View more on Code Climate.

@paypay-ayas paypay-ayas marked this pull request as ready for review September 28, 2020 14:29
@sonarcloud
Copy link

sonarcloud bot commented Sep 29, 2020

Kudos, SonarCloud Quality Gate passed!

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities (and Security Hotspot 3 Security Hotspots to review)
Code Smell A 3 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

src/Controllers/Code.php Show resolved Hide resolved
@shreyanshp
Copy link
Contributor

Let's fix the quality issues in next PR @paypay-ayas

@shreyanshp shreyanshp merged commit 6cce549 into master Sep 29, 2020
@shreyanshp shreyanshp deleted the feature/PP-44628 branch September 29, 2020 13:44
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

Successfully merging this pull request may close these issues.

None yet

2 participants