Closed chuhta closed 6 years ago
Please follow the issue template provided. More specifically, update the original comment for this issue by adding a link to the required debug.md gist which includes debugging information that answers our most commonly asked questions. Thank you.
I fixed the issue, but the label doesn't appear to be getting removed by the bot.
This issue has been automatically closed because there has been no response to our request for more information from the original author. With only the information that is currently in the issue, we don't have enough information to take action. Please reach out if you have or find the answers we need so that we can investigate further.
Description
PHPCBF does not work with relative paths in the ruleset.xml file. It seems like from the debugging I have done that the PHPCBF process is being run from the package folder instead of from the project folder, meaning that relative paths in the ruleset break.
Input Before Beautification
This is what the ruleset looks like:
Expected Output
The code should be beautified with no errors in the console.
Actual Output
console.log
instead ofconsole.error
so it doesn't stand out.Steps to Reproduce
Atom Beautify: Beautify Language Php
.Debug
Making the following changes to these files resolved the problem of the package not running.
src/beautifiers/phpcbf.coffee
src/beautifiers/beautifier.coffee
src/logger.coffee
No changes actually made in this file, but it appears interactions with it are not as would be expected. The error mentioned above does not appear until I turn the logging up to at least "debug", even though it is clearly an error that is blocking atom-beautifier from working.
Checklist
I have:
Atom Beautify: Help Debug Editor
command in Atom and added link fordebug.md
Gist to this issue