Skip to content
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

PHP Warning: Undefined array key "internal_tag" #1418

Closed
rmikalkenas opened this issue May 27, 2024 · 5 comments
Closed

PHP Warning: Undefined array key "internal_tag" #1418

rmikalkenas opened this issue May 27, 2024 · 5 comments
Labels

Comments

@rmikalkenas
Copy link

After the upgrade to v2, analysis outputs error:

PHP Warning:  Undefined array key "internal_tag" in /var/www/platform/vendor/qossmic/deptrac/src/Core/Analyser/EventHandler/DependsOnInternalToken.php on line 22

PHP: 8.3.7
Deleting cache file does not help

@gennadigennadigennadi
Copy link
Member

Could you provide a reproducer?

@rmikalkenas
Copy link
Author

Seems that the issue was with the root yaml key. I used parameters, once changed to deptrack error disappeared.

Before:
image

After (working without errors):
image

@gennadigennadigennadi I'm closing the issue as it's solved 👍

@gennadigennadigennadi
Copy link
Member

Nice to see someone using Deptrac for so long 😅.

@NoiseByNorthwest
Copy link

Seems that the issue was with the root yaml key. I used parameters, once changed to deptrack error disappeared.

Yes, but deptrac instead of deptrack will work better

@gennadigennadigennadi
Copy link
Member

“Deptrack” was properly a typo. In the screenshot it’s spelled correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants