Skip to content

Commit

Permalink
fix: use php 8.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Dec 25, 2021
1 parent 4bf47d6 commit 059cb64
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
php-version: [7.4,8.0]
php-version: [8.1]

steps:
- name: Checkout code
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
timeout-minutes: 5
strategy:
matrix:
php-version: [7.4,8.0]
php-version: [8.1]

steps:
- name: Checkout code
Expand Down Expand Up @@ -41,4 +41,4 @@ jobs:
CC_TEST_REPORTER_ID: ${{ secrets.CODECLIMATE_TOKEN }}
with:
coverageCommand: ''
coverageLocations: ./coverage.xml:clover
coverageLocations: ./coverage.xml:clover
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@
"authors": [
{
"name": "Ivan Stasiuk",
"email": "brokeyourbike@gmail.com",
"homepage": "https://github.com/brokeyourbike"
"email": "ivan@stasi.uk",
"homepage": "https://stasi.uk"
}
],
"minimum-stability": "stable",
"require": {
"php": "^7.4 || ^8.0",
"php": "^8.1",
"ext-json": "*",
"brokeyourbike/http-client": "^1.0",
"brokeyourbike/resolve-uri": "^1.0"
Expand Down
4 changes: 2 additions & 2 deletions src/Client.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

// Copyright (C) 2021 Ivan Stasiuk <brokeyourbike@gmail.com>.
// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
Expand All @@ -15,7 +15,7 @@
use BrokeYourBike\HttpClient\HttpClientInterface;

/**
* @author Ivan Stasiuk <brokeyourbike@gmail.com>
* @author Ivan Stasiuk <ivan@stasi.uk>
*/
class Client implements HttpClientInterface
{
Expand Down
4 changes: 2 additions & 2 deletions src/ConfigInterface.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

// Copyright (C) 2021 Ivan Stasiuk <brokeyourbike@gmail.com>.
// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
Expand All @@ -9,7 +9,7 @@
namespace BrokeYourBike\Paystack;

/**
* @author Ivan Stasiuk <brokeyourbike@gmail.com>
* @author Ivan Stasiuk <ivan@stasi.uk>
*/
interface ConfigInterface
{
Expand Down
4 changes: 2 additions & 2 deletions tests/ClientTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

// Copyright (C) 2021 Ivan Stasiuk <brokeyourbike@gmail.com>.
// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
Expand All @@ -16,7 +16,7 @@
use BrokeYourBike\HttpClient\HttpClientInterface;

/**
* @author Ivan Stasiuk <brokeyourbike@gmail.com>
* @author Ivan Stasiuk <ivan@stasi.uk>
*/
class ClientTest extends TestCase
{
Expand Down
4 changes: 2 additions & 2 deletions tests/ConfigFixture.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

// Copyright (C) 2021 Ivan Stasiuk <brokeyourbike@gmail.com>.
// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
Expand All @@ -11,7 +11,7 @@
use BrokeYourBike\Paystack\ConfigInterface;

/**
* @author Ivan Stasiuk <brokeyourbike@gmail.com>
* @author Ivan Stasiuk <ivan@stasi.uk>
*/
class ConfigFixture implements ConfigInterface
{
Expand Down
4 changes: 2 additions & 2 deletions tests/ConfigTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

// Copyright (C) 2021 Ivan Stasiuk <brokeyourbike@gmail.com>.
// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
Expand All @@ -12,7 +12,7 @@
use BrokeYourBike\Paystack\ConfigInterface;

/**
* @author Ivan Stasiuk <brokeyourbike@gmail.com>
* @author Ivan Stasiuk <ivan@stasi.uk>
*/
class ConfigTest extends TestCase
{
Expand Down
2 changes: 1 addition & 1 deletion tests/ResolveAccountNumberTest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

// Copyright (C) 2021 Ivan Stasiuk <brokeyourbike@gmail.com>.
// Copyright (C) 2021 Ivan Stasiuk <ivan@stasi.uk>.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
Expand Down

0 comments on commit 059cb64

Please sign in to comment.