Skip to content

Conversation

@prodigy7
Copy link

@prodigy7 prodigy7 commented May 23, 2017

See issue #191 points 1, 2 and 4 and note at end of issue

@codecov-io
Copy link

codecov-io commented May 25, 2017

Codecov Report

Merging #193 into master will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master     #193   +/-   ##
=========================================
  Coverage     79.07%   79.07%           
  Complexity      178      178           
=========================================
  Files             7        7           
  Lines           626      626           
=========================================
  Hits            495      495           
  Misses          131      131
Impacted Files Coverage Δ Complexity Δ
...rc/Mpociot/ApiDoc/Generators/AbstractGenerator.php 88.73% <100%> (ø) 85 <0> (ø) ⬇️

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 db46be8...6a3a9bb. Read the comment docs.

case 'in':
$attributeData['description'][] = Description::parse($rule)->with($this->fancyImplode($parameters, ', ', ' or '))->getDescription();
$attributeData['value'] = $faker->randomElement($parameters);
// $attributeData['value'] = $faker->randomElement($parameters);
Copy link
Contributor

@shalvah shalvah Sep 8, 2018

Choose a reason for hiding this comment

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

Hi @prodigy7 thanks for the PR. I'm not sure I understand why we're always choosing the first parameter. Maybe you should add a code comment for anyone who sees it in the future.

I get that we're using a default value, but what if the user doesn't want to use a default value? I'm thinking we can find another way of doing this. Maybe an annotation (// @apidocs default-value)

Also, please don't comment out old code. Delete it. Let Git do the tracking. 😀

Copy link
Contributor

Choose a reason for hiding this comment

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

I'm not very familiar with cURL, but the rest of the PR looks okay. So, if you attend to this, I can merge this PR. Also, can you update the documentation to mention the env variables it uses?

@shalvah
Copy link
Contributor

shalvah commented Sep 15, 2018

Looks like this is abandoned. Integrated the changes into #328

@shalvah shalvah closed this Sep 15, 2018
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