Merge pull request #15503 from magnolia61/Generalize_Thank_You_in_Message_Templates
[civicrm-core.git] / tests / phpunit / CRM / Core / ComposerConfigTest.php
index 4cdd7ce0058b4cd07058c4114a72546a39601e86..b00ba4c502eb758456083ba38258ddaed2b99f0d 100644 (file)
@@ -20,14 +20,14 @@ class CRM_Core_ComposerConfigTest extends \PHPUnit\Framework\TestCase {
    * because reviewers' eyes tend to gloss over `composer.lock`.
    */
   public function testHardLocks() {
-    $hardLocks = array(
+    $hardLocks = [
       'symfony/config' => '/^v2\.8\./',
       'symfony/dependency-injection' => '/^v2\.8\./',
       'symfony/event-dispatcher' => '/^v2\.8\./',
       'symfony/filesystem' => '/^v2\.8\./',
       'symfony/finder' => '/^v2\.8\./',
       'symfony/process' => '/^v2\.8\./',
-    );
+    ];
 
     $lockFile = Civi::paths()->getPath('[civicrm.root]/composer.lock');
     $lock = json_decode(file_get_contents($lockFile), 1);
@@ -39,7 +39,7 @@ class CRM_Core_ComposerConfigTest extends \PHPUnit\Framework\TestCase {
         unset($hardLocks[$package['name']]);
       }
     }
-    $this->assertEquals(array(), $hardLocks,
+    $this->assertEquals([], $hardLocks,
       'composer.lock should have references to all hardlocks');
   }