0
代码介绍
代码
Issues
Pull Requests
流水线
Actions
讨论
Wiki
项目成员
分析
项目设置
0
  1. PocketMine-MP
  2. /
  3. src
  4. /
  5. data
  6. /
  7. java
DDylan K. Taylordata: Use statically analyzable ways of ensuring all cases are registered
57f3a04b创建于 2023年12月21日历史提交
文件最后提交记录最后更新时间
GameModeIdMap.php
data: Use statically analyzable ways of ensuring all cases are registered PHPStan will verify that these matches cover all cases, which guarantees that all cases will be covered. In addition, if PHPStan is not used, the constructors will immediately bail out when they hit a case that isn't covered. The only downside is the extra indentation :( 2 年前