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/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ on:
jobs:
build:

runs-on: ubuntu-24.04
runs-on: ubuntu-26.04

strategy:
matrix:
php-versions: ['8.1', '8.2']
php-versions: ['8.1', '8.2', '8.3', '8.4']

name: PHP ${{ matrix.php-versions }} Test

Expand Down
4 changes: 2 additions & 2 deletions bin/opus4db
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ createDatabase()

sql=$(cat <<-ENDSTRING
CREATE DATABASE IF NOT EXISTS $dbname DEFAULT CHARACTER SET = UTF8 DEFAULT COLLATE = UTF8_GENERAL_CI;
CREATE USER IF NOT EXISTS '$admin'@'localhost' IDENTIFIED WITH mysql_native_password BY '${adminpwd}';
CREATE USER IF NOT EXISTS '$admin'@'localhost' IDENTIFIED WITH caching_sha2_password BY '${adminpwd}';
GRANT ALL PRIVILEGES ON $dbname.* TO '$admin'@'localhost';
CREATE USER IF NOT EXISTS '$user'@'localhost' IDENTIFIED WITH mysql_native_password BY '$userpwd';
CREATE USER IF NOT EXISTS '$user'@'localhost' IDENTIFIED WITH caching_sha2_password BY '$userpwd';
GRANT SELECT,INSERT,UPDATE,DELETE ON $dbname.* TO '$user'@'localhost';
FLUSH PRIVILEGES;
ENDSTRING
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@
"ext-json": "*",
"ext-libxml": "*",
"ext-xsl": "*",
"opus4/zf1-future": "1.25.*",
"opus4-repo/opus4-common": "^4.10",
"opus4-repo/opus4-doi": "^4.9",
"opus4-repo/opus4-i18n": "*",
"opus4/zf1-future": "*",
"opus4-repo/opus4-common": "dev-master as 4.11",
"opus4-repo/opus4-doi": "dev-main as 4.11",
"opus4-repo/opus4-i18n": "dev-main",
"symfony/console": "*",
"doctrine/dbal": "*",
"doctrine/orm": "*",
Expand Down
2 changes: 1 addition & 1 deletion db/schema/001-OPUS-4.4.4.sql
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ CREATE TABLE IF NOT EXISTS `collections` (
`visible_publish` tinyint(1) unsigned NOT NULL DEFAULT 1 COMMENT 'Show collection in publish form',

PRIMARY KEY (`id`),
KEY `role_id` (`role_id`,`id`),
UNIQUE KEY `role_id` (`role_id`,`id`),
UNIQUE KEY `role_id_left` (`role_id`,`left_id`),
UNIQUE KEY `role_id_right` (`role_id`,`right_id`),
-- UNIQUE KEY `role_id_number` (`role_id`,`number`), -- Uniqueness-constraint on number?
Expand Down
2 changes: 1 addition & 1 deletion library/Opus/Db/Console/DateCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ class DateCommand extends Command
{
const OPTION_FIX = 'fix';

protected function configure()
protected function configure(): void
{
parent::configure();

Expand Down