From cd1118b1924921a9b95bda6fdffc94fa442051d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Guillaume=20Perr=C3=A9al?= <guillaume.perreal@irstea.fr>
Date: Wed, 29 Jan 2020 11:53:25 +0100
Subject: [PATCH] Typo.

---
 .../SPDXLicenseTemplateProviderTest.php       | 32 +++++++++----------
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/tests/HeaderComment/SPDXLicenseTemplateProviderTest.php b/tests/HeaderComment/SPDXLicenseTemplateProviderTest.php
index 1943b4f..89db023 100644
--- a/tests/HeaderComment/SPDXLicenseTemplateProviderTest.php
+++ b/tests/HeaderComment/SPDXLicenseTemplateProviderTest.php
@@ -1,10 +1,11 @@
 <?php declare(strict_types=1);
-/**
- * Copyright (C) 2020 IRSTEA
- * All rights reserved.
+/*
+ * irstea/php-cs-fixer-config - Jeux de règles pour php-cs-fixer.
+ * Copyright (C) 2018-2020 IRSTEA
+ *
+ * For the full copyright and license information, please view the LICENSE
+ * file that was distributed with this source code.
  *
- * @copyright 2020 IRSTEA
- * @author guillaume.perreal
  */
 
 namespace Irstea\CS\Tests\HeaderComment;
@@ -17,7 +18,7 @@ use PHPUnit\Framework\TestCase;
 use Prophecy\Prophecy\ObjectProphecy;
 
 /**
- * Class SPDXLicenseTemplateProviderTest
+ * Class SPDXLicenseTemplateProviderTest.
  */
 final class SPDXLicenseTemplateProviderTest extends TestCase
 {
@@ -36,20 +37,20 @@ final class SPDXLicenseTemplateProviderTest extends TestCase
      */
     private $templateProvider;
 
-    protected function setUp()
+    protected function setUp(): void
     {
         $this->root = vfsStream::setup('licenses');
 
         $this->composerPackage = $this->prophesize(ComposerPackageInterface::class);
 
         $this->templateProvider = new SPDXLicenseTemplateProvider(
-            $this->composerPackage->reveal()
-            $this->root->url(). '/%s.json'
+            $this->composerPackage->reveal(),
+            $this->root->url() . '/%s.json'
         );
     }
 
-    public function testKnownLicense() {
-
+    public function testKnownLicense(): void
+    {
         $this->composerPackage->getLicenses()
             ->shouldBeCalled()
             ->willReturn(['foo']);
@@ -61,8 +62,8 @@ final class SPDXLicenseTemplateProviderTest extends TestCase
         self::assertEquals('bar', $result);
     }
 
-    public function testUnknownLicense() {
-
+    public function testUnknownLicense(): void
+    {
         $this->composerPackage->getLicenses()
             ->shouldBeCalled()
             ->willReturn(['foo']);
@@ -72,8 +73,8 @@ final class SPDXLicenseTemplateProviderTest extends TestCase
         self::assertNull($result);
     }
 
-    public function testInvalidJSON() {
-
+    public function testInvalidJSON(): void
+    {
         $this->composerPackage->getLicenses()
             ->shouldBeCalled()
             ->willReturn(['foo']);
@@ -84,5 +85,4 @@ final class SPDXLicenseTemplateProviderTest extends TestCase
 
         self::assertNull($result);
     }
-
 }
-- 
GitLab