Skip to content

Commit

Permalink
Remove build for PHP 7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
srmklive committed Sep 30, 2023
1 parent ee25a76 commit cb67633
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
fail-fast: false
matrix:
php-versions: ['7.0', '7.1', '7.2', '7.3', '7.4']
php-versions: ['7.1', '7.2', '7.3', '7.4']
steps:
- name: Checkout
uses: actions/checkout@v2
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Install Composer dependencies
env:
PHP_VERSION: ${{ matrix.php-versions }}
run: $(if [ "$PHP_VERSION" == "7.0" ]; then echo "composer install"; else echo "composer install --no-progress --prefer-dist --optimize-autoloader"; fi;)
run: composer install --no-progress --prefer-dist --optimize-autoloader
- name: Run tests with code coverage
env:
PHP_VERSION: ${{ matrix.php-versions }}
Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/AdapterBillingPlansPricingHelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ class AdapterBillingPlansPricingHelpersTest extends TestCase
/** @var \Srmklive\PayPal\Services\PayPal */
protected $client;

protected function setUp()
protected function setUp(): void
{
$this->client = new PayPalClient($this->getApiCredentials());

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/AdapterConfigTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class AdapterConfigTest extends TestCase
/** @var \Srmklive\PayPal\Services\PayPal */
protected $client;

protected function setUp()
protected function setUp(): void
{
$this->client = new PayPalClient($this->getApiCredentials());

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/AdapterCreateSubscriptionHelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class AdapterCreateSubscriptionHelpersTest extends TestCase
/** @var \Srmklive\PayPal\Services\PayPal */
protected $client;

protected function setUp()
protected function setUp(): void
{
$this->client = new PayPalClient($this->getApiCredentials());

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/AdapterExperienceContextTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ class AdapterExperienceContextTest extends TestCase
/** @var \Srmklive\PayPal\Services\PayPal */
protected $client;

protected function setUp()
protected function setUp(): void
{
$this->client = new PayPalClient($this->getApiCredentials());

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/AdapterFeatureTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ class AdapterFeatureTest extends TestCase
/** @var \Srmklive\PayPal\Services\PayPal */
protected $client;

protected function setUp()
protected function setUp(): void
{
$this->client = new PayPalClient($this->getApiCredentials());

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/AdapterOrdersHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class AdapterOrdersHelperTest extends TestCase
/** @var \Srmklive\PayPal\Services\PayPal */
protected $client;

protected function setUp()
protected function setUp(): void
{
$this->client = new PayPalClient($this->getApiCredentials());

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/AdapterPaymentMethodTokensHelpersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ class AdapterPaymentMethodTokensHelpersTest extends TestCase
/** @var \Srmklive\PayPal\Services\PayPal */
protected $client;

protected function setUp()
protected function setUp(): void
{
$this->client = new PayPalClient($this->getApiCredentials());

Expand Down

0 comments on commit cb67633

Please sign in to comment.