├── .github └── FUNDING.yml ├── favicon.ico ├── views └── rss.php ├── img ├── screenshot.png ├── platforms │ ├── lemmy.png │ ├── mbin.png │ ├── github.png │ ├── lobsters.png │ ├── piefed.png │ ├── reddit.png │ └── hacker-news.png └── favicons │ ├── favicon.ico │ ├── favicon-96x96.png │ ├── apple-touch-icon.png │ ├── web-app-manifest-192x192.png │ ├── web-app-manifest-512x512.png │ └── site.webmanifest ├── vendor ├── fivefilters │ └── readability.php │ │ ├── .gitignore │ │ ├── src │ │ ├── ParseException.php │ │ └── Nodes │ │ │ └── DOM │ │ │ ├── DOMAttr.php │ │ │ ├── DOMText.php │ │ │ ├── DOMComment.php │ │ │ ├── DOMEntity.php │ │ │ ├── DOMNotation.php │ │ │ ├── DOMCdataSection.php │ │ │ ├── DOMDocumentType.php │ │ │ ├── DOMCharacterData.php │ │ │ ├── DOMEntityReference.php │ │ │ ├── DOMDocumentFragment.php │ │ │ ├── DOMProcessingInstruction.php │ │ │ └── DOMNode.php │ │ ├── .gitattributes │ │ └── AUTHORS.md ├── psr │ ├── log │ │ ├── Psr │ │ │ └── Log │ │ │ │ ├── InvalidArgumentException.php │ │ │ │ ├── Test │ │ │ │ └── DummyTest.php │ │ │ │ ├── LoggerAwareInterface.php │ │ │ │ ├── LogLevel.php │ │ │ │ ├── LoggerAwareTrait.php │ │ │ │ └── NullLogger.php │ │ └── composer.json │ └── http-message │ │ ├── README.md │ │ └── composer.json ├── masterminds │ └── html5 │ │ ├── src │ │ └── HTML5 │ │ │ ├── Exception.php │ │ │ └── Parser │ │ │ └── ParseError.php │ │ ├── UPGRADING.md │ │ ├── CREDITS │ │ └── bin │ │ └── entities.php ├── composer │ ├── autoload_namespaces.php │ └── autoload_psr4.php ├── predis │ └── predis │ │ ├── autoload.php │ │ └── src │ │ ├── Command │ │ ├── Argument │ │ │ ├── Search │ │ │ │ ├── AlterArguments.php │ │ │ │ ├── ExplainArguments.php │ │ │ │ ├── SynUpdateArguments.php │ │ │ │ ├── SchemaFields │ │ │ │ │ └── FieldInterface.php │ │ │ │ └── SugAddArguments.php │ │ │ ├── TimeSeries │ │ │ │ ├── GetArguments.php │ │ │ │ ├── MGetArguments.php │ │ │ │ ├── AlterArguments.php │ │ │ │ ├── CreateArguments.php │ │ │ │ └── DecrByArguments.php │ │ │ ├── Geospatial │ │ │ │ ├── ByInterface.php │ │ │ │ ├── FromInterface.php │ │ │ │ └── FromMember.php │ │ │ ├── Server │ │ │ │ └── LimitInterface.php │ │ │ └── ArrayableArgument.php │ │ ├── Redis │ │ │ ├── HPTTL.php │ │ │ ├── BLMOVE.php │ │ │ ├── HPEXPIRE.php │ │ │ ├── HEXPIREAT.php │ │ │ ├── HPEXPIREAT.php │ │ │ ├── HPEXPIRETIME.php │ │ │ ├── GETDEL.php │ │ │ ├── LMOVE.php │ │ │ ├── MSETNX.php │ │ │ ├── XREVRANGE.php │ │ │ ├── ZREVRANGE.php │ │ │ ├── Search │ │ │ │ ├── FT_LIST.php │ │ │ │ ├── FTDICTADD.php │ │ │ │ ├── FTALIASADD.php │ │ │ │ ├── FTDICTDEL.php │ │ │ │ ├── FTALIASDEL.php │ │ │ │ ├── FTINFO.php │ │ │ │ ├── FTSUGDEL.php │ │ │ │ ├── FTSYNDUMP.php │ │ │ │ ├── FTDICTDUMP.php │ │ │ │ ├── FTSUGLEN.php │ │ │ │ ├── FTTAGVALS.php │ │ │ │ └── FTALIASUPDATE.php │ │ │ ├── CLUSTER.php │ │ │ ├── ZINTERSTORE.php │ │ │ ├── ZREVRANGEBYLEX.php │ │ │ ├── TimeSeries │ │ │ │ ├── TSREVRANGE.php │ │ │ │ ├── TSMREVRANGE.php │ │ │ │ ├── TSDELETERULE.php │ │ │ │ ├── TSMADD.php │ │ │ │ ├── TSDEL.php │ │ │ │ └── TSQUERYINDEX.php │ │ │ ├── ZREVRANGEBYSCORE.php │ │ │ ├── GET.php │ │ │ ├── TTL.php │ │ │ ├── AUTH.php │ │ │ ├── DECR.php │ │ │ ├── DUMP.php │ │ │ ├── ECHO_.php │ │ │ ├── EXEC.php │ │ │ ├── HGET.php │ │ │ ├── HKEYS.php │ │ │ ├── HLEN.php │ │ │ ├── HSET.php │ │ │ ├── HVALS.php │ │ │ ├── INCR.php │ │ │ ├── KEYS.php │ │ │ ├── LLEN.php │ │ │ ├── LPOP.php │ │ │ ├── LREM.php │ │ │ ├── LSET.php │ │ │ ├── LTRIM.php │ │ │ ├── MOVE.php │ │ │ ├── MULTI.php │ │ │ ├── PING.php │ │ │ ├── PTTL.php │ │ │ ├── QUIT.php │ │ │ ├── RPOP.php │ │ │ ├── SAVE.php │ │ │ ├── SCARD.php │ │ │ ├── SETEX.php │ │ │ ├── SETNX.php │ │ │ ├── SMOVE.php │ │ │ ├── SPOP.php │ │ │ ├── TIME.php │ │ │ ├── XLEN.php │ │ │ ├── ZCARD.php │ │ │ ├── ZRANK.php │ │ │ ├── APPEND.php │ │ │ ├── DBSIZE.php │ │ │ ├── DECRBY.php │ │ │ ├── EXISTS.php │ │ │ ├── GETBIT.php │ │ │ ├── GETSET.php │ │ │ ├── HSETNX.php │ │ │ ├── INCRBY.php │ │ │ ├── Json │ │ │ │ ├── JSONDEL.php │ │ │ │ ├── JSONTYPE.php │ │ │ │ ├── JSONFORGET.php │ │ │ │ ├── JSONTOGGLE.php │ │ │ │ ├── JSONARRLEN.php │ │ │ │ ├── JSONSTRLEN.php │ │ │ │ ├── JSONARRPOP.php │ │ │ │ ├── JSONDEBUG.php │ │ │ │ ├── JSONOBJKEYS.php │ │ │ │ ├── JSONOBJLEN.php │ │ │ │ ├── JSONCLEAR.php │ │ │ │ ├── JSONNUMINCRBY.php │ │ │ │ ├── JSONRESP.php │ │ │ │ ├── JSONSTRAPPEND.php │ │ │ │ ├── JSONARRINDEX.php │ │ │ │ ├── JSONMSET.php │ │ │ │ ├── JSONARRAPPEND.php │ │ │ │ ├── JSONARRTRIM.php │ │ │ │ ├── JSONARRINSERT.php │ │ │ │ └── JSONMERGE.php │ │ │ ├── LINDEX.php │ │ │ ├── LPUSHX.php │ │ │ ├── LRANGE.php │ │ │ ├── PSETEX.php │ │ │ ├── RENAME.php │ │ │ ├── RPUSHX.php │ │ │ ├── SCRIPT.php │ │ │ ├── SELECT.php │ │ │ ├── SETBIT.php │ │ │ ├── STRLEN.php │ │ │ ├── SUBSTR.php │ │ │ ├── ZCOUNT.php │ │ │ ├── ZSCORE.php │ │ │ ├── DISCARD.php │ │ │ ├── FLUSHDB.php │ │ │ ├── GEODIST.php │ │ │ ├── HEXISTS.php │ │ │ ├── HINCRBY.php │ │ │ ├── HSTRLEN.php │ │ │ ├── LINSERT.php │ │ │ ├── MONITOR.php │ │ │ ├── OBJECT_.php │ │ │ ├── PERSIST.php │ │ │ ├── PEXPIRE.php │ │ │ ├── PUBLISH.php │ │ │ ├── RESTORE.php │ │ │ ├── UNWATCH.php │ │ │ ├── ZINCRBY.php │ │ │ ├── BITFIELD.php │ │ │ ├── FLUSHALL.php │ │ │ ├── GETRANGE.php │ │ │ ├── LASTSAVE.php │ │ │ ├── RENAMENX.php │ │ │ ├── SETRANGE.php │ │ │ ├── SMEMBERS.php │ │ │ ├── ZREVRANK.php │ │ │ ├── BLMPOP.php │ │ │ ├── BRPOPLPUSH.php │ │ │ ├── PEXPIREAT.php │ │ │ ├── RPOPLPUSH.php │ │ │ ├── SISMEMBER.php │ │ │ ├── ZLEXCOUNT.php │ │ │ ├── INCRBYFLOAT.php │ │ │ ├── SRANDMEMBER.php │ │ │ ├── HINCRBYFLOAT.php │ │ │ ├── EVALSHA_RO.php │ │ │ ├── ZREMRANGEBYLEX.php │ │ │ ├── ZREMRANGEBYRANK.php │ │ │ ├── ZREMRANGEBYSCORE.php │ │ │ ├── CuckooFilter │ │ │ │ ├── CFEXISTS.php │ │ │ │ ├── CFMEXISTS.php │ │ │ │ ├── CFADD.php │ │ │ │ ├── CFADDNX.php │ │ │ │ ├── CFINSERTNX.php │ │ │ │ ├── CFLOADCHUNK.php │ │ │ │ ├── CFCOUNT.php │ │ │ │ ├── CFSCANDUMP.php │ │ │ │ └── CFDEL.php │ │ │ ├── SMISMEMBER.php │ │ │ ├── TDigest │ │ │ │ ├── TDIGESTADD.php │ │ │ │ └── TDIGESTRESET.php │ │ │ ├── CountMinSketch │ │ │ │ ├── CMSQUERY.php │ │ │ │ ├── CMSINITBYDIM.php │ │ │ │ ├── CMSINITBYPROB.php │ │ │ │ └── CMSINCRBY.php │ │ │ ├── BloomFilter │ │ │ │ ├── BFEXISTS.php │ │ │ │ ├── BFMEXISTS.php │ │ │ │ ├── BFLOADCHUNK.php │ │ │ │ ├── BFADD.php │ │ │ │ ├── BFSCANDUMP.php │ │ │ │ └── BFMADD.php │ │ │ ├── Container │ │ │ │ ├── Json │ │ │ │ │ └── JSONDEBUG.php │ │ │ │ ├── CLUSTER.php │ │ │ │ ├── Search │ │ │ │ │ ├── FTCONFIG.php │ │ │ │ │ └── FTCURSOR.php │ │ │ │ └── ACL.php │ │ │ ├── TopK │ │ │ │ ├── TOPKQUERY.php │ │ │ │ └── TOPKINCRBY.php │ │ │ ├── EXPIRETIME.php │ │ │ ├── FCALL.php │ │ │ ├── PEXPIRETIME.php │ │ │ ├── BZMPOP.php │ │ │ ├── BITPOS.php │ │ │ ├── BITCOUNT.php │ │ │ ├── WAITAOF.php │ │ │ ├── EVALSHA.php │ │ │ ├── RANDOMKEY.php │ │ │ ├── HTTL.php │ │ │ ├── BGSAVE.php │ │ │ ├── EVAL_RO.php │ │ │ ├── HPERSIST.php │ │ │ ├── HEXPIRETIME.php │ │ │ ├── ZMSCORE.php │ │ │ ├── GEORADIUSBYMEMBER.php │ │ │ └── BGREWRITEAOF.php │ │ ├── Strategy │ │ │ ├── SubcommandStrategyInterface.php │ │ │ ├── ContainerCommands │ │ │ │ └── Functions │ │ │ │ │ ├── DumpStrategy.php │ │ │ │ │ ├── KillStrategy.php │ │ │ │ │ ├── StatsStrategy.php │ │ │ │ │ └── DeleteStrategy.php │ │ │ └── StrategyResolverInterface.php │ │ ├── PrefixableCommandInterface.php │ │ ├── Processor │ │ │ └── ProcessorInterface.php │ │ └── Traits │ │ │ ├── Replace.php │ │ │ └── With │ │ │ └── WithValues.php │ │ ├── ClientException.php │ │ ├── Response │ │ └── ResponseInterface.php │ │ ├── PredisException.php │ │ ├── Cluster │ │ ├── Distributor │ │ │ └── EmptyRingException.php │ │ ├── Hash │ │ │ └── HashGeneratorInterface.php │ │ └── NullSlotRange.php │ │ ├── NotSupportedException.php │ │ ├── Connection │ │ ├── ConnectionException.php │ │ └── Cluster │ │ │ └── ClusterInterface.php │ │ ├── Replication │ │ ├── MissingMasterException.php │ │ └── RoleException.php │ │ └── Protocol │ │ ├── ProtocolException.php │ │ └── RequestSerializerInterface.php ├── league │ ├── uri-interfaces │ │ └── src │ │ │ ├── Contracts │ │ │ ├── UriException.php │ │ │ ├── FragmentInterface.php │ │ │ └── PortInterface.php │ │ │ └── Exceptions │ │ │ ├── SyntaxError.php │ │ │ ├── IdnSupportMissing.php │ │ │ └── FileinfoSupportMissing.php │ └── uri │ │ └── src │ │ └── HttpFactory.php ├── monolog │ └── monolog │ │ └── src │ │ └── Monolog │ │ ├── Handler │ │ ├── MissingExtensionException.php │ │ └── WebRequestRecognizerTrait.php │ │ └── Processor │ │ ├── ProcessIdProcessor.php │ │ └── ProcessorInterface.php └── autoload.php ├── classes └── auth.php ├── .dockerignore ├── app.php ├── docker └── Caddyfile ├── package.json ├── .gitignore ├── composer.json ├── gulpfile.js └── index.php /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | buy_me_a_coffee: johnwarne 2 | -------------------------------------------------------------------------------- /favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/favicon.ico -------------------------------------------------------------------------------- /views/rss.php: -------------------------------------------------------------------------------- 1 | generateRSS(); 5 | 6 | -------------------------------------------------------------------------------- /img/screenshot.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/screenshot.png -------------------------------------------------------------------------------- /img/platforms/lemmy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/platforms/lemmy.png -------------------------------------------------------------------------------- /img/platforms/mbin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/platforms/mbin.png -------------------------------------------------------------------------------- /img/favicons/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/favicons/favicon.ico -------------------------------------------------------------------------------- /img/platforms/github.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/platforms/github.png -------------------------------------------------------------------------------- /img/platforms/lobsters.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/platforms/lobsters.png -------------------------------------------------------------------------------- /img/platforms/piefed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/platforms/piefed.png -------------------------------------------------------------------------------- /img/platforms/reddit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/platforms/reddit.png -------------------------------------------------------------------------------- /vendor/fivefilters/readability.php/.gitignore: -------------------------------------------------------------------------------- 1 | .idea/ 2 | vendor 3 | composer.lock 4 | /test.* 5 | /test/changed/ -------------------------------------------------------------------------------- /img/favicons/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/favicons/favicon-96x96.png -------------------------------------------------------------------------------- /img/platforms/hacker-news.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/platforms/hacker-news.png -------------------------------------------------------------------------------- /img/favicons/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/favicons/apple-touch-icon.png -------------------------------------------------------------------------------- /img/favicons/web-app-manifest-192x192.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/favicons/web-app-manifest-192x192.png -------------------------------------------------------------------------------- /img/favicons/web-app-manifest-512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/johnwarne/upvote-rss/HEAD/img/favicons/web-app-manifest-512x512.png -------------------------------------------------------------------------------- /classes/auth.php: -------------------------------------------------------------------------------- 1 | cleanUpExpired(); 14 | -------------------------------------------------------------------------------- /docker/Caddyfile: -------------------------------------------------------------------------------- 1 | { 2 | frankenphp 3 | } 4 | 5 | localhost { 6 | encode zstd br gzip 7 | php_server { 8 | file_server off 9 | try_files {path} index.php 10 | root /app 11 | } 12 | route / { 13 | encode zstd 14 | } 15 | } -------------------------------------------------------------------------------- /vendor/fivefilters/readability.php/src/Nodes/DOM/DOMAttr.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/erusev/parsedown'), 10 | ); 11 | -------------------------------------------------------------------------------- /vendor/fivefilters/readability.php/src/Nodes/DOM/DOMCharacterData.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | declare(strict_types=1); 13 | 14 | namespace League\Uri\Contracts; 15 | 16 | use Throwable; 17 | 18 | interface UriException extends Throwable 19 | { 20 | } 21 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/ClientException.php: -------------------------------------------------------------------------------- 1 | logger = $logger; 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/league/uri-interfaces/src/Exceptions/SyntaxError.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | declare(strict_types=1); 13 | 14 | namespace League\Uri\Exceptions; 15 | 16 | use League\Uri\Contracts\UriException; 17 | 18 | class SyntaxError extends \InvalidArgumentException implements UriException 19 | { 20 | } 21 | -------------------------------------------------------------------------------- /img/favicons/site.webmanifest: -------------------------------------------------------------------------------- 1 | { 2 | "name": "Upvote RSS", 3 | "short_name": "Upvote", 4 | "icons": [ 5 | { 6 | "src": "/img/favicons/web-app-manifest-192x192.png", 7 | "sizes": "192x192", 8 | "type": "image/png", 9 | "purpose": "maskable" 10 | }, 11 | { 12 | "src": "/img/favicons/web-app-manifest-512x512.png", 13 | "sizes": "512x512", 14 | "type": "image/png", 15 | "purpose": "maskable" 16 | } 17 | ], 18 | "theme_color": "#ffffff", 19 | "background_color": "#ffffff", 20 | "display": "standalone" 21 | } -------------------------------------------------------------------------------- /vendor/league/uri-interfaces/src/Exceptions/IdnSupportMissing.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | declare(strict_types=1); 13 | 14 | namespace League\Uri\Exceptions; 15 | 16 | use League\Uri\Contracts\UriException; 17 | 18 | class IdnSupportMissing extends \RuntimeException implements UriException 19 | { 20 | } 21 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Cluster/Distributor/EmptyRingException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | declare(strict_types=1); 13 | 14 | namespace League\Uri\Exceptions; 15 | 16 | use League\Uri\Contracts\UriException; 17 | 18 | class FileinfoSupportMissing extends \RuntimeException implements UriException 19 | { 20 | } 21 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/GETDEL.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | declare(strict_types=1); 13 | 14 | namespace League\Uri\Contracts; 15 | 16 | interface FragmentInterface extends UriComponentInterface 17 | { 18 | /** 19 | * Returns the decoded fragment. 20 | */ 21 | public function decoded(): ?string; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Replication/MissingMasterException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | declare(strict_types=1); 13 | 14 | namespace League\Uri\Contracts; 15 | 16 | interface PortInterface extends UriComponentInterface 17 | { 18 | /** 19 | * Returns the integer representation of the Port. 20 | */ 21 | public function toInt(): ?int; 22 | } 23 | -------------------------------------------------------------------------------- /vendor/masterminds/html5/UPGRADING.md: -------------------------------------------------------------------------------- 1 | From 1.x to 2.x 2 | ================= 3 | 4 | - All classes uses `Masterminds` namespace. 5 | - All public static methods has been removed from `HTML5` class and the general API to access the HTML5 functionalities has changed. 6 | 7 | Before: 8 | 9 | $dom = \HTML5::loadHTML('....'); 10 | \HTML5::saveHTML($dom); 11 | 12 | After: 13 | 14 | use Masterminds\HTML5; 15 | 16 | $html5 = new HTML5(); 17 | 18 | $dom = $html5->loadHTML('....'); 19 | echo $html5->saveHTML($dom); 20 | 21 | 22 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | /** 15 | * Exception can be thrown if an extension for a handler is missing 16 | * 17 | * @author Christian Bergau 18 | */ 19 | class MissingExtensionException extends \Exception 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Argument/Search/SchemaFields/FieldInterface.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | declare(strict_types=1); 13 | 14 | namespace League\Uri; 15 | 16 | use Psr\Http\Message\UriFactoryInterface; 17 | use Psr\Http\Message\UriInterface; 18 | 19 | final class HttpFactory implements UriFactoryInterface 20 | { 21 | public function createUri(string $uri = ''): UriInterface 22 | { 23 | return Http::createFromString($uri); 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /vendor/monolog/monolog/src/Monolog/Handler/WebRequestRecognizerTrait.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Handler; 13 | 14 | trait WebRequestRecognizerTrait 15 | { 16 | /** 17 | * Checks if PHP's serving a web request 18 | * @return bool 19 | */ 20 | protected function isWebRequest(): bool 21 | { 22 | return 'cli' !== \PHP_SAPI && 'phpdbg' !== \PHP_SAPI; 23 | } 24 | } 25 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/APPEND.php: -------------------------------------------------------------------------------- 1 | =5.3.0" 15 | }, 16 | "autoload": { 17 | "psr-4": { 18 | "Psr\\Log\\": "Psr/Log/" 19 | } 20 | }, 21 | "extra": { 22 | "branch-alias": { 23 | "dev-master": "1.1.x-dev" 24 | } 25 | } 26 | } 27 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Argument/ArrayableArgument.php: -------------------------------------------------------------------------------- 1 | arguments[] = 'INCR'; 25 | 26 | return $this; 27 | } 28 | } 29 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/INCRBYFLOAT.php: -------------------------------------------------------------------------------- 1 | (lead) 2 | Matt Farina [mattfarina] (lead) 3 | Asmir Mustafic [goetas] (contributor) 4 | Edward Z. Yang [ezyang] (contributor) 5 | Geoffrey Sneddon [gsnedders] (contributor) 6 | Kukhar Vasily [ngreduce] (contributor) 7 | Rune Christensen [MrElectronic] (contributor) 8 | Mišo Belica [miso-belica] (contributor) 9 | Asmir Mustafic [goetas] (contributor) 10 | KITAITI Makoto [KitaitiMakoto] (contributor) 11 | Jacob Floyd [cognifloyd] (contributor) 12 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/CountMinSketch/CMSQUERY.php: -------------------------------------------------------------------------------- 1 | array($vendorDir . '/fivefilters/readability.php/src'), 10 | 'Psr\\Log\\' => array($vendorDir . '/psr/log/Psr/Log'), 11 | 'Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'), 12 | 'Predis\\' => array($vendorDir . '/predis/predis/src'), 13 | 'Monolog\\' => array($vendorDir . '/monolog/monolog/src/Monolog'), 14 | 'Masterminds\\' => array($vendorDir . '/masterminds/html5/src'), 15 | 'League\\Uri\\' => array($vendorDir . '/league/uri/src', $vendorDir . '/league/uri-interfaces/src'), 16 | ); 17 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/BloomFilter/BFEXISTS.php: -------------------------------------------------------------------------------- 1 | $obj) { 14 | $sname = substr($name, 1, -1); 15 | $table[$sname] = $obj->characters; 16 | } 17 | 18 | echo ' 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * Adds value of getmypid into records 16 | * 17 | * @author Andreas Hörnicke 18 | */ 19 | class ProcessIdProcessor implements ProcessorInterface 20 | { 21 | /** 22 | * {@inheritDoc} 23 | */ 24 | public function __invoke(array $record): array 25 | { 26 | $record['extra']['process_id'] = getmypid(); 27 | 28 | return $record; 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/BloomFilter/BFLOADCHUNK.php: -------------------------------------------------------------------------------- 1 | 7 | * 8 | * For the full copyright and license information, please view the LICENSE 9 | * file that was distributed with this source code. 10 | */ 11 | 12 | namespace Monolog\Processor; 13 | 14 | /** 15 | * An optional interface to allow labelling Monolog processors. 16 | * 17 | * @author Nicolas Grekas 18 | * 19 | * @phpstan-import-type Record from \Monolog\Logger 20 | */ 21 | interface ProcessorInterface 22 | { 23 | /** 24 | * @return array The processed record 25 | * 26 | * @phpstan-param Record $record 27 | * @phpstan-return Record 28 | */ 29 | public function __invoke(array $record); 30 | } 31 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/Container/ACL.php: -------------------------------------------------------------------------------- 1 | logger) { }` 11 | * blocks. 12 | */ 13 | class NullLogger extends AbstractLogger 14 | { 15 | /** 16 | * Logs with an arbitrary level. 17 | * 18 | * @param mixed $level 19 | * @param string $message 20 | * @param array $context 21 | * 22 | * @return void 23 | * 24 | * @throws \Psr\Log\InvalidArgumentException 25 | */ 26 | public function log($level, $message, array $context = array()) 27 | { 28 | // noop 29 | } 30 | } 31 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/EVALSHA.php: -------------------------------------------------------------------------------- 1 | getArgument(0); 36 | } 37 | } 38 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/RANDOMKEY.php: -------------------------------------------------------------------------------- 1 | member = $member; 27 | } 28 | 29 | /** 30 | * {@inheritDoc} 31 | */ 32 | public function toArray(): array 33 | { 34 | return [self::KEYWORD, $this->member]; 35 | } 36 | } 37 | -------------------------------------------------------------------------------- /vendor/predis/predis/src/Command/Redis/HEXPIRETIME.php: -------------------------------------------------------------------------------- 1 |