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

Fix failing example custom job. #3050

Merged
merged 2 commits into from
Nov 4, 2020
Merged

Fix failing example custom job. #3050

merged 2 commits into from
Nov 4, 2020

Conversation

ViliusS
Copy link
Contributor

@ViliusS ViliusS commented Oct 24, 2020

Since Symfony 4.2 passing chained shell commands to the Process component is not supported anymore and a working directory needs to be set by passing it as a completely separate parameter.

Unless somebody finds a way to use Process() for this and fixes it in the code, rework example custom job.

Related info: https://symfony.com/blog/new-in-symfony-4-2-important-deprecations#deprecated-process-commands-as-strings

…nent is not supported anymore and a working directory needs to be set by passing it as a completely separate parameter.

Unless somebody finds a way to use Process() for this and fixes it in the code, rework example custom job.

Related info: https://symfony.com/blog/new-in-symfony-4-2-important-deprecations#deprecated-process-commands-as-strings
@ViliusS
Copy link
Contributor Author

ViliusS commented Nov 4, 2020

Did anyone had time to look into this?

@rhukster rhukster merged commit 54dccd1 into getgrav:develop Nov 4, 2020
@rhukster
Copy link
Member

rhukster commented Nov 4, 2020

Also merged.. thanks!

mahagr pushed a commit that referenced this pull request Nov 17, 2020
* Since Symfony 4.2 passing chained shell commands to the Process component is not supported anymore and a working directory needs to be set by passing it as a completely separate parameter.

Unless somebody finds a way to use Process() for this and fixes it in the code, rework example custom job.

Related info: https://symfony.com/blog/new-in-symfony-4-2-important-deprecations#deprecated-process-commands-as-strings

* One more place to fix Symfony 4.2 compatibility.
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.

2 participants