用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/tools-only/X-Skills --skill typo3-core-contributions-php84命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Index of Build Systems Skills
Coordination patterns for distributed dataflow systems including barriers, epochs, and distributed snapshots
Windowing, sessionization, time-series aggregation, and late data handling for streaming systems
基于 SOC 职业分类
正在显示 SKILL.md
| name | typo3-core-contributions-php84 |
| description | PHP 8.4 patterns for TYPO3 Core contributions. Using new language features in Core patches. |
| version | 1.0.0 |
| php_compatibility | 8.4+ |
| typo3_compatibility | 13.0 - 14.x |
| related_skills | ["typo3-core-contributions","php-modernization"] |
| triggers | ["core php 8.4","contribute php84"] |
Compatibility: PHP 8.4+, TYPO3 v13.x and v14.x
Related Skills:
- typo3-core-contributions - Main contributions guide
- php-modernization/SKILL-PHP84 - PHP 8.4 features
TYPO3 v14 requires PHP 8.3+ and fully supports PHP 8.4 features.
| Feature | Core Usage |
|---|---|
| Property hooks | For value objects and DTOs |
| Asymmetric visibility | For immutable services |
| New array functions | For collection operations |
#[\Deprecated] | For deprecating Core methods |
<?php
declare(strict_types=1);
namespace TYPO3\CMS\Core\Configuration;
final class SiteConfiguration
{
public string $identifier {
set (string $value) {
if (!preg_match('/^[a-z][a-z0-9_-]*$/', $value)) {
throw new \InvalidArgumentException(
'Site identifier must be lowercase alphanumeric',
1234567890
);
}
$this->identifier = $value;
}
}
}
<?php
declare(strict_types=1);
namespace TYPO3\CMS\Core\Utility;
final class GeneralUtility
{
#[\Deprecated(
message: 'Use native array_find() instead',
since: 'TYPO3 14.0'
)]
public static function arrayFind(array $array, callable $callback): mixed
{
trigger_error(
'GeneralUtility::arrayFind() is deprecated. Use array_find().',
E_USER_DEPRECATED
);
return array_find($array, $callback);
}
}
[TASK] Use PHP 8.4 array_find() in ContentRepository
Replace manual loop with native array_find() function
introduced in PHP 8.4.
Resolves: #12345
Releases: main
# Run Core tests with PHP 8.4
Build/Scripts/runTests.sh -p 8.4 -s functional
# Check for deprecations
Build/Scripts/runTests.sh -s checkDeprecations
This skill is part of the webconsulting.at TYPO3 skills collection.