REDROOM
PHP 8.2.31
Path:
Logout
Edit File
Size: 905 B
Close
/home/nshryvcy/blissfulnepal.com/wp-content/plugins/tourmaster/include/stripe/build.php
Text
Base64
#!/usr/bin/env php <?php chdir(dirname(__FILE__)); $autoload = (int)$argv[1]; $returnStatus = null; if (!$autoload) { // Modify composer to not autoload Stripe $composer = json_decode(file_get_contents('composer.json'), true); unset($composer['autoload']); unset($composer['require-dev']['squizlabs/php_codesniffer']); file_put_contents('composer.json', json_encode($composer, JSON_PRETTY_PRINT)); } passthru('composer update', $returnStatus); if ($returnStatus !== 0) { exit(1); } if ($autoload) { // Only run CS on 1 of the 2 environments passthru( './vendor/bin/phpcs --standard=PSR2 -n lib tests *.php', $returnStatus ); if ($returnStatus !== 0) { exit(1); } } $config = $autoload ? 'phpunit.xml' : 'phpunit.no_autoload.xml'; passthru("./vendor/bin/phpunit -c $config", $returnStatus); if ($returnStatus !== 0) { exit(1); }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 2 × Files: 4
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
data
DIR
-
drwxr-xr-x
2024-05-28 15:48:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
lib
DIR
-
drwxr-xr-x
2024-05-28 15:48:44
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
build.php
905 B
lrw-r--r--
2024-05-28 15:48:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
init.php
6.99 KB
lrw-r--r--
2024-05-28 15:48:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
stripe.php
20.21 KB
lrw-r--r--
2024-05-28 15:48:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
update_certs.php
407 B
lrw-r--r--
2024-05-28 15:48:43
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).