-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
4,707 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
.editorconfig export-ignore | ||
.gitattributes export-ignore | ||
.github/ export-ignore | ||
.gitignore export-ignore | ||
phpunit.xml.dist export-ignore | ||
tests/ export-ignore | ||
/.editorconfig export-ignore | ||
/.gitattributes export-ignore | ||
/.github export-ignore | ||
/.gitignore export-ignore | ||
/phpunit.xml.dist export-ignore | ||
/tests export-ignore | ||
/LICENSE.md export-ignore | ||
/README.md export-ignore | ||
/resources/get-syn.php export-ignore | ||
/docker-compose.yaml export-ignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
version: "3" | ||
|
||
services: | ||
selenium: | ||
image: ${SELENIUM_IMAGE:-selenium/standalone-chrome:4} | ||
hostname: selenium | ||
shm_size: 4g | ||
environment: | ||
VNC_NO_PASSWORD: 1 | ||
SCREEN_WIDTH: 1024 | ||
SCREEN_HEIGHT: 768 | ||
volumes: | ||
- /dev/shm:/dev/shm | ||
- ./vendor/mink/driver-testsuite/web-fixtures:/fixtures | ||
ports: | ||
- "4444:4444" | ||
# VNC Web Viewer port (new images) | ||
- "7900:7900" | ||
# VNC Server port (old "-debug" images) | ||
- "5900:5900" | ||
extra_hosts: | ||
- host.docker.internal:host-gateway |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
/** | ||
* Simple script that updates syn.js by downloading it from NPM through Unpkg and attaches a file | ||
* header comment. To switch to a different Syn version, just update $version variable appropriately. | ||
* | ||
* @codeCoverageIgnore | ||
*/ | ||
|
||
$version = '0.15.0'; | ||
|
||
if ('cli' !== PHP_SAPI && 'phpdbg' !== PHP_SAPI) { | ||
throw new RuntimeException('This script must be run from the command line.'); | ||
} | ||
|
||
file_put_contents( | ||
__DIR__ . '/syn.js', | ||
sprintf( | ||
<<<'JS' | ||
/** | ||
* Syn - Standalone Synthetic Event Library | ||
* | ||
* @generated by get-syn.php on %s | ||
* | ||
* @version %s | ||
* @copyright 2014 Bitovi | ||
* @license https://github.com/bitovi/syn/blob/master/LICENSE.md | ||
*/ | ||
%s | ||
JS, | ||
date('r'), | ||
$version, | ||
file_get_contents("https://www.unpkg.com/syn@$version/dist/global/syn.js") | ||
) | ||
); | ||
|
||
echo "Done.\n"; |
Oops, something went wrong.