update php version

This commit is contained in:
Dennis Eichhorn 2022-04-19 23:37:07 +02:00
parent 9207fa4ff9
commit 979c8a878f
82 changed files with 88 additions and 88 deletions

View File

@ -284,8 +284,6 @@ jobs:
if [[ $(find ./ -name "*tpl.php" | xargs grep -P '(style=)') -ne "" ]]; then exit 1; fi
if [[ $(find ./ -name "*tpl.php" | xargs grep -P '(value|title|alt|aria\-label)(=\")((?!\<\?).)*(>)') -ne "" ]]; then exit 1; fi
if [[ $(find ./ -name "*tpl.php" | xargs grep -P '(\<td\>|\<th\>|\<caption\>|\<label.*?(\"|l)\>)) -ne "" ]]; then exit 1; fi
- name: Js strict
run: if [[ $(grep -r -L "\"use strict\";" --include=*.js ./) -ne "" ]]; then exit 1; fi
- name: Js inspection
run: |
if [[ $(grep -rlni "onafterprint=\|onbeforeprint=\|onbeforeunload=\|onerror=\|onhaschange=\|onload=\|onmessage=\|onoffline=\|ononline=\|onpagehide=\|onpageshow=\|onpopstate=\|onredo=\|onresize=\|onstorage=\|onund=o\|onunload=\|onblur=\|onchage=\|oncontextmenu=\|onfocus=\|onformchange=\|onforminput=\|oninput=\|oninvalid=\|onreset=\|onselect=\|onsubmit=\|onkeydown=\|onkeypress=\|onkeyup=\|onclick=\|ondblclic=k\|ondrag=\|ondragend=\|ondragenter=\|ondragleave=\|ondragover=\|ondragstart=\|ondrop=\|onmousedown=\|onmousemove=\|onmouseout=\|onmouseover=\|onmouseup=\|onmousewheel=\|onscroll=\|onabor=t\|oncanplay=\|oncanplaythrough=\|ondurationchange=\|onemptied=\|onended=\|onerror=\|onloadeddata=\|onloadedmetadata=\|onloadstart=\|onpause=\|onplay=\|onplaying=\|onprogress=\|onratechange=\|onreadystatechange=\|onseeked=\|onseeking=\|onstalled=\|onsuspend=\|ontimeupdate=\|onvolumechange=" --include=*.js ./) -ne "" ]]; then exit 1; fi

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Admin\Install
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Admin\Install
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Web\Backend
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Admin
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Admin
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Admin
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Admin
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn
@ -260,7 +260,9 @@ final class ApiController extends Controller
*/
private function createDocMedia(EditorDoc $doc, RequestAbstract $request) : void
{
$path = $this->createEditorDir($doc);
$path = $this->createEditorDir($doc);
/** @var \Modules\Admin\Models\Account $account */
$account = AccountMapper::get()->where('id', $request->header->account)->execute();
if (!empty($uploadedFiles = $request->getFiles())) {
@ -279,10 +281,10 @@ final class ApiController extends Controller
MediaMapper::create()->execute($media);
EditorDocMapper::writer()->createRelationTable('media', [$media->getId()], $doc->getId());
$ref = new Reference();
$ref->name = $media->name;
$ref->source = new NullMedia($media->getId());
$ref->createdBy = new NullAccount($request->header->account);
$ref = new Reference();
$ref->name = $media->name;
$ref->source = new NullMedia($media->getId());
$ref->createdBy = new NullAccount($request->header->account);
$ref->setVirtualPath($accountPath = '/Accounts/' . $account->getId() . ' ' . $account->login . '/Editor/' . $doc->createdAt->format('Y') . '/' . $doc->createdAt->format('m') . '/' . $doc->getId());
ReferenceMapper::create()->execute($ref);

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor\Models
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Localization
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn

View File

@ -3,7 +3,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules\Editor
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package tests
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package Modules/tests
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package tests
* @copyright Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package tests
* @copyright 2013 Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package tests
* @copyright 2013 Dennis Eichhorn

View File

@ -2,7 +2,7 @@
/**
* Karaka
*
* PHP Version 8.0
* PHP Version 8.1
*
* @package tests
* @copyright Dennis Eichhorn