You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@trigger_error('The nullable keyword has been removed from the Schema Object (null can be used as a type value). This behaviour will not be possible anymore in API Platform 3.0.', \E_USER_DEPRECATED);
* For the full copyright and license information, please view the LICENSE
9
+
* file that was distributed with this source code.
10
+
*/
11
+
12
+
declare(strict_types=1);
13
+
14
+
namespaceApiPlatform\Core\Tests\OpenApi\Model;
15
+
16
+
useApiPlatform\Core\OpenApi\Model\Schema;
17
+
usePHPUnit\Framework\TestCase;
18
+
useSymfony\Bridge\PhpUnit\ExpectDeprecationTrait;
19
+
20
+
class SchemaTest extends TestCase
21
+
{
22
+
use ExpectDeprecationTrait;
23
+
24
+
/**
25
+
* @group legacy
26
+
*/
27
+
publicfunctiontestLegacySchema()
28
+
{
29
+
$this->expectDeprecation('The nullable keyword has been removed from the Schema Object (null can be used as a type value). This behaviour will not be possible anymore in API Platform 3.0.');
0 commit comments