This repository was archived by the owner on Oct 6, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 10
10
}
11
11
],
12
12
"require" : {
13
- "php" : " ^5.5 || ^7.0" ,
13
+ "php" : " ^5.5 || ^7.0 || ^8.0 " ,
14
14
"phpunit/phpunit" : " ^4.0 || ^5.3 || ^6.0 || ^7.0 || ^8.0"
15
15
},
16
16
"require-dev" : {
17
- "friendsofphp/php-cs-fixer" : " ^2.12 "
17
+ "friendsofphp/php-cs-fixer" : " ^2.16 "
18
18
},
19
19
"conflict" : {
20
20
"hhvm" : " *"
Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ trait PolyfillTrait
18
18
{
19
19
public function expectException ($ exception )
20
20
{
21
- if (is_callable (['parent ' , 'expectException ' ])) {
21
+ if (\ is_callable (['parent ' , 'expectException ' ])) {
22
22
parent ::expectException ($ exception );
23
23
} else {
24
24
$ this ->setExpectedException ($ exception );
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ trait PolyfillTrait7
20
20
{
21
21
public function expectException (string $ exception ): void
22
22
{
23
- if (is_callable (['parent ' , 'expectException ' ])) {
23
+ if (\ is_callable (['parent ' , 'expectException ' ])) {
24
24
parent ::expectException ($ exception );
25
25
} else {
26
26
$ this ->setExpectedException ($ exception );
You can’t perform that action at this time.
0 commit comments