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
13 changes: 0 additions & 13 deletions phpstan-baseline-lte-8.3.neon

This file was deleted.

4 changes: 0 additions & 4 deletions phpstan-baseline.neon.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,6 @@
$includes[] = __DIR__ . '/phpstan-baseline-gte-8.0.neon';
}

if (PHP_VERSION_ID < 8_04_00) {
$includes[] = __DIR__ . '/phpstan-baseline-lte-8.3.neon';
}

$config = [];
$config['includes'] = $includes;

Expand Down
3 changes: 2 additions & 1 deletion src/bundle/Resources/public/js/scripts/admin.location.tab.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
currentTab.classList.add(CLASS_TAB_ACTIVE);
};
const changeHashForPageReload = (hash) => {
global.location.hash = `${hash}#tab`;
global.history.replaceState(null, '', `${hash}#tab`);
};
const handleTabShown = (event) => {
const { target, relatedTarget } = event;
Expand All @@ -35,6 +35,7 @@
bootstrap.Tab.getOrCreateInstance(activeHashTabLink).show();

switchActiveTabs(activeHashTab, currentActiveTab);
changeHashForPageReload(activeHashTabLink.hash);

doc.body.dispatchEvent(new CustomEvent('ibexa:tabs:hash-tab-activated'));
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public function reverseTransform($value)
}

if (!empty($value['month']) && !empty($value['day']) && !empty($value['year']) &&
false === checkdate($value['month'], $value['day'], $value['year'])) {
false === checkdate((int)$value['month'], (int)$value['day'], (int)$value['year'])) {
throw new TransformationFailedException('This is an invalid date');
}

Expand Down
Loading