Skip to content

Conversation

@nickvergessen
Copy link
Member

To avoid the "Can not load file ..../definitions.json" we see on drone from time to time.

cc @MorrisJobke @rullzer @LukasReschke

@mention-bot
Copy link

@nickvergessen, thanks for your PR! By analyzing the history of the files in this pull request, we identified @icewind1991, @LukasReschke and @rullzer to be potential reviewers.

@rullzer
Copy link
Member

rullzer commented Nov 8, 2016

Fine by me. LGTM

@rullzer
Copy link
Member

rullzer commented Nov 8, 2016

Ah conflicts!!!!

@nickvergessen
Copy link
Member Author

Yeah share by mail was merged, all okay will update tomorrow

Signed-off-by: Joas Schilling <coding@schilljs.com>
@nickvergessen nickvergessen force-pushed the ros-definitions-as-php-class branch from 9755186 to 706b5c3 Compare November 9, 2016 07:52
@nickvergessen
Copy link
Member Author

Rebased

@codecov-io
Copy link

codecov-io commented Nov 9, 2016

Current coverage is 57.77% (diff: 100%)

Merging #2052 into master will increase coverage by <.01%

@@             master      #2052   diff @@
==========================================
  Files          1096       1097     +1   
  Lines         62915      62923     +8   
  Methods        7015       7016     +1   
  Messages          0          0          
  Branches          0          0          
==========================================
+ Hits          36344      36352     +8   
  Misses        26571      26571          
  Partials          0          0          
Diff Coverage File Path
•••••••••• 100% lib/private/Server.php
•••••••••• 100% lib/private/RichObjectStrings/Validator.php
•••••••••• 100% lib/private/Notification/Manager.php
•••••••••• 100% new lib/public/RichObjectStrings/Definitions.php

Powered by Codecov. Last update 05cf1da...9305094

Signed-off-by: Joas Schilling <coding@schilljs.com>
Copy link
Member

@LukasReschke LukasReschke left a comment

Choose a reason for hiding this comment

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

Looks awesome! Two nitpicks, will just adjust them myself and push to this branch :)

🚀 👍

* @return string[]
*/
protected function getRequiredParameters($type) {
protected function getRequiredParameters($type, $definition) {
Copy link
Member

Choose a reason for hiding this comment

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

array $definition here? :)

return $this->definitions[$type];
}

throw new InvalidObjectExeption('Object type is undefined');
Copy link
Member

Choose a reason for hiding this comment

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

Missing test. Will add myself :)

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
@LukasReschke
Copy link
Member

LGTM

@nickvergessen
Copy link
Member Author

👍 for lukas commit

@MorrisJobke
Copy link
Member

👍

@MorrisJobke MorrisJobke merged commit eadccc2 into master Nov 9, 2016
@MorrisJobke MorrisJobke deleted the ros-definitions-as-php-class branch November 9, 2016 12:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants