* For the full copyright and license information, please view the LICENSE
9
* file that was distributed with this source code.
10
*/
11
12
namespace Badcow\DNS\Rdata\DNSSEC;
13
14
class RRSIG extends \Badcow\DNS\Rdata\RRSIG
15
{
16
1
public function __construct()
17
{
18
1
@trigger_error('Classes in Badcow\\DNS\\Rdata\\DNSSEC namespace are deprecated. Use Classes in Badcow\\DNS\\Rdata namespace instead.', E_USER_DEPRECATED);
It seems like you do not handle an error condition here. This can introduce security issues, and is generally not recommended.
If you suppress an error, we recommend checking for the error condition explicitly:
// For example instead of@mkdir($dir);// Better useif(@mkdir($dir)===false){thrownew\RuntimeException('The directory '.$dir.' could not be created.');}
If you suppress an error, we recommend checking for the error condition explicitly: