File: UnserializeWithDeprecationObject.php

package info (click to toggle)
php-doctrine-dbal 3.6.1%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,500 kB
  • sloc: php: 54,704; xml: 485; makefile: 42; sh: 24
file content (15 lines) | stat: -rw-r--r-- 272 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php

namespace Doctrine\DBAL\Tests\Types\Fixtures;

use function trigger_error;

use const E_USER_DEPRECATED;

class UnserializeWithDeprecationObject
{
    public function __wakeup(): void
    {
        trigger_error('Deprecation triggered', E_USER_DEPRECATED);
    }
}