/** * @test * @return void * @since 2.0.1 */ public function test_namespaced_compact_function_rule_works_case_insensitive() { $rule = new UnusedFormalParameter(); $rule->setReport($this->getReportMock(0)); $rule->apply($this->getMethod()); }
/** * testFormalParameterUsedInDoubleQuoteStringGetsNotReported * * @return void */ public function testFormalParameterUsedInDoubleQuoteStringGetsNotReported() { $rule = new UnusedFormalParameter(); $rule->setReport($this->getReportMock(0)); $rule->apply($this->getMethod()); }