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

Missing namespace in function_exists call #6

Closed
khalyomede opened this issue Sep 27, 2020 · 0 comments
Closed

Missing namespace in function_exists call #6

khalyomede opened this issue Sep 27, 2020 · 0 comments
Assignees
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@khalyomede
Copy link
Contributor

Description

When the code loads functions, it should detect the existance of the function under the namespace instead of just the name of the function

Expected behavior

The call of function_exists() use the full qualified namespace.

namespace Folded;

if (!function_exists("Folded\theFunction")) {
  // load the function now
}

Actual behavior

Functions declared twice enters in collision.

Alternatives solutions

None.

@khalyomede khalyomede added bug Something isn't working good first issue Good for newcomers labels Sep 27, 2020
@khalyomede khalyomede self-assigned this Oct 1, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant