Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
在中文语句本身就是对外文字符进行讲解的场景,有可能需要在转拼音后保留这些外文字符,如:
故需要增加可以保留任何外文字符的模式。
根据现有的程序结构来看,添加参数可能会导致程序结构较大的变化,故采取添加method的方式来实现。
提交的时候触发hook,虽然测试通过但提示phpunit.xml的格式过时,必须迁移至最新格式才允许提交,于是使用
./vendor/bin/phpunit --migrate-configuration
进行自动迁移。迁移后移除了三个过时的convert...ToExceptions的属性,请根据需要再寻找新的属性添加。