Completed
Push — master ( e75413...39c194 )
by Roni
14:44 queued 13:17
created

Entity/BaseAuditLog.php (1 issue)

Upgrade to new PHP Analysis Engine

These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more

1
<?php
2
3
/*
4
 * This file is part of the XiideaEasyAuditBundle package.
5
 *
6
 * (c) Xiidea <http://www.xiidea.net>
7
 *
8
 * This source file is subject to the MIT license that is bundled
9
 * with this source code in the file LICENSE.
10
 */
11
12
namespace Xiidea\EasyAuditBundle\Entity;
13
14
use Xiidea\EasyAuditBundle\Model\BaseAuditLog as BaseClass;
15
16
@trigger_error(sprintf('The "%s" is deprecated since XiideaEasyAuditBundle 1.4.10. Use "%s" instead.', BaseAuditLog::class, BaseClass::class), E_USER_DEPRECATED);
0 ignored issues
show
Security Best Practice introduced by
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 use
if (@mkdir($dir) === false) {
    throw new \RuntimeException('The directory '.$dir.' could not be created.');
}
Loading history...
17
18
/**
19
 * Class BaseAuditLog.
20
 *
21
 * @deprecated since 1.4.10
22
 */
23
class BaseAuditLog extends BaseClass
24
{
25
}
26