Skip to content

Handling merging formats arrays #111

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

Merged
merged 1 commit into from
Jan 2, 2017

Conversation

bigfoot90
Copy link
Contributor

Currently if you want to change a format you have to pass a complete formats array in the options.
By this PR you can now pass a partial array of formats, eg.:

  • change only (one or many) formats identified by a specific type or flag
  • override only html or ony cli or only function of selected formats

Written tests to prevent downgrading

@codecov-io
Copy link

codecov-io commented Dec 30, 2016

Current coverage is 99.70% (diff: 98.91%)

Merging #111 into master will decrease coverage by 0.02%

@@             master       #111   diff @@
==========================================
  Files            53         53          
  Lines          3738       3776    +38   
  Methods         180        184     +4   
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits           3728       3765    +37   
- Misses           10         11     +1   
  Partials          0          0          

Powered by Codecov. Last update f3c5add...88baea9

@bigfoot90 bigfoot90 force-pushed the formats-merging branch 3 times, most recently from 0d11dc4 to bec3463 Compare December 30, 2016 05:40
@bigfoot90
Copy link
Contributor Author

What are the failing tests?

@nijel nijel self-assigned this Jan 2, 2017
@nijel nijel merged commit f7e232d into phpmyadmin:master Jan 2, 2017
@nijel
Copy link
Contributor

nijel commented Jan 2, 2017

Merged, thanks for your contribution!

PS: The checks on coverage and code quality are there to help us spot problematic code, in your case it was rather caused by bug in PHP coverage...

@bigfoot90 bigfoot90 deleted the formats-merging branch January 3, 2017 00:31
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