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

Convert temporarily ignored to file based triggerIfNotCalledFromWithinPackage #20

Closed
beberlei opened this issue Mar 11, 2021 · 0 comments · Fixed by #21
Closed

Convert temporarily ignored to file based triggerIfNotCalledFromWithinPackage #20

beberlei opened this issue Mar 11, 2021 · 0 comments · Fixed by #21
Assignees

Comments

@beberlei
Copy link
Member

We pass the package name, so we can use that for testing for vendor/{$packageName} in the caller. If that matches, the deprecation should be suppressed.

This would avoid having to first ignore then trigger a deprecation, which might look weird.

This will replace and remove #18 (proposed in #16)

@beberlei beberlei self-assigned this Mar 11, 2021
beberlei added a commit that referenced this issue Mar 11, 2021
beberlei added a commit that referenced this issue Mar 11, 2021
beberlei added a commit that referenced this issue Mar 11, 2021
beberlei added a commit that referenced this issue Mar 11, 2021
beberlei added a commit that referenced this issue Mar 13, 2021
beberlei added a commit that referenced this issue Mar 13, 2021
[GH-20] Fix tests condition for detecting outside/inside code and imp…
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant