Skip to content

If available, GearmanParser should use the getProjectDir() method - #208

Open
interso wants to merge 1 commit into
mmoreram:masterfrom
interso:use_project_dir
Open

If available, GearmanParser should use the getProjectDir() method#208
interso wants to merge 1 commit into
mmoreram:masterfrom
interso:use_project_dir

Conversation

@interso

@interso interso commented May 3, 2025

Copy link
Copy Markdown

Issue Encountered
I'm using Symfony 4.4 and mmoreram/gearman-bundle (5.1.1).
In my project, Kernel.php is not located in the default /src folder.
However, GearmanParser determines its rootDir based on the assumed location of Kernel.php, which is incorrect in my case.

Proposed Solution
If available, GearmanParser should use the getProjectDir() method from Kernel to set its rootDir instead of relying on hardcoded paths.

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 this pull request may close these issues.

1 participant