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

Annotation/ORMSubscribedEvents.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\Annotation;
13
14
@trigger_error(sprintf('The "%s" annotation is deprecated since version 1.4.10. Use "%s" instead.', ORMSubscribedEvents::class, SubscribeDoctrineEvents::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...
15
16
/**
17
 * Annotation for ORM Subscribed Event.
18
 *
19
 * @Annotation
20
 * @Target({"CLASS"})
21
 *
22
 * @author Roni Saha <[email protected]>
23
 *
24
 * @deprecated since version 1.4.10
25
 */
26
final class ORMSubscribedEvents extends SubscribeDoctrineEvents
27
{
28
}
29