File tree Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Expand file tree Collapse file tree 2 files changed +2
-10
lines changed Original file line number Diff line number Diff line change 125125 "phpstan/phpstan" : " ^0.12.88 || ^1.0.0 || ^2.0.0" ,
126126 "phpstan/phpstan-phpunit" : " ^1.0 || ^2.0" ,
127127 "phpunit/phpunit" : " ^7.0 || ^8.0 || ^9.0 || ^10.0" ,
128- "symfony/process" : " ^4.4 || ^5.0 || ^6.0 || ^7.0" ,
128+ "symfony/process" : " ^4.4 || ^5.0 || ^6.0 || ^7.0 || 7.4.x-dev " ,
129129 "tecnickcom/tcpdf" : " ^6.5"
130130 },
131131 "suggest" : {
Original file line number Diff line number Diff line change @@ -24,19 +24,11 @@ abstract class AbstractWebServerEmbedded extends \PHPUnit\Framework\TestCase
2424{
2525 private static $ httpServer ;
2626
27- /** @var int */
28- protected static $ wakeupDeprecatedVersion = 80500 ;
29-
3027 public static function setUpBeforeClass (): void
3128 {
3229 $ commandLine = 'php -S localhost:8080 -t tests/PhpWordTests/_files ' ;
3330
34- // need Symfony/Process 7.3.4
35- if (PHP_VERSION_ID < self ::$ wakeupDeprecatedVersion ) {
36- self ::$ httpServer = Process::fromShellCommandline ($ commandLine );
37- } else {
38- self ::$ httpServer = @Process::fromShellCommandline ($ commandLine );
39- }
31+ self ::$ httpServer = Process::fromShellCommandline ($ commandLine );
4032 self ::$ httpServer ->start ();
4133 while (!self ::$ httpServer ->isRunning ()) {
4234 usleep (1000 );
You can’t perform that action at this time.
0 commit comments