File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21,7 +21,9 @@ matrix:
2121 dist : trusty
2222 - php : 5.6
2323 dist : trusty
24-
24+ - php : nightly
25+ allow_failures :
26+ - php : nightly
2527env :
2628 global :
2729 - DISPLAY=:99.0
3335before_install :
3436 # Install symfony/error-handler on compatible PHP versions to avoid a deprecation warning of the old DebugClassLoader and ErrorHandler classes
3537 - if [[ "$TRAVIS_PHP_VERSION" != 5.* && "$TRAVIS_PHP_VERSION" != 7.0 ]]; then composer require --no-update --dev symfony/error-handler "^4.4 || ^5.0"; fi;
38+ # Set composer's platform to php 7.4 if we're on php 8.
39+ - if [[ "$TRAVIS_PHP_VERSION" = "nightly" ]]; then composer config platform.php 7.4.99; fi;
3640
3741install :
3842 - composer install -n --prefer-dist
Original file line number Diff line number Diff line change @@ -1192,7 +1192,7 @@ private function uploadFile($path)
11921192 $ tempFilename = tempnam ('' , 'WebDriverZip ' );
11931193
11941194 $ archive = new \ZipArchive ();
1195- $ result = $ archive ->open ($ tempFilename , \ZipArchive::CREATE );
1195+ $ result = $ archive ->open ($ tempFilename , \ZipArchive::OVERWRITE );
11961196 if (!$ result ) {
11971197 throw new DriverException ('Zip archive could not be created. Error ' . $ result );
11981198 }
You can’t perform that action at this time.
0 commit comments