Skip to content

Commit b3f0c69

Browse files
committed
tests: Avoid creation of dynamic property in TextCatTest
Change-Id: I427974c5fac53bfb5d1191e5c96b9342552231d0
1 parent cdbe38b commit b3f0c69

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

tests/TextCatTest.php

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<?php
22

33
class TextCatTest extends PHPUnit\Framework\TestCase {
4-
/**
5-
* TextCat instance
6-
* @var TextCat
7-
*/
8-
protected $cat;
4+
5+
private TextCat $testcat;
6+
private TextCat $multicat1;
7+
private TextCat $multicat2;
8+
private TextCat $ambiguouscat;
9+
private TextCat $wrongcat;
910

1011
public function setUp(): void {
1112
// initialize testcat with a string

0 commit comments

Comments
 (0)