@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $attributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true); |
| 82 | 82 | } |
| 83 | 83 | if (isset($options['data']) && is_array($options['data'])) { |
| 84 | - array_walk($options['data'], function (&$value, $key) { |
|
| 84 | + array_walk($options['data'], function(&$value, $key) { |
|
| 85 | 85 | $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"'; |
| 86 | 86 | }); |
| 87 | 87 | $attributes[] = implode(' ', $options['data']); |
@@ -1866,7 +1866,7 @@ discard block |
||
| 1866 | 1866 | $userGroupRecordPermissions = GeneralUtility::trimExplode(',', $this->groupData['file_permissions'] ?? '', true); |
| 1867 | 1867 | array_walk( |
| 1868 | 1868 | $userGroupRecordPermissions, |
| 1869 | - function ($permission) use (&$filePermissions) { |
|
| 1869 | + function($permission) use (&$filePermissions) { |
|
| 1870 | 1870 | $filePermissions[$permission] = true; |
| 1871 | 1871 | } |
| 1872 | 1872 | ); |
@@ -1876,7 +1876,7 @@ discard block |
||
| 1876 | 1876 | if (!empty($permissionsTsConfig)) { |
| 1877 | 1877 | array_walk( |
| 1878 | 1878 | $permissionsTsConfig, |
| 1879 | - function ($value, $permission) use (&$filePermissions) { |
|
| 1879 | + function($value, $permission) use (&$filePermissions) { |
|
| 1880 | 1880 | $filePermissions[$permission] = (bool)$value; |
| 1881 | 1881 | } |
| 1882 | 1882 | ); |
@@ -1905,7 +1905,7 @@ discard block |
||
| 1905 | 1905 | if (!empty($storageFilePermissions)) { |
| 1906 | 1906 | array_walk( |
| 1907 | 1907 | $storageFilePermissions, |
| 1908 | - function ($value, $permission) use (&$finalUserPermissions) { |
|
| 1908 | + function($value, $permission) use (&$finalUserPermissions) { |
|
| 1909 | 1909 | $finalUserPermissions[$permission] = (bool)$value; |
| 1910 | 1910 | } |
| 1911 | 1911 | ); |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $attributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true); |
| 82 | 82 | } |
| 83 | 83 | if (isset($options['data']) && is_array($options['data'])) { |
| 84 | - array_walk($options['data'], function (&$value, $key) { |
|
| 84 | + array_walk($options['data'], function(&$value, $key) { |
|
| 85 | 85 | $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"'; |
| 86 | 86 | }); |
| 87 | 87 | $attributes[] = implode(' ', $options['data']); |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $additionalAttributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true); |
| 82 | 82 | } |
| 83 | 83 | if (isset($options['data']) && is_array($options['data'])) { |
| 84 | - array_walk($options['data'], function (&$value, $key) { |
|
| 84 | + array_walk($options['data'], function(&$value, $key) { |
|
| 85 | 85 | $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"'; |
| 86 | 86 | }); |
| 87 | 87 | $additionalAttributes[] = implode(' ', $options['data']); |
@@ -81,7 +81,7 @@ |
||
| 81 | 81 | $attributes[] = GeneralUtility::implodeAttributes($options['additionalAttributes'], true, true); |
| 82 | 82 | } |
| 83 | 83 | if (isset($options['data']) && is_array($options['data'])) { |
| 84 | - array_walk($options['data'], function (&$value, $key) { |
|
| 84 | + array_walk($options['data'], function(&$value, $key) { |
|
| 85 | 85 | $value = 'data-' . htmlspecialchars($key) . '="' . htmlspecialchars($value) . '"'; |
| 86 | 86 | }); |
| 87 | 87 | $attributes[] = implode(' ', $options['data']); |
@@ -105,9 +105,9 @@ |
||
| 105 | 105 | |
| 106 | 106 | return !isset($result['maintained_until']) || |
| 107 | 107 | ( |
| 108 | - new \DateTimeImmutable($result['maintained_until']) >= |
|
| 109 | - new \DateTimeImmutable('now', new \DateTimeZone('UTC')) |
|
| 110 | - ); |
|
| 108 | + new \DateTimeImmutable($result['maintained_until']) >= |
|
| 109 | + new \DateTimeImmutable('now', new \DateTimeZone('UTC')) |
|
| 110 | + ); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | /** |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | |
| 4 | 4 | namespace TYPO3\CMS\Install\Service; |
| 5 | 5 | |
@@ -94,9 +94,9 @@ |
||
| 94 | 94 | if ($isComposerMode && !$isExtensionAvailable) { |
| 95 | 95 | $updateSuccessful = false; |
| 96 | 96 | $customMessage .= 'The extension ' . $extensionKey . ' can not be downloaded since ' . |
| 97 | - 'Composer is used for package management. Please require this ' . |
|
| 98 | - 'extension as package via Composer: ' . |
|
| 99 | - '"composer require ' . $extensionDetails['composerName'] . ':^' . $extensionDetails['versionString'] . '"'; |
|
| 97 | + 'Composer is used for package management. Please require this ' . |
|
| 98 | + 'extension as package via Composer: ' . |
|
| 99 | + '"composer require ' . $extensionDetails['composerName'] . ':^' . $extensionDetails['versionString'] . '"'; |
|
| 100 | 100 | } |
| 101 | 101 | |
| 102 | 102 | if ($updateSuccessful) { |
@@ -700,9 +700,9 @@ |
||
| 700 | 700 | $iconPath = PathUtility::stripPathSitePrefix($fullPath); |
| 701 | 701 | $this->iconFileNameCache[$imageType] = $imageInfo->getWidth() |
| 702 | 702 | ? '<img src="' . $iconPath |
| 703 | - . '" width="' . $imageInfo->getWidth() |
|
| 704 | - . '" height="' . $imageInfo->getHeight() |
|
| 705 | - . '" title="' . htmlspecialchars($alt) . '" alt="" />' |
|
| 703 | + . '" width="' . $imageInfo->getWidth() |
|
| 704 | + . '" height="' . $imageInfo->getHeight() |
|
| 705 | + . '" title="' . htmlspecialchars($alt) . '" alt="" />' |
|
| 706 | 706 | : ''; |
| 707 | 707 | } |
| 708 | 708 | } |
@@ -1,5 +1,5 @@ |
||
| 1 | 1 | <?php |
| 2 | -declare(strict_types = 1); |
|
| 2 | +declare(strict_types=1); |
|
| 3 | 3 | namespace TYPO3\CMS\SysNote\Domain\Repository; |
| 4 | 4 | |
| 5 | 5 | /* |