Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,17 @@ on:
jobs:
test:
runs-on: ubuntu-22.04
strategy:
matrix:
php-version: ['8.2', '8.3', '8.4']

steps:
- uses: actions/checkout@v4

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: '8.2'
php-version: ${{ matrix.php-version }}
extensions: zip, sqlite3, http
coverage: none

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ Once you call one of the API endpoints which return a response, you can no longe
**Another way to define your Client Class**

You can bind your Client class at runtime in the AppServiceProvider. Allowing you to simply define the Client
in the constructor of your class, without having to constantly pass the api credentials.
on the container (via the constructor of a class in Laravel), without having to constantly pass the api credentials.
```php
$this->app->bind(OddsClient::class, function () {
return new OddsClient(config('odds-api.api_key'));
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
"authors": [
{
"name": "Seth Sharp",
"homepage": "https://www.sethsharpportfolio.com/",
"homepage": "https://sethsharp.dev",
"role": "Maintainer, Developer"
}
],
"require": {
"php": "^8.2",
"php": "^8.2 | ^8.3 | ^8.4",
"guzzlehttp/guzzle": "^7.8",
"nesbot/carbon": "^3.7"
},
Expand Down
45 changes: 0 additions & 45 deletions tests/Pest.php

This file was deleted.

174 changes: 0 additions & 174 deletions tests/Unit/OddsClientTest.php

This file was deleted.

Loading