Update PHP dependencies
Ran composer show --outdated and then composer update after updating package.json Fix CI failures: * assertEmpty performs loose comparisons and should not be used.
This commit is contained in:
@@ -86,8 +86,8 @@ class LanguageUtilTest extends TestCase {
|
||||
* @covers getLanguagesInScripts
|
||||
*/
|
||||
public function testGetLanguagesInScripts() {
|
||||
$this->assertEmpty(
|
||||
$this->languageUtil->getLanguagesInScripts( [ self::UNKNOWN_LANGUAGE_CODE ] )
|
||||
$this->assertCount(
|
||||
0, $this->languageUtil->getLanguagesInScripts( [ self::UNKNOWN_LANGUAGE_CODE ] )
|
||||
);
|
||||
|
||||
$expectedValues = $this->languageUtil->getLanguagesInScripts( [ 'Latn', 'Grek' ] );
|
||||
|
||||
Reference in New Issue
Block a user