think icon indicating copy to clipboard operation
think copied to clipboard

extend 目录为何不遵守 PSR-4 协议,反而是 PSR-0

Open browningweb opened this issue 6 years ago • 0 comments

https://github.com/top-think/think/blob/a55f16512187a63455cd5d5d17bdb77c7e454905/composer.json#L36

用 thrift 生成的类有下划线,如果是 PSR-0 协议的话,会遵守 在类名中,每个下划线(_)符号要转换成DIRECTORY_SEPARATOR(操作系统路径分隔符)。,会出现 Class not found错误,而在PSR-4中已经废除了。

browningweb avatar Feb 10 '20 12:02 browningweb