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 README.md
Original file line number Diff line number Diff line change
Expand Up @@ -233,4 +233,4 @@ These assets serve different surfaces and should stay aligned to the same brand

## License

GPL v2 or later. See [LICENSE](LICENSE).
This project is licensed under the [GNU General Public License v2.0](LICENSE), or (at your option) any later version.
4 changes: 1 addition & 3 deletions tests/PDMReleaseMetadataTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,15 +64,13 @@ public function test_repository_presentation_metadata_is_release_ready(): void
{
$root = dirname(__DIR__);
$citation = (string) file_get_contents($root . '/CITATION.cff');
$dependabot = (string) file_get_contents($root . '/.github/dependabot.yml');
$securityPolicy = (string) file_get_contents($root . '/SECURITY.md');
$socialPreview = $root . '/.github/social-preview.png';

self::assertStringContainsString('version: "' . self::RELEASE_VERSION . '"', $citation);
self::assertStringContainsString('date-released: "' . self::RELEASE_DATE . '"', $citation);
self::assertStringContainsString('license: GPL-2.0-or-later', $citation);
self::assertStringContainsString('package-ecosystem: composer', $dependabot);
self::assertStringContainsString('package-ecosystem: github-actions', $dependabot);
self::assertFileDoesNotExist($root . '/.github/dependabot.yml');
self::assertStringContainsString('/security/advisories/new', $securityPolicy);
self::assertFileExists($socialPreview);

Expand Down