File tree Expand file tree Collapse file tree 3 files changed +11
-6
lines changed
projects/packages/image-cdn Expand file tree Collapse file tree 3 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 1+ Significance: patch
2+ Type: fixed
3+ Comment: Fix PHPUnit CoversFunction, leading backslash is not allowed.
4+
5+
Original file line number Diff line number Diff line change 1212require __DIR__ . '/../../src/compatibility/activitypub.php ' ;
1313
1414/**
15- * @covers ::\ Automattic\Jetpack\Image_CDN\Compatibility\load_activitypub_compat
15+ * @covers ::Automattic\Jetpack\Image_CDN\Compatibility\load_activitypub_compat
1616 */
17- #[CoversFunction( '\\ Automattic \\Jetpack \\Image_CDN \\Compatibility \\load_activitypub_compat ' )]
17+ #[CoversFunction( 'Automattic \\Jetpack \\Image_CDN \\Compatibility \\load_activitypub_compat ' )]
1818class Activitypub_Compat_Test extends BaseTestCase {
1919 /**
2020 * Test that we do not disable CDN for ActivityPub requests by default.
Original file line number Diff line number Diff line change 1313require __DIR__ . '/../../src/compatibility/breakdance.php ' ;
1414
1515/**
16- * @covers ::\ Automattic\Jetpack\Image_CDN\Compatibility\load_breakdance_compat
17- * @covers ::\ Automattic\Jetpack\Image_CDN\Compatibility\use_image_cdn
16+ * @covers ::Automattic\Jetpack\Image_CDN\Compatibility\load_breakdance_compat
17+ * @covers ::Automattic\Jetpack\Image_CDN\Compatibility\use_image_cdn
1818 */
19- #[CoversFunction( '\\ Automattic \\Jetpack \\Image_CDN \\Compatibility \\load_breakdance_compat ' )]
20- #[CoversFunction( '\\ Automattic \\Jetpack \\Image_CDN \\Compatibility \\use_image_cdn ' )]
19+ #[CoversFunction( 'Automattic \\Jetpack \\Image_CDN \\Compatibility \\load_breakdance_compat ' )]
20+ #[CoversFunction( 'Automattic \\Jetpack \\Image_CDN \\Compatibility \\use_image_cdn ' )]
2121class Breakdance_Compat_Test extends BaseTestCase {
2222 /**
2323 * Test that CDN is enabled for Breakdance content by default.
You can’t perform that action at this time.
0 commit comments