Skip to content

Respect --no-plugins and --no-scripts option value follow up#1184

Merged
localheinz merged 1 commit into
ergebnis:mainfrom
mxr576:patch-2
Oct 9, 2023
Merged

Respect --no-plugins and --no-scripts option value follow up#1184
localheinz merged 1 commit into
ergebnis:mainfrom
mxr576:patch-2

Conversation

@mxr576

@mxr576 mxr576 commented Oct 6, 2023

Copy link
Copy Markdown
Contributor

This pull request if a follow up on #1141 where it seems I have made a mistake 🤦‍♂️ I did not realize that these are option flags therefore their value does not matter... I have just 'blindly" adjusted the original code, run some tests and it seems the fix is working... well, it does not because Composer internally only checks whether these flags are set or not and not their value.

Follows #1141.
Fixes #1130.

@codecov

codecov Bot commented Oct 6, 2023

Copy link
Copy Markdown

Codecov Report

Merging #1184 (02fb80c) into main (59ffb86) will not change coverage.
The diff coverage is 40.00%.

@@            Coverage Diff            @@
##               main    #1184   +/-   ##
=========================================
  Coverage     86.55%   86.55%           
- Complexity       58       60    +2     
=========================================
  Files             4        4           
  Lines           372      372           
=========================================
  Hits            322      322           
  Misses           50       50           
Files Coverage Δ
src/Command/NormalizeCommand.php 89.66% <40.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

@localheinz localheinz changed the title Respect --no-plugins and --no-scripts option value follow up Respect --no-plugins and --no-scripts option value follow up Oct 9, 2023
@localheinz localheinz self-assigned this Oct 9, 2023
@localheinz localheinz added the bug label Oct 9, 2023
@localheinz localheinz force-pushed the patch-2 branch 2 times, most recently from 7d09b0b to c01ddd4 Compare October 9, 2023 08:21
@localheinz localheinz merged commit 9cd5346 into ergebnis:main Oct 9, 2023
@localheinz

Copy link
Copy Markdown
Member

Thank you, @mxr576!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants