From 85001c034b1353e7602911f9fbdf017188ed8b07 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 3 Jan 2024 10:58:31 +0000 Subject: update sabre/vobject --- vendor/bin/generate_vcards | 5 ++--- vendor/bin/vobject | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) (limited to 'vendor/bin') diff --git a/vendor/bin/generate_vcards b/vendor/bin/generate_vcards index b484cc11e..cfea10b99 100755 --- a/vendor/bin/generate_vcards +++ b/vendor/bin/generate_vcards @@ -112,9 +112,8 @@ if (PHP_VERSION_ID < 80000) { (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true)) || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) ) { - include("phpvfscomposer://" . __DIR__ . '/..'.'/sabre/vobject/bin/generate_vcards'); - exit(0); + return include("phpvfscomposer://" . __DIR__ . '/..'.'/sabre/vobject/bin/generate_vcards'); } } -include __DIR__ . '/..'.'/sabre/vobject/bin/generate_vcards'; +return include __DIR__ . '/..'.'/sabre/vobject/bin/generate_vcards'; diff --git a/vendor/bin/vobject b/vendor/bin/vobject index 0a78d4965..2a5007110 100755 --- a/vendor/bin/vobject +++ b/vendor/bin/vobject @@ -112,9 +112,8 @@ if (PHP_VERSION_ID < 80000) { (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true)) || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) ) { - include("phpvfscomposer://" . __DIR__ . '/..'.'/sabre/vobject/bin/vobject'); - exit(0); + return include("phpvfscomposer://" . __DIR__ . '/..'.'/sabre/vobject/bin/vobject'); } } -include __DIR__ . '/..'.'/sabre/vobject/bin/vobject'; +return include __DIR__ . '/..'.'/sabre/vobject/bin/vobject'; -- cgit v1.2.3 From 7ccb2a261521cc826ff41d91cebbab504b7c4e11 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 10 Feb 2024 22:04:24 +0000 Subject: custom sass bootstrap builds for channels and site --- vendor/bin/pscss | 119 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 119 insertions(+) create mode 100755 vendor/bin/pscss (limited to 'vendor/bin') diff --git a/vendor/bin/pscss b/vendor/bin/pscss new file mode 100755 index 000000000..e57bed8fc --- /dev/null +++ b/vendor/bin/pscss @@ -0,0 +1,119 @@ +#!/usr/bin/env php +realpath = realpath($opened_path) ?: $opened_path; + $opened_path = $this->realpath; + $this->handle = fopen($this->realpath, $mode); + $this->position = 0; + + 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_seek($offset, $whence) + { + if (0 === fseek($this->handle, $offset, $whence)) { + $this->position = ftell($this->handle); + return true; + } + + return false; + } + + public function stream_tell() + { + return $this->position; + } + + public function stream_eof() + { + return feof($this->handle); + } + + public function stream_stat() + { + return array(); + } + + public function stream_set_option($option, $arg1, $arg2) + { + return true; + } + + public function url_stat($path, $flags) + { + $path = substr($path, 17); + if (file_exists($path)) { + return stat($path); + } + + return false; + } + } + } + + if ( + (function_exists('stream_get_wrappers') && in_array('phpvfscomposer', stream_get_wrappers(), true)) + || (function_exists('stream_wrapper_register') && stream_wrapper_register('phpvfscomposer', 'Composer\BinProxyWrapper')) + ) { + return include("phpvfscomposer://" . __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss'); + } +} + +return include __DIR__ . '/..'.'/scssphp/scssphp/bin/pscss'; -- cgit v1.2.3