Skip to content

Commit be7df33

Browse files
vincentchalamonalanpoulain
authored andcommitted
1 parent 43417f2 commit be7df33

21 files changed

+56
-56
lines changed

src/JsonLd/ContextBuilderInterface.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ interface ContextBuilderInterface
2828
public const RDFS_NS = 'http://www.w3.org/2000/01/rdf-schema#';
2929
public const XML_NS = 'http://www.w3.org/2001/XMLSchema#';
3030
public const OWL_NS = 'http://www.w3.org/2002/07/owl#';
31-
public const SCHEMA_ORG_NS = 'http://schema.org/';
31+
public const SCHEMA_ORG_NS = 'https://schema.org/';
3232

3333
/**
3434
* Gets the base context.

src/Symfony/Validator/Metadata/Property/ValidatorPropertyMetadataFactory.php

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -52,20 +52,20 @@ final class ValidatorPropertyMetadataFactory implements PropertyMetadataFactoryI
5252
public const REQUIRED_CONSTRAINTS = [NotBlank::class, NotNull::class];
5353

5454
public const SCHEMA_MAPPED_CONSTRAINTS = [
55-
Url::class => 'http://schema.org/url',
56-
Email::class => 'http://schema.org/email',
57-
Uuid::class => 'http://schema.org/identifier',
58-
CardScheme::class => 'http://schema.org/identifier',
59-
Bic::class => 'http://schema.org/identifier',
60-
Iban::class => 'http://schema.org/identifier',
61-
Date::class => 'http://schema.org/Date',
62-
DateTime::class => 'http://schema.org/DateTime',
63-
Time::class => 'http://schema.org/Time',
64-
Image::class => 'http://schema.org/image',
65-
File::class => 'http://schema.org/MediaObject',
66-
Currency::class => 'http://schema.org/priceCurrency',
67-
Isbn::class => 'http://schema.org/isbn',
68-
Issn::class => 'http://schema.org/issn',
55+
Url::class => 'https://schema.org/url',
56+
Email::class => 'https://schema.org/email',
57+
Uuid::class => 'https://schema.org/identifier',
58+
CardScheme::class => 'https://schema.org/identifier',
59+
Bic::class => 'https://schema.org/identifier',
60+
Iban::class => 'https://schema.org/identifier',
61+
Date::class => 'https://schema.org/Date',
62+
DateTime::class => 'https://schema.org/DateTime',
63+
Time::class => 'https://schema.org/Time',
64+
Image::class => 'https://schema.org/image',
65+
File::class => 'https://schema.org/MediaObject',
66+
Currency::class => 'https://schema.org/priceCurrency',
67+
Isbn::class => 'https://schema.org/isbn',
68+
Issn::class => 'https://schema.org/issn',
6969
];
7070

7171
/**

tests/Fixtures/TestBundle/Document/AbstractDummy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ abstract class AbstractDummy
3737
{
3838
#[ODM\Id(strategy: 'INCREMENT', type: 'int')]
3939
private ?int $id = null;
40-
#[ApiProperty(types: ['http://schema.org/name'])]
40+
#[ApiProperty(types: ['https://schema.org/name'])]
4141
#[Assert\NotBlank]
4242
#[ODM\Field]
4343
private ?string $name = null;

tests/Fixtures/TestBundle/Document/ArrayFilterValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class ArrayFilterValidator
3131
#[ODM\Id(strategy: 'INCREMENT', type: 'int')]
3232
private ?int $id = null;
3333

34-
#[ApiProperty(types: ['http://schema.org/name'])]
34+
#[ApiProperty(types: ['https://schema.org/name'])]
3535
#[ODM\Field]
3636
private ?string $name = null;
3737

tests/Fixtures/TestBundle/Document/CustomNormalizedDummy.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class CustomNormalizedDummy
3838
/**
3939
* @var string|null The dummy name
4040
*/
41-
#[ApiProperty(types: ['http://schema.org/name'])]
41+
#[ApiProperty(types: ['https://schema.org/name'])]
4242
#[Assert\NotBlank]
4343
#[Groups(['input', 'output'])]
4444
#[ODM\Field]
@@ -47,7 +47,7 @@ class CustomNormalizedDummy
4747
/**
4848
* @var string|null The dummy name alias
4949
*/
50-
#[ApiProperty(types: ['http://schema.org/alternateName'])]
50+
#[ApiProperty(types: ['https://schema.org/alternateName'])]
5151
#[Groups(['input', 'output'])]
5252
#[ODM\Field(nullable: true)]
5353
private ?string $alias = null;

tests/Fixtures/TestBundle/Document/DummyFriend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ class DummyFriend implements \Stringable
3838
* @var string|null The dummy name
3939
*/
4040
#[Assert\NotBlank]
41-
#[ApiProperty(types: ['http://schema.org/name'])]
41+
#[ApiProperty(types: ['https://schema.org/name'])]
4242
#[Groups(['fakemanytomany', 'friends'])]
4343
#[ODM\Field(type: 'string')]
4444
private ?string $name = null;

tests/Fixtures/TestBundle/Document/FilterValidator.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ class FilterValidator
4444
/**
4545
* @var string A name
4646
*/
47-
#[ApiProperty(types: ['http://schema.org/name'])]
47+
#[ApiProperty(types: ['https://schema.org/name'])]
4848
#[ODM\Field]
4949
private $name;
5050

tests/Fixtures/TestBundle/Document/OverriddenOperationDummy.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,22 +44,22 @@ class OverriddenOperationDummy
4444
*/
4545
#[Assert\NotBlank]
4646
#[Groups(['overridden_operation_dummy_read', 'overridden_operation_dummy_write', 'overridden_operation_dummy_get'])]
47-
#[ApiProperty(types: ['http://schema.org/name'])]
47+
#[ApiProperty(types: ['https://schema.org/name'])]
4848
#[ODM\Field]
4949
private $name;
5050

5151
/**
5252
* @var string The dummy name alias
5353
*/
54-
#[ApiProperty(types: ['http://schema.org/alternateName'])]
54+
#[ApiProperty(types: ['https://schema.org/alternateName'])]
5555
#[Groups(['overridden_operation_dummy_read', 'overridden_operation_dummy_put', 'overridden_operation_dummy_get'])]
5656
#[ODM\Field(nullable: true)]
5757
private $alias;
5858

5959
/**
6060
* @var string A short description of the item
6161
*/
62-
#[ApiProperty(types: ['http://schema.org/description'])]
62+
#[ApiProperty(types: ['https://schema.org/description'])]
6363
#[Groups(['overridden_operation_dummy_read', 'overridden_operation_dummy_write', 'overridden_operation_dummy_get', 'overridden_operation_dummy_put'])]
6464
#[ODM\Field(nullable: true)]
6565
public $description;

tests/Fixtures/TestBundle/Document/RelatedNormalizedDummy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class RelatedNormalizedDummy
3939
* @var string|null The dummy name
4040
*/
4141
#[Assert\NotBlank]
42-
#[ApiProperty(types: ['http://schema.org/name'])]
42+
#[ApiProperty(types: ['https://schema.org/name'])]
4343
#[Groups(['related_output', 'related_input'])]
4444
#[ODM\Field]
4545
private ?string $name = null;

tests/Fixtures/TestBundle/Document/RelatedToDummyFriend.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class RelatedToDummyFriend
3939
* @var string The dummy name
4040
*/
4141
#[Assert\NotBlank]
42-
#[ApiProperty(types: ['http://schema.org/name'])]
42+
#[ApiProperty(types: ['https://schema.org/name'])]
4343
#[Groups(['fakemanytomany', 'friends'])]
4444
#[ODM\Field(type: 'string')]
4545
private $name;

0 commit comments

Comments
 (0)