okta / okta-sdk-php

PHP SDK for the Okta API
Apache License 2.0
38 stars 71 forks source link

:bug: include `use` statements in generated resources #5

Closed bretterer closed 7 years ago

bretterer commented 7 years ago

This adds logic to include the required use statements in the php classes

resolves #2

bretterer commented 7 years ago

Codecov Report

Merging #5 into develop will increase coverage by 0.11%. The diff coverage is 0.61%.

Impacted file tree graph

@@              Coverage Diff              @@
##             develop       #5      +/-   ##
=============================================
+ Coverage      15.76%   15.87%   +0.11%     
+ Complexity       349      348       -1     
=============================================
  Files             47       47              
  Lines            996      989       -7     
=============================================
  Hits             157      157              
+ Misses           839      832       -7
Impacted Files Coverage Δ Complexity Δ
src/Apps/PublicAppInstanceLicensing.php 0% <0%> (ø) 1 <1> (ø) :arrow_down:
src/DataStore/DefaultDataStore.php 18.08% <0%> (+0.55%) 31 <2> (-1) :arrow_down:
src/Shared/GroupMembershipMediationConditions.php 0% <0%> (ø) 8 <4> (?)
src/Shared/GroupMembershipMediationRule.php 0% <0%> (ø) 10 <8> (?)
src/Apps/PublicAppInstanceVisibilityHide.php 0% <0%> (ø) 2 <2> (ø) :arrow_down:
src/Shared/AssignUserToGroupsMediationAction.php 0% <0%> (ø) 1 <1> (?)
src/Groups/UserGroup.php 0% <0%> (ø) 11 <7> (ø) :arrow_down:
...blicAppInstanceSettingsNotificationsVpnNetwork.php 0% <0%> (ø) 3 <3> (ø) :arrow_down:
src/Users/RecoveryQuestionCredential.php 0% <0%> (ø) 1 <1> (ø) :arrow_down:
src/Shared/FactorDevice.php 0% <0%> (ø) 4 <3> (?)
... and 29 more

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 ac338b9...d97202c. Read the comment docs.