for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
class ClientTestCest
{
public function _before(UnitTester $I)
$I
If this is a false-positive, you can also ignore this issue in your code via the ignore-unused annotation
ignore-unused
public function _before(/** @scrutinizer ignore-unused */ UnitTester $I)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.
}
public function _after(UnitTester $I)
public function _after(/** @scrutinizer ignore-unused */ UnitTester $I)
// tests
public function tryToTest(UnitTester $I)
public function tryToTest(/** @scrutinizer ignore-unused */ UnitTester $I)
This check looks for parameters that have been defined for a function or method, but which are not used in the method body.