Skip to content
Code-Schnipsel Gruppen Projekte
Commit ce120e67 erstellt von Henning Leutz's avatar Henning Leutz :martial_arts_uniform:
Dateien durchsuchen

Merge branch 'next-2.x' into 'main'

fix: correct phpstan errors and update schema urls

See merge request !10
Übergeordnete beed4984 46f25a41
No related branches found
No related tags found
2 Merge Requests!10fix: correct phpstan errors and update schema urls,!8Update 'next-3.x' with latest changes from 'main'
Pipeline #15148 mit Warnungen bestanden mit Phase
in 43 Sekunden
include:
- component: dev.quiqqer.com/quiqqer/stabilization/ci-cd-components/quiqqer-package-bundle/quiqqer-package-bundle@2
inputs:
quiqqer-major-version: 1
# Remove the entire phpunit-php8.1 block, to allow PHPUnit to run on PHP 8.1 in your pipeline
phpunit-php8.1:
......
parameters:
ignoreErrors:
-
message: "#^Parameter \\#2 \\$val of method QUI\\\\QDOM\\:\\:setAttribute\\(\\) expects array\\|bool\\|object\\|string, int given\\.$#"
count: 1
path: src/QUI/Timeline/Bricks/Timeline.php
-
message: "#^Variable \\$Engine might not be defined\\.$#"
count: 1
path: types/timeline.php
-
message: "#^Variable \\$Site might not be defined\\.$#"
count: 4
path: types/timeline.php
ignoreErrors:
\ No newline at end of file
......@@ -38,7 +38,7 @@ public function __construct(array $attributes = [])
'displayTemplate' => false,
// Custom children template css (path to css file); overwrites "display"
'displayCss' => false,
'itemtype' => 'http://schema.org/ItemList',
'itemtype' => 'https://schema.org/ItemList',
'child-itemtype' => 'https://schema.org/ListItem',
'child-itemprop' => 'itemListElement'
]);
......@@ -126,11 +126,6 @@ public function getBody(): string
return $Engine->fetch($templateFile);
}
/**
* @return null|QUI\Projects\Site
* @throws Exception
*/
protected function getSite(): ?QUI\Interfaces\Projects\Site
{
if ($this->getAttribute('Site')) {
......
......@@ -2,6 +2,11 @@
/**
* Site list
*
* @var QUI\Projects\Project $Project
* @var QUI\Projects\Site $Site
* @var QUI\Interfaces\Template\EngineInterface $Engine
* @var QUI\Template $Template
*/
$Timeline = new QUI\Timeline\Controls\Timeline([
......
0% oder .
You are about to add 0 people to the discussion. Proceed with caution.
Bearbeitung dieser Nachricht zuerst beenden!
Bitte registrieren oder zum Kommentieren