Ignore some runtime-specified code

This commit is contained in:
Pig Fang 2019-04-07 22:42:51 +08:00
parent fee7ad7b53
commit 2cd3e47606

View File

@ -40,6 +40,7 @@ class AppServiceProvider extends ServiceProvider
$event->addContent('<script>var blessing = '.json_encode($blessing).';</script>'); $event->addContent('<script>var blessing = '.json_encode($blessing).';</script>');
}); });
// @codeCoverageIgnoreStart
try { try {
$this->app->make('cipher'); $this->app->make('cipher');
} catch (ReflectionException $e) { } catch (ReflectionException $e) {
@ -54,6 +55,7 @@ class AppServiceProvider extends ServiceProvider
} catch (\Exception $e) { } catch (\Exception $e) {
// //
} }
// @codeCoverageIgnoreEnd
} }
/** /**