Ilyas Salikhov b603381139 1. Up min PHP version to 8.1
2. Up min Symfony verion to 5.0. Adopt code to sf 5.0+
3. Local env to run tests
4. Repare tests
2024-06-18 12:24:32 +03:00

68 lines
1.1 KiB
PHP

<?php
/*
* This file is part of the NelmioApiDocBundle.
*
* (c) Nelmio <hello@nelm.io>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Nelmio\ApiDocBundle\Tests\Fixtures\Model;
use JMS\Serializer\Annotation as JMS;
class JmsNested
{
/**
* @JMS\Type("DateTime");
* @JMS\ReadOnlyProperty
*/
public $foo;
/**
* @JMS\Type("string");
*/
public $bar = 'baz';
/**
* Epic description.
*
* With multiple lines.
*
* @JMS\Type("array<integer>")
*/
public $baz;
/**
* @JMS\Type("Nelmio\ApiDocBundle\Tests\Fixtures\Model\JmsNested");
*/
public $circular;
/**
* @JMS\Type("Nelmio\ApiDocBundle\Tests\Fixtures\Model\JmsTest");
*/
public $parent;
/**
* @Jms\Type("string")
* @Jms\Since("0.2")
*/
public $since;
/**
* @Jms\Type("string")
* @Jms\Until("0.3")
*/
public $until;
/**
* @Jms\Type("string")
* @Jms\Since("0.4")
* @Jms\Until("0.5")
*/
public $sinceAndUntil;
}