Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10467 from mhcwebdesign/3.0.x.x_Maintenance
PHP 8.x support for 3.0.x.x maintenance branch (09-03-2022)
- Loading branch information
Showing
1,795 changed files
with
172,026 additions
and
15,301 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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -1,14 +1,97 @@ | ||
#!/usr/bin/env sh | ||
#!/usr/bin/env php | ||
<?php | ||
|
||
dir=$(cd "${0%[/\\]*}" > /dev/null; cd "../scssphp/scssphp/bin" && pwd) | ||
/** | ||
* Proxy PHP file generated by Composer | ||
* | ||
* This file includes the referenced bin path (../scssphp/scssphp/bin/pscss) | ||
* using a stream wrapper to prevent the shebang from being output on PHP<8 | ||
* | ||
* @generated | ||
*/ | ||
|
||
if [ -d /proc/cygdrive ]; then | ||
case $(which php) in | ||
$(readlink -n /proc/cygdrive)/*) | ||
# We are in Cygwin using Windows php, so the path must be translated | ||
dir=$(cygpath -m "$dir"); | ||
;; | ||
esac | ||
fi | ||
namespace Composer; | ||
|
||
"${dir}/pscss" "$@" | ||
$GLOBALS['_composer_autoload_path'] = __DIR__ . '/..'.'/autoload.php'; | ||
|
||
if (PHP_VERSION_ID < 80000) { | ||
if (!class_exists('Composer\BinProxyWrapper')) { | ||
/** | ||
* @internal | ||
*/ | ||
final class BinProxyWrapper | ||
{ | ||
private $handle; | ||
private $position; | ||
|
||
public function stream_open($path, $mode, $options, &$opened_path) | ||
{ | ||
// get rid of composer-bin-proxy:// prefix for __FILE__ & __DIR__ resolution | ||
$opened_path = substr($path, 21); | ||
$opened_path = realpath($opened_path) ?: $opened_path; | ||
$this->handle = fopen($opened_path, $mode); | ||
$this->position = 0; | ||
|
||
// remove all traces of this stream wrapper once it has been used | ||
stream_wrapper_unregister('composer-bin-proxy'); | ||
|
||
return (bool) $this->handle; | ||
} | ||
|
||
public function stream_read($count) | ||
{ | ||
$data = fread($this->handle, $count); | ||
|
||
if ($this->position === 0) { | ||
$data = preg_replace('{^#!.*\r?\n}', '', $data); | ||
} | ||
|
||
$this->position += strlen($data); | ||
|
||
return $data; | ||
} | ||
|
||
public function stream_cast($castAs) | ||
{ | ||
return $this->handle; | ||
} | ||
|
||
public function stream_close() | ||
{ | ||
fclose($this->handle); | ||
} | ||
|
||
public function stream_lock($operation) | ||
{ | ||
return $operation ? flock($this->handle, $operation) : true; | ||
} | ||
|
||
public function stream_tell() | ||
{ | ||
return $this->position; | ||
} | ||
|
||
public function stream_eof() | ||
{ | ||
return feof($this->handle); | ||
} | ||
|
||
public function stream_stat() | ||
{ | ||
return fstat($this->handle); | ||
} | ||
|
||
public function stream_set_option($option, $arg1, $arg2) | ||
{ | ||
return true; | ||
} | ||
} | ||
} | ||
|
||
if (function_exists('stream_wrapper_register') && stream_wrapper_register('composer-bin-proxy', 'Composer\BinProxyWrapper')) { | ||
include("composer-bin-proxy://" . __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss'); | ||
exit(0); | ||
} | ||
} | ||
|
||
include __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss'; |
This file was deleted.
Oops, something went wrong.
Submodule braintree_php
deleted from
c7e0e2
9 changes: 9 additions & 0 deletions
9
upload/system/storage/vendor/braintree/braintree_php/.github/ISSUE_TEMPLATE.md
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,9 @@ | ||
### General information | ||
|
||
* SDK/Library version: <!-- Example: 4.7.2 --> | ||
* Environment: <!-- Is this issue in Sandbox or Production? --> | ||
* Language, language version, and OS: <!-- Example: Java 1.8.0_101-b13 on Ubuntu 16.10 --> | ||
|
||
### Issue description | ||
|
||
<!-- To help us quickly reproduce your issue, include as many details as possible, such as logs, steps to reproduce, and so on. If the issue reports a new feature, follow the [user story](https://en.wikipedia.org/wiki/User_story) format to clearly describe the use case. --> |
6 changes: 6 additions & 0 deletions
6
.../system/storage/vendor/braintree/braintree_php/.github/PULL_REQUEST_TEMPLATE.md
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,6 @@ | ||
# Summary | ||
|
||
# Checklist | ||
|
||
- [ ] Added changelog entry | ||
- [ ] Ran unit tests (Check the README for instructions) |
7 changes: 7 additions & 0 deletions
7
upload/system/storage/vendor/braintree/braintree_php/.gitignore
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,7 @@ | ||
/vendor | ||
/docs | ||
/tags | ||
composer.lock | ||
composer.phar | ||
*.tgz | ||
tests/fixtures/large_file.png |
6 changes: 6 additions & 0 deletions
6
upload/system/storage/vendor/braintree/braintree_php/ACKNOWLEDGEMENTS.md
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,6 @@ | ||
Acknowledgements | ||
---------------- | ||
|
||
The Braintree SDK uses code from the following libraries: | ||
|
||
* [phpunit](https://github.com/sebastianbergmann/phpunit), BSD-3-Clause License |
Oops, something went wrong.