Passed
Pull Request — master (#54)
by Rafael
06:19
created

2,192 +1046 Covered Lines

3,180 -432 Total Lines

68.9 % +37.2% Code Coverage

PHP Classes Changes

 
39.71%
StripeWebhookHandlersTrait added
0%
100%
UserRoles improved
0%
100%
Languages improved
0%
100%
TimeZonesController improved
0%
100%
RolesController improved
0%
100%
LanguagesController improved
0%
100%
AppsPlansSettings improved
0%
100%
CompaniesCustomFields improved
0%
100%
UsersInvite improved
0%
100%
Locales improved
0%
100%
PermissionsResourcesController improved
view more  
0%
 
EmailTrait removed

CRAP Changes

 
12
StripeWebhookHandlersTrait::handleCustomerSubscrip... added
 
12
StripeWebhookHandlersTrait::handleCustomerDeleted(... added
 
6
StripeWebhookHandlersTrait::handleCustomerSourceDe... added
 
6
StripeWebhookHandlersTrait::handleCustomerUpdated(... added
 
6
StripeWebhookHandlersTrait::handleCustomerSubscrip... added
 
4.1574
StripeWebhookHandlersTrait::handleWebhook() added
 
2.032
StripeWebhookHandlersTrait::handleCustomerSubscrip... added
 
2.032
StripeWebhookHandlersTrait::handleChargeSucceeded(... added
 
2.032
StripeWebhookHandlersTrait::handleChargePending() added
 
2.032
StripeWebhookHandlersTrait::handleChargeFailed() added
view more  
3.0261
3
Users::beforeCreate() improved
3.0327
3.004
AbstractCustomFieldsModel::getAllCustomFields() improved
4.25
4.0312
Manager::allowOrDeny() improved
2.3149
2.0116
Subscription::getActiveForThisApp() improved
8.5521
8.0691
Companies::afterCreate() improved
2.686
2.0438
FileSystemProvider::register() improved
2.7462
2.0014
Companies::startFreeTrial() improved
2
1
UserRoles::initialize() improved
2
1
UserRoles::getSource() improved
2
1
Languages::getSource() improved
view more  
30
 
PaymentsController::handleWebhook() removed
12
 
PaymentsController::handleCustomerSubscriptionTria... removed
12
 
PaymentsController::handleCustomerSubscriptionDele... removed
12
 
PaymentsController::handleChargeFailed() removed
12
 
PaymentsController::handleChargePending() removed
12
 
PaymentsController::handleCustomerSubscriptionUpda... removed
12
 
PaymentsController::handleCustomerDeleted() removed
12
 
PaymentsController::handleChargeSucceeded() removed
6
 
PaymentsController::handleCustomerSourceDeleted() removed
6
 
PaymentsController::handleCustomerUpdated() removed
view more