WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Conversation

@hussainweb
Copy link

Overview

This pull request:

Q A
Bug fix? no
New feature? yes
Has tests? yes
BC breaks? no
Deprecations? no

Summary

This adds a new option to site aliases which lets users specify any command to wrap invoked processes (such as drush).

Description

More details in #52.

*/
public function check(SiteAliasInterface $siteAlias)
{
return $siteAlias->has('command');
Copy link
Member

Choose a reason for hiding this comment

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

This seems too generic

Copy link
Author

Choose a reason for hiding this comment

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

@greg-1-anderson, I agree. I hesitated to put it in but on thinking more, it started making sense as the functionality is really that generic. That said, I am open to alternatives.

@codecov
Copy link

codecov bot commented Mar 4, 2022

Codecov Report

Attention: Patch coverage is 70.00000% with 6 lines in your changes missing coverage. Please review.

Project coverage is 78.19%. Comparing base (59f391e) to head (1f29422).
Report is 18 commits behind head on main.

Files with missing lines Patch % Lines
src/Transport/CustomTransport.php 73.33% 4 Missing ⚠️
src/Factory/CustomTransportFactory.php 50.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main      #61      +/-   ##
============================================
- Coverage     78.41%   78.19%   -0.23%     
- Complexity      164      172       +8     
============================================
  Files            18       20       +2     
  Lines           417      431      +14     
============================================
+ Hits            327      337      +10     
- Misses           90       94       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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