Completed
Push — master ( b8f636...d3827e )
by Freek
01:16
created

config/ohdear-webhooks.php (2 issues)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
return [
4
5
    /*
6
     * Oh dear will sign webhooks using a secret. You can find the secret used at the webhook
7
     * configuration settings: https://ohdearapp.com/xxxxxx
8
     */
9
    'signing_secret' => '',
10
11
    /*
12
     * Here you can define the job that should be run when a certain webhook hits your .
13
     * application. The key is name of stripe event type with the `.` replace by `.`
14
     *
15
     * You can find a list of Oh dear webhook type here:
16
     * https://ohdearapp.com/xxxxxx
17
     */
18
    'jobs' => [
19
        // 'source_chargeable' => \App\Jobs\LaravelWebhooks\HandleChargeableSource::class,
0 ignored issues
show
Unused Code Comprehensibility introduced by
45% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
20
        // 'charge_failed' => \App\Jobs\LaravelWebhooks\HandleFailedCharge::class,
0 ignored issues
show
Unused Code Comprehensibility introduced by
45% of this comment could be valid code. Did you maybe forget this after debugging?

Sometimes obsolete code just ends up commented out instead of removed. In this case it is better to remove the code once you have checked you do not need it.

The code might also have been commented out for debugging purposes. In this case it is vital that someone uncomments it again or your project may behave in very unexpected ways in production.

This check looks for comments that seem to be mostly valid code and reports them.

Loading history...
21
    ],
22
];
23