Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ before_install:

install:
- if [[ $coverage = 1 ]]; then composer require --dev --no-update 'phpunit/php-code-coverage:^5.3'; fi
- if [[ ! $deps ]]; then composer update --prefer-dist --no-progress --no-suggest --ansi; fi
- if [[ ! $deps ]]; then composer install --prefer-dist --no-progress --no-suggest --ansi; fi
- if [[ $deps = 'low' ]]; then composer update --prefer-dist --no-progress --no-suggest --prefer-stable --prefer-lowest --ansi; fi

script:
Expand Down
18 changes: 9 additions & 9 deletions tests/e2e/src/AppBundle/Entity/Person.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,31 +31,31 @@ class Person
/**
* @var string|null Family name. In the U.S., the last name of an Person. This can be used along with givenName instead of the name property.
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/familyName")
*/
private $familyName;

/**
* @var string|null Given name. In the U.S., the first name of a Person. This can be used along with familyName instead of the name property.
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/givenName")
*/
private $givenName;

/**
* @var string|null an additional name for a Person, can be used for a middle name
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/additionalName")
*/
private $additionalName;

/**
* @var string|null Gender of the person. While http://schema.org/Male and http://schema.org/Female may be used, text strings are also acceptable for people who do not identify as a binary gender.
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/gender")
*/
private $gender;
Expand All @@ -71,7 +71,7 @@ class Person
/**
* @var \DateTimeInterface|null date of birth
*
* @ORM\Column(type="date", nullable=true)
* @ORM\Column(type="date",nullable=true)
* @ApiProperty(iri="http://schema.org/birthDate")
* @Assert\Date
*/
Expand All @@ -80,15 +80,15 @@ class Person
/**
* @var string|null the telephone number
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/telephone")
*/
private $telephone;

/**
* @var string|null email address
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/email")
* @Assert\Email
*/
Expand All @@ -97,7 +97,7 @@ class Person
/**
* @var string|null URL of the item
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/url")
* @Assert\Url
*/
Expand All @@ -106,7 +106,7 @@ class Person
/**
* @var string|null the job title of the person (for example, Financial Manager)
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/jobTitle")
*/
private $jobTitle;
Expand Down
12 changes: 6 additions & 6 deletions tests/e2e/src/AppBundle/Entity/PostalAddress.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,47 +30,47 @@ class PostalAddress
/**
* @var string|null The country. For example, USA. You can also provide the two-letter \[ISO 3166-1 alpha-2 country code\](http://en.wikipedia.org/wiki/ISO\_3166-1).
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/addressCountry")
*/
private $addressCountry;

/**
* @var string|null The locality. For example, Mountain View.
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/addressLocality")
*/
private $addressLocality;

/**
* @var string|null The region. For example, CA.
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/addressRegion")
*/
private $addressRegion;

/**
* @var string|null the post office box number for PO box addresses
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/postOfficeBoxNumber")
*/
private $postOfficeBoxNumber;

/**
* @var string|null The postal code. For example, 94043.
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/postalCode")
*/
private $postalCode;

/**
* @var string|null The street address. For example, 1600 Amphitheatre Pkwy.
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/streetAddress")
*/
private $streetAddress;
Expand Down
2 changes: 1 addition & 1 deletion tests/e2e/src/AppBundle/Entity/Thing.php
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ class Thing
/**
* @var string|null the name of the item
*
* @ORM\Column(type="text", nullable=true)
* @ORM\Column(type="text",nullable=true)
* @ApiProperty(iri="http://schema.org/name")
*/
private $name;
Expand Down