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

Update laravel-akamai for Laravel 10 #5

Merged
merged 3 commits into from
Feb 16, 2024
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
10 changes: 4 additions & 6 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,11 @@ jobs:
strategy:
fail-fast: true
matrix:
php: [7.3, 7.4]
laravel: [7.*, 8.*]
php: [8.2]
laravel: [10.*]
include:
- laravel: 7.*
testbench: 5.*
- laravel: 8.*
testbench: 6.*
- laravel: 10.*
testbench: 8.*

name: P${{ matrix.php }} - L${{ matrix.laravel }}

Expand Down
21 changes: 7 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,23 +9,16 @@
"license": "MIT",
"type": "project",
"require": {
"php": ">=7.3",
"php": ">=8.2",
"ext-json": "*",
"laravel/framework": "^7.0|^8.0",
"patriziotomato/edgegrid-client": "^1.2"
"laravel/framework": "^10.0",
"akamai-open/edgegrid-client": "^2.1"
},
"require-dev": {
"fzaninotto/faker": "^1.9.1",
"nunomaduro/collision": "^4.2",
"phpunit/phpunit": "^8.0",
"orchestra/testbench": "^6.0"
"nunomaduro/collision": "^7.0",
"phpunit/phpunit": "^10.0",
"orchestra/testbench": "^8.21"
},
"repositories": [
{
"type": "git",
"url": "git@github.com:patriziotomato/AkamaiOPEN-edgegrid-php-client.git"
}
],
"autoload": {
"psr-4": {
"LaravelAkamai\\": "src"
Expand Down Expand Up @@ -56,4 +49,4 @@
}
}
}
}
}
22 changes: 11 additions & 11 deletions phpunit.xml
Original file line number Diff line number Diff line change
@@ -1,24 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
backupStaticAttributes="false"
<phpunit xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
backupGlobals="false"
bootstrap="./vendor/autoload.php"
colors="true"
convertErrorsToExceptions="true"
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
executionOrder="depends,random">
executionOrder="depends,random"
xsi:noNamespaceSchemaLocation="https://schema.phpunit.de/10.5/phpunit.xsd"
cacheDirectory=".phpunit.cache"
backupStaticProperties="false">
<testsuites>
<testsuite name="Tests">
<directory suffix="Test.php">./tests</directory>
</testsuite>
</testsuites>
<filter>
<whitelist processUncoveredFilesFromWhitelist="true">
<directory suffix=".php">../app</directory>
</whitelist>
</filter>
<php>
<env name="APP_ENV" value="testing"/>
<env name="CACHE_DRIVER" value="array"/>
Expand All @@ -29,4 +24,9 @@
<env name="DB_USERNAME" value="testing"/>
<env name="DB_PASSWORD" value="testing"/>
</php>
<source>
<include>
<directory suffix=".php">../app</directory>
</include>
</source>
</phpunit>
Loading