updated docker php version to 8.3 and fix errors

Php v8.3 deprecates calling get_class() without arguments. While on 8.2
this was still valid it is no longer. System was alread updated, but the
project specific queries were not.
This commit is contained in:
Ulf Gebhardt 2024-11-19 22:34:00 +01:00
parent b89410fd23
commit 22625acc17
Signed by: ulfgebhardt
GPG Key ID: DA6B843E748679C9
7 changed files with 7 additions and 7 deletions

View File

@ -1,4 +1,4 @@
FROM php:8.2-fpm-alpine
FROM php:8.3-fpm-alpine
# RUN docker-php-ext-install pdo pdo_mysql mbstring
# RUN apk add sqlite

View File

@ -20,7 +20,7 @@ class SELECT_BADGES_VISIBLE extends \SYSTEM\DB\QP {
*
* @return string Returns classname
*/
public static function get_class(){return \get_class();}
public static function get_class(){return static::class;}
/**
* Get QQs MYSQL Query String

View File

@ -20,7 +20,7 @@ class SELECT_PERSONS_VISIBLE extends \SYSTEM\DB\QQ {
*
* @return string Returns classname
*/
public static function get_class(){return \get_class();}
public static function get_class(){return static::class;}
/**
* Get QQs MYSQL Query String

View File

@ -20,7 +20,7 @@ class SELECT_PERSON_PROJECTS extends \SYSTEM\DB\QQ {
*
* @return string Returns classname
*/
public static function get_class(){return \get_class();}
public static function get_class(){return static::class;}
/**
* Get QQs MYSQL Query String

View File

@ -20,7 +20,7 @@ class SELECT_PROJECTS_VISIBLE extends \SYSTEM\DB\QQ {
*
* @return string Returns classname
*/
public static function get_class(){return \get_class();}
public static function get_class(){return static::class;}
/**
* Get QQs MYSQL Query String

View File

@ -20,7 +20,7 @@ class SELECT_PROJECT_PERSONS extends \SYSTEM\DB\QQ {
*
* @return string Returns classname
*/
public static function get_class(){return \get_class();}
public static function get_class(){return static::class;}
/**
* Get QQs MYSQL Query String

View File

@ -1,7 +1,7 @@
<?php
namespace SQL;
class DATA_WECKER_MANUFAKTUR extends \SYSTEM\DB\QI {
public static function get_class(){return \get_class();}
public static function get_class(){return static::class;}
public static function files_mysql(){
return array( (new \PSQL('/mysql/system_api.sql'))->SERVERPATH(),
(new \PSQL('/mysql/system_page.sql'))->SERVERPATH(),