@@ -35,7 +35,7 @@ public function setUp(): void
3535 */
3636 public function testGetUnpkgName (): void
3737 {
38- $ this -> assertSame ('chart.js ' , $ this ->subject ->getUnpkgName ());
38+ static :: assertSame ('chart.js ' , $ this ->subject ->getUnpkgName ());
3939 }
4040
4141 /**
@@ -45,9 +45,9 @@ public function testGetUnpkgName(): void
4545 public function testGetUnpkgVersion (): void
4646 {
4747 try {
48- $ this -> assertIsString ($ this ->subject ->getUnpkgVersion ());
48+ static :: assertIsString ($ this ->subject ->getUnpkgVersion ());
4949 } catch (OutOfBoundsException $ exception ) {
50- $ this -> assertSame ('Package "nnnick/chartjs" is not installed ' , $ exception ->getMessage ());
50+ static :: assertSame ('Package "nnnick/chartjs" is not installed ' , $ exception ->getMessage ());
5151 }
5252 }
5353
@@ -56,7 +56,7 @@ public function testGetUnpkgVersion(): void
5656 */
5757 public function testGetUnpkgSource (): void
5858 {
59- $ this -> assertSame ('dist ' , $ this ->subject ->getUnpkgSource ());
59+ static :: assertSame ('dist ' , $ this ->subject ->getUnpkgSource ());
6060 }
6161
6262
@@ -71,38 +71,38 @@ public function testGetUnpkgFiles(): void
7171 2 => 'helpers.js ' ,
7272 3 => 'helpers.js.map ' ,
7373 ];
74- $ this -> assertSame ($ result , $ this ->subject ->getUnpkgFiles ());
74+ static :: assertSame ($ result , $ this ->subject ->getUnpkgFiles ());
7575 }
7676
7777 /**
7878 * @covers \OpenMage\ComposerPlugin\Copy\Plugins\ChartJs::getComposerName()
7979 */
8080 public function testGetComposerName (): void
8181 {
82- $ this -> assertSame ('nnnick/chartjs ' , $ this ->subject ->getComposerName ());
82+ static :: assertSame ('nnnick/chartjs ' , $ this ->subject ->getComposerName ());
8383 }
8484
8585 /**
8686 * @covers \OpenMage\ComposerPlugin\Copy\Plugins\ChartJs::getComposerSource()
8787 */
8888 public function testGetComposerSource (): void
8989 {
90- $ this -> assertSame ('dist ' , $ this ->subject ->getComposerSource ());
90+ static :: assertSame ('dist ' , $ this ->subject ->getComposerSource ());
9191 }
9292
9393 /**
9494 * @covers \OpenMage\ComposerPlugin\Copy\Plugins\ChartJs::getComposerFiles()
9595 */
9696 public function testGetComposerFiles (): void
9797 {
98- $ this -> assertSame (['*.js ' , '*.map ' ], $ this ->subject ->getComposerFiles ());
98+ static :: assertSame (['*.js ' , '*.map ' ], $ this ->subject ->getComposerFiles ());
9999 }
100100
101101 /**
102102 * @covers \OpenMage\ComposerPlugin\Copy\Plugins\ChartJs::getCopyTarget()
103103 */
104104 public function testGetCopyTarget (): void
105105 {
106- $ this -> assertSame ('js/lib/chartjs ' , $ this ->subject ->getCopyTarget ());
106+ static :: assertSame ('js/lib/chartjs ' , $ this ->subject ->getCopyTarget ());
107107 }
108108}
0 commit comments