Skip to content

Commit

Permalink
Fix failing test on PHP8
Browse files Browse the repository at this point in the history
  • Loading branch information
jbboehr committed Jul 1, 2020
1 parent fd2ae97 commit e0d0907
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/invalidArg.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ shoco (invalid arg)
<?php if(!extension_loaded('shoco')) die('skip '); ?>
--FILE--
<?php
declare(strict_types=1);
function shocotest($val) {
try {
shoco_compress($val);
Expand All @@ -25,4 +26,4 @@ shocotest(array());
ok
ok
ok
ok
ok

0 comments on commit e0d0907

Please sign in to comment.