mirror of
https://github.com/nextcloud/server.git
synced 2026-06-13 18:50:47 -04:00
chore: Remove types from const properties for PHP 8.2 compatibility
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
This commit is contained in:
parent
cd2d09de64
commit
6b49aa792b
3 changed files with 3 additions and 3 deletions
|
|
@ -23,7 +23,7 @@ use Symfony\Component\Console\Output\OutputInterface;
|
|||
use Symfony\Component\Console\Question\ConfirmationQuestion;
|
||||
|
||||
class GenerateCommand extends Command implements CompletionAwareInterface {
|
||||
private const string TEMPLATE
|
||||
private const TEMPLATE
|
||||
= '<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@ class PlatformRepository {
|
|||
return null;
|
||||
}
|
||||
|
||||
private const string MODIFIER_REGEX = '[._-]?(?:(stable|beta|b|RC|alpha|a|patch|pl|p)(?:[.-]?(\d+))?)?([.-]?dev)?';
|
||||
private const MODIFIER_REGEX = '[._-]?(?:(stable|beta|b|RC|alpha|a|patch|pl|p)(?:[.-]?(\d+))?)?([.-]?dev)?';
|
||||
|
||||
/**
|
||||
* Normalizes a version string to be able to perform comparisons on it
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ class Setup {
|
|||
$this->l10n = $l10nFactory->get('lib');
|
||||
}
|
||||
|
||||
private const array DB_SETUP_CLASSES = [
|
||||
private const DB_SETUP_CLASSES = [
|
||||
'mysql' => MySQL::class,
|
||||
'pgsql' => PostgreSQL::class,
|
||||
'oci' => OCI::class,
|
||||
|
|
|
|||
Loading…
Reference in a new issue