v1.1.2
修复
ConfigFileGenerator::formatMatchArray与formatLevelEntry对match.prefix/match.middleware及 level 级endpoint_middleware统一(array)归一:传单值字符串(如'prefix' => 'admin')时,保存生成config/forge.php不再在exportInlineArray(array)的类型声明上抛TypeError,落盘规范化为单元素数组字面量,语义与TierResolver::matchConfig(1.1.1)对齐。此前手写配置的字符串写法能被读取、却无法经管理器保存回写,属两侧不对称。
测试
- 新增
ConfigFileGeneratorTest:单值 string 与数组写法逐条生成等价(prefix / middleware / level endpoint_middleware)+ 空值边界回归;全量 78 tests / 201 assertions 通过。
版本
纯缺陷修复,无 API / 载荷形状变化,schemeVersion 保持 1。