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:
Abijeet
2022-07-07 17:49:27 +05:30
committed by Kartik Mistry
parent d078c170d8
commit 17cb847b93
3 changed files with 48 additions and 130 deletions

View File

@@ -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' ] );