This did break the use case of installing the `yiisoft/yii2-dev` package for testing. `yiisoft/yii2` is a subsplit with minimal number of files of the framework already, the dev package should contain all tests and docs.
See for example: tom--/yii2-dynamic-ar#18
Partially reverts 392ea93d79