for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright (c) 2017 - present
* LaravelGoogleRecaptcha - TestCase.php
* author: Roberto Belotti - [email protected]
* web : robertobelotti.com, github.com/biscolab
* Initial version created on: 12/9/2018
* MIT license: https://github.com/biscolab/laravel-recaptcha/blob/master/LICENSE
*/
namespace Biscolab\ReCaptcha\Tests;
use Biscolab\ReCaptcha\Facades\ReCaptcha;
use Biscolab\ReCaptcha\ReCaptchaServiceProvider;
use Orchestra\Testbench\TestCase as OrchestraTestCase;
* Class TestCase
* @package Biscolab\ReCaptcha\Tests
class TestCase extends OrchestraTestCase
{
* Load package alias
*
* @param \Illuminate\Foundation\Application $app
* @return array
protected function getPackageAliases($app)
$app
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
protected function getPackageAliases(/** @scrutinizer ignore-unused */ $app)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
return [
'ReCaptcha' => ReCaptcha::class,
];
}
* Load package service provider
protected function getPackageProviders($app)
protected function getPackageProviders(/** @scrutinizer ignore-unused */ $app)
return [ReCaptchaServiceProvider::class];
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.