From 7c1ff0845fad1b7ce7012a5da96aa4afa4c80478 Mon Sep 17 00:00:00 2001 From: Jake Spurlock Date: Fri, 10 Jul 2020 23:13:16 +0000 Subject: [PATCH] Coding Standards: Ensure strict type check. See [48429], #33591. git-svn-id: https://develop.svn.wordpress.org/trunk@48431 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/feed/atom.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/feed/atom.php b/tests/phpunit/tests/feed/atom.php index 0fe0413233..026f5eecc1 100644 --- a/tests/phpunit/tests/feed/atom.php +++ b/tests/phpunit/tests/feed/atom.php @@ -267,7 +267,7 @@ class Tests_Feeds_Atom extends WP_UnitTestCase { $links = xml_find( $entries[ $key ]['child'], 'link' ); $i = 0; foreach ( (array) $links as $link ) { - if ( 'enclosure' == $link['attributes']['rel'] ) { + if ( 'enclosure' === $link['attributes']['rel'] ) { $this->assertEquals( $enclosures[ $i ]['expected']['href'], $link['attributes']['href'] ); $this->assertEquals( $enclosures[ $i ]['expected']['length'], $link['attributes']['length'] ); $this->assertEquals( $enclosures[ $i ]['expected']['type'], $link['attributes']['type'] );