Skip to content
This repository has been archived by the owner on Aug 18, 2024. It is now read-only.

Add PHP 8.2, drop 7.4 from Travis #761

Closed
wants to merge 4 commits into from
Closed
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
16 changes: 10 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
dist: bionic
dist: jammy

language: php

services:
- mysql
- redis

php:
- '7.4'
- '8.0'
- '8.1'
- '8.2'

env:
global:
Expand All @@ -18,14 +22,14 @@ env:
# Only run the coding standards check once.
matrix:
exclude:
- php: 7.4
env: TEST_SUITE=PHP_CodeSniffer
- php: 7.4
env: TEST_SUITE=10.0.x
- php: 8.0
env: TEST_SUITE=PHP_CodeSniffer
- php: 8.0
env: TEST_SUITE=10.0.x
- php: 8.2
env: TEST_SUITE=9.5.x
- php: 8.2
env: TEST_SUITE=PHP_CodeSniffer

mysql:
database: og
Expand Down
2 changes: 1 addition & 1 deletion src/Event/PermissionEvent.php
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,7 @@ public function offsetUnset($key): void {
/**
* {@inheritdoc}
*/
public function offsetExists($key): bool {
public function offsetExists(mixed $key): bool {
return $this->hasPermission($key);
}

Expand Down