This repository has been archived by the owner on Jan 31, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Simplify SecurityAdvisory, do not expect or use passed-in instance of…
… checker as it accomplishes nothing, fix CS.
- Loading branch information
1 parent
4d80b70
commit 333196a
Showing
3 changed files
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
tests/ZendDiagnosticsTest/TestAsset/Check/SecurityAdvisory.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<?php | ||
|
||
namespace ZendDiagnosticsTest\TestAsset\Check; | ||
|
||
use SensioLabs\Security\SecurityChecker; | ||
use ZendDiagnostics\Check\SecurityAdvisory as BaseCheck; | ||
|
||
class SecurityAdvisory extends BaseCheck | ||
{ | ||
/** | ||
* @param SecurityChecker $securityChecker | ||
*/ | ||
public function setSecurityChecker(SecurityChecker $securityChecker) | ||
{ | ||
$this->securityChecker = $securityChecker; | ||
} | ||
} |