1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 06:44:04 +00:00

switch to PHP 8.2

This commit is contained in:
Samuel Štancl 2023-01-06 02:38:31 +01:00
parent 24d71230e8
commit 48fc63fe02
3 changed files with 4 additions and 7 deletions

View file

@ -1,8 +1,7 @@
# add amd64 platform to support Mac M1
FROM --platform=linux/amd64 shivammathur/node:latest-amd64
# todo update this to 8.2 once shivammathur/node supports that
ARG PHP_VERSION=8.1
ARG PHP_VERSION=8.2
WORKDIR /var/www/html

View file

@ -15,7 +15,7 @@
}
],
"require": {
"php": "^8.1",
"php": "^8.2",
"ext-json": "*",
"illuminate/support": "^9.0",
"spatie/ignition": "^1.4",

View file

@ -48,10 +48,8 @@ parameters:
paths:
- src/Database/DatabaseConfig.php
- '#Method Stancl\\Tenancy\\Tenancy::cachedResolvers\(\) should return array#'
# php 8.2
# - '#Access to an undefined property Stancl\\Tenancy\\Middleware\\IdentificationMiddleware\:\:\$tenancy#'
# - '#Access to an undefined property Stancl\\Tenancy\\Middleware\\IdentificationMiddleware\:\:\$resolver#'
- '#Access to an undefined property Stancl\\Tenancy\\Middleware\\IdentificationMiddleware\:\:\$tenancy#'
- '#Access to an undefined property Stancl\\Tenancy\\Middleware\\IdentificationMiddleware\:\:\$resolver#'
checkMissingIterableValueType: false
treatPhpDocTypesAsCertain: false