不久前,我使用php-cs-fixer成功地配置了Atom来美化我的PHP,但现在我需要在另一台Mac上经历同样的过程,并且记不清我是如何做到的。作为一名前端开发人员,我不是PHP专家,但我知道Atom插件只是使用php-cs-fixer进行实际修复的中间人,默认情况下,它无法访问它。安装修复程序后,我必须将其位置添加到我的PATH变量中。Your program is properly installed if running 'which php-cs-fixer' in your Terminal returns
我错误地将DocBlock注释添加到我的文件中: * @author My Name <my@email.com> * @license Some notes about the license.但这是错误的,因为我想要像这样设置标题注释: * This file is part of the My App. * Copyright My Name 2012-2016. * Th