-
-
Notifications
You must be signed in to change notification settings - Fork 430
[DX] Make tracy debug functions part of dev-only, so developers can use own debug style #2848
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
5dac737 to
0adc728
Compare
| "Rector\\Utils\\": "utils" | ||
| }, | ||
| "files": [ | ||
| "src/functions/node_helper.php", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
src/functions can be removed from downgrade workflow
| - run: bin/rector process src/functions vendor/symfony/string/Resources/functions.php -c build/config/config-downgrade.php --ansi |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done in main 👍 Thanks 🙂
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
vendor/symfony/string/Resources/functions.php is needed to executed early
|
@TomasVotruba I think in our |
|
Yes, you can the tracy there if/when you need it. |
|
To avoid repetitive create a |
|
That could a way to go 👍 |
|
Ok, I create a repository for it https://github.com/rectorphp/rector-debugging |
|
I create init repo PR for it https://github.com/rectorphp/rector-debugging/pull/1 |

These functions should never be used as public API, as Tracy should not be enforced.
Each dev should is able to use their own functions and ways they're used to - Symfony debug, xdebug, Ray etc. 👍