Skip to content

Commit 62a2b17

Browse files
committed
Merge branch 'master' into version-5
2 parents 3d94c20 + 73e54d5 commit 62a2b17

File tree

5 files changed

+13
-10
lines changed

5 files changed

+13
-10
lines changed

.github/workflows/test.yaml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -219,17 +219,17 @@ jobs:
219219
run: |
220220
sed -i -e 's/localhost/localhost.emobix.co.uk/g' src/main/resources/application.properties
221221
sed -i -e 's/-B clean/-B -DskipTests=true/g' builder-compose.yml
222-
docker-compose -f builder-compose.yml run builder
222+
docker compose -f builder-compose.yml run builder
223223
- name: Run Conformance Suite
224224
working-directory: ./conformance-suite
225225
run: |
226-
docker-compose -f docker-compose-dev.yml up -d
226+
docker compose -f docker-compose-dev.yml up -d
227227
while ! curl -skfail https://localhost.emobix.co.uk:8443/api/runner/available >/dev/null; do sleep 2; done
228228
- name: Start SSP docker
229229
working-directory: ./main
230230
# Must run after conformance suite since they share a docker network.
231231
run: |
232-
OIDC_VERSION=@dev docker-compose -f docker/docker-compose.yml --project-directory . up -d --build
232+
OIDC_VERSION=@dev docker compose -f docker/docker-compose.yml --project-directory . up -d --build
233233
sleep 30
234234
# while ! curl -skfail https://op.local.stack-dev.cirrusidentity.com/.well-known/openid-configuration >/dev/null; do sleep 2; done
235235
- name: Run Basic conformance tests
@@ -247,11 +247,11 @@ jobs:
247247
- name: Stop SSP
248248
working-directory: ./main
249249
run: |
250-
docker-compose -f docker/docker-compose.yml down
250+
docker compose -f docker/docker-compose.yml down
251251
- name: Stop Conformance Suite
252252
working-directory: ./conformance-suite
253253
# cleaning up errors out on removing the network, so add "|| true" to prevent that from breaking the build
254254
run: |
255-
docker-compose -f docker-compose-dev.yml down || true
255+
docker compose -f docker-compose-dev.yml down || true
256256
sudo rm -rf mongo
257257

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Currently supported flows are:
1313

1414
[![Build Status](https://github.com/simplesamlphp/simplesamlphp-module-oidc/actions/workflows/test.yaml/badge.svg)](https://github.com/simplesamlphp/simplesamlphp-module-oidc/actions/workflows/test.yaml)
1515
[![Coverage Status](https://codecov.io/gh/simplesamlphp/simplesamlphp-module-oidc/branch/master/graph/badge.svg)](https://app.codecov.io/gh/simplesamlphp/simplesamlphp-module-oidc)
16-
[![SimpleSAMLphp](https://img.shields.io/badge/simplesamlphp-1.19-brightgreen)](https://simplesamlphp.org/)
16+
[![SimpleSAMLphp](https://img.shields.io/badge/simplesamlphp-2.1-brightgreen)](https://simplesamlphp.org/)
1717

1818
![Main screen capture](docs/oidc.png)
1919

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#FROM cirrusid/simplesamlphp:v2.0.0
2-
FROM cicnavi/simplesamlphp:dev-simplesamlphp-2.1
2+
FROM cicnavi/simplesamlphp:dev
33

44
RUN apt-get update && apt-get install -y sqlite3
55
# Prepopulate the DB with items needed for testing

docker/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,5 +50,5 @@ services:
5050
# Connect to the conformance-suite network to make it easier to communicate between components
5151
networks:
5252
default:
53-
external:
54-
name: conformance-suite_default
53+
name: conformance-suite_default
54+
external: true

src/Services/LoggerService.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function notice(string|Stringable $message, array $context = []): void
4242
Logger::notice($message . ($context ? " " . var_export($context, true) : ""));
4343
}
4444

45-
public function info($message, array $context = []): void
45+
public function info(string|Stringable $message, array $context = []): void
4646
{
4747
Logger::info($message . ($context ? " " . var_export($context, true) : ""));
4848
}
@@ -52,6 +52,9 @@ public function debug(string|Stringable $message, array $context = []): void
5252
Logger::debug($message . ($context ? " " . var_export($context, true) : ""));
5353
}
5454

55+
/**
56+
* @param mixed $level
57+
*/
5558
public function log($level, string|Stringable $message, array $context = []): void
5659
{
5760
match ($level) {

0 commit comments

Comments
 (0)