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 build command #13

Merged
merged 1 commit into from
Mar 21, 2020
Merged

Fix build command #13

merged 1 commit into from
Mar 21, 2020

Conversation

M165437
Copy link
Collaborator

@M165437 M165437 commented Mar 21, 2020

Moin Hendrik,

we need to update the build command to use the static factory method Process::fromShellCommandline. In symfony/process v4 the process constructor deprecated strings as commands and v5 doesn't support it at all anymore. This means removing support for v2 and v3 since fromShellCommandline wasn't available back then. OK with that?

Note: composer install in this package will load symfony/process v4 because consolidation/robo isn't compatible with v5.

Cheers!

@codecov-io
Copy link

Codecov Report

Merging #13 into master will not change coverage by %.
The diff coverage is 100.00%.

Impacted file tree graph

@@             Coverage Diff             @@
##              master       #13   +/-   ##
===========================================
  Coverage     100.00%   100.00%           
  Complexity        26        26           
===========================================
  Files              1         1           
  Lines             70        70           
===========================================
  Hits              70        70           
Impacted Files Coverage Δ Complexity Δ
src/Drafter.php 100.00% <100.00%> (ø) 26.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 7b9071d...dd1f168. Read the comment docs.

Copy link
Owner

@hendrikmaus hendrikmaus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for looking into it 👍

@M165437 M165437 merged commit b782456 into hendrikmaus:master Mar 21, 2020
@M165437 M165437 deleted the fix-build-command branch March 22, 2020 19:25
@hendrikmaus
Copy link
Owner

BTW @M165437 feel free to remove the robo lib and its file whenever it gets in the way; I do not think it provides any value.

eugenefvdm added a commit to eugenefvdm/artisan-tool that referenced this pull request Jun 18, 2020
Symfony 4 deprecated  strings as commands. See here: hendrikmaus/drafter-php#13
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.

3 participants