Skip to content

Commit 6b1bd11

Browse files
florent-andreflorent
and
florent
authored
fix: solve issue #325 : purl bad certificate (#326)
Co-authored-by: florent <[email protected]>
1 parent 04e2f94 commit 6b1bd11

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Diff for: src/TypesGeneratorConfiguration.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
final class TypesGeneratorConfiguration implements ConfigurationInterface
3030
{
3131
public const SCHEMA_ORG_URI = 'https://schema.org/version/latest/schemaorg-current-http.rdf';
32-
public const GOOD_RELATIONS_URI = 'https://purl.org/goodrelations/v1.owl';
32+
public const GOOD_RELATIONS_URI = 'https://archive.org/services/purl/goodrelations/v1.owl';
3333
public const SCHEMA_ORG_NAMESPACE = 'http://schema.org/';
3434

3535
private ?string $defaultPrefix;
@@ -75,7 +75,7 @@ static function ($rdf) {
7575
->scalarNode('vocabularyNamespace')->defaultValue(self::SCHEMA_ORG_NAMESPACE)->info('Namespace of the vocabulary to import')->example('http://www.w3.org/ns/activitystreams#')->end()
7676
->arrayNode('relations')
7777
->info('OWL relation files containing cardinality information in the GoodRelations format')
78-
->example('https://purl.org/goodrelations/v1.owl')
78+
->example(self::GOOD_RELATIONS_URI)
7979
->defaultValue([self::GOOD_RELATIONS_URI])
8080
->prototype('scalar')->end()
8181
->end()

Diff for: tests/Command/DumpConfigurationTest.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -45,10 +45,10 @@ public function testDumpConfiguration(): void
4545
vocabularyNamespace: 'http://schema.org/' # Example: 'http://www.w3.org/ns/activitystreams#'
4646
4747
# OWL relation files containing cardinality information in the GoodRelations format
48-
relations: # Example: 'https://purl.org/goodrelations/v1.owl'
48+
relations: # Example: 'https://archive.org/services/purl/goodrelations/v1.owl'
4949
5050
# Default:
51-
- https://purl.org/goodrelations/v1.owl
51+
- https://archive.org/services/purl/goodrelations/v1.owl
5252
5353
# Debug mode
5454
debug: false

0 commit comments

Comments
 (0)