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
4 changes: 2 additions & 2 deletions .github/actions/setup-php/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ inputs:
required: false
type: string
description: the php version to use, defaults to 8.3
default: '8.3'
default: '8.4'

runs:
using: composite
Expand All @@ -26,7 +26,7 @@ runs:
run: echo "dir=$(composer config cache-files-dir)" >> $GITHUB_OUTPUT

- name: cache php dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: ${{ steps.composercache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ inputs.php-version }}-${{ hashFiles('**/composer.json') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,17 +8,17 @@ on:
jobs:
test:
name: test
runs-on: "ubuntu-20.04"
runs-on: "ubuntu-24.04"

strategy:
matrix:
include:
- php-version: 8.2
- php-version: 8.3
- php-version: 8.4

steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: start localstack
run: ./bin/dev/up
- name: PHP
Expand Down
2 changes: 1 addition & 1 deletion bin/dev/down
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

pushd "$(git rev-parse --show-toplevel)"

exec docker-compose down
exec docker compose down
2 changes: 1 addition & 1 deletion bin/dev/up
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ pushd "$(git rev-parse --show-toplevel)"

rm -f var/localstack/ready

exec docker-compose up -d
exec docker compose up -d
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,14 @@
{ "name": "Christopher Davis", "email": "chris@pmg.com" }
],
"require": {
"php": "^8.2",
"pmg/queue": "^6.0",
"php": "^8.3",
"pmg/queue": "^6.2",
"psr/log": "^1.0 || ^2.0 || ^3.0",
"aws/aws-sdk-php": "^3.0"
},
"require-dev": {
"phpunit/phpunit": "^9.5",
"symfony/phpunit-bridge": "^6.4"
"phpunit/phpunit": "^9.6.23",
"symfony/phpunit-bridge": "^6.4.16"
},
"autoload": {
"psr-4": {
Expand Down
2 changes: 1 addition & 1 deletion src/MetricsDriver.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct(
Driver $wrapped,
CloudWatchClient $cloudwatch,
$metricsNamespace=null,
LoggerInterface $logger=null
?LoggerInterface $logger=null
) {
$this->wrapped = $wrapped;
$this->cloudwatch = $cloudwatch;
Expand Down