-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Manually fix coding style violations
Add visibility keywords to constants Move & improve in-line comments
- Loading branch information
Showing
16 changed files
with
90 additions
and
47 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,7 +44,8 @@ class ValidDonation { | |
|
||
public const DONOR_EMAIL_ADDRESS = '[email protected]'; | ||
|
||
public const DONATION_AMOUNT = 13.37; // Keep fractional to detect floating point issues | ||
// Use fractional value to detect floating point issues | ||
public const DONATION_AMOUNT = 13.37; | ||
public const PAYMENT_INTERVAL_IN_MONTHS = 3; | ||
|
||
public const PAYMENT_BANK_ACCOUNT = '0648489890'; | ||
|
@@ -63,7 +64,8 @@ class ValidDonation { | |
public const TRACKING_SKIN = 'default'; | ||
public const TRACKING_SOURCE = 'web'; | ||
public const TRACKING_TOTAL_IMPRESSION_COUNT = 3; | ||
public const TRACKING_TRACKING = 'test/gelb'; // WTF name? | ||
// "tracking" is the name of the property on the object, "TRACKING" is our prefix, hence TRACKING_TRACKING | ||
public const TRACKING_TRACKING = 'test/gelb'; | ||
|
||
public const PAYPAL_TRANSACTION_ID = '61E67681CH3238416'; | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,8 +11,7 @@ | |
use WMDE\Fundraising\DonationContext\Tests\TestEnvironment; | ||
|
||
/** | ||
* @license GPL-2.0-or-later | ||
* @author Kai Nissen < [email protected] > | ||
* @covers \WMDE\Fundraising\DonationContext\DataAccess\DoctrineDonationRepository | ||
*/ | ||
class SerializedDataHandlingTest extends \PHPUnit\Framework\TestCase { | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters