diff --git a/composer.json b/composer.json index c9ff47a..135b233 100755 --- a/composer.json +++ b/composer.json @@ -33,7 +33,8 @@ "ext-mbstring": "*" }, "require-dev": { - "monolog/monolog": "^2.8" + "phpstan/phpstan": "^1.9", + "webmasterskaya/crypto-pro-php-stubs": "^1.0" }, "autoload": { "psr-4": { @@ -45,5 +46,8 @@ "preferred-install": "dist", "sort-packages": true, "process-timeout": 3600 + }, + "scripts": { + "phpstan": "phpstan analyse" } } diff --git a/composer.lock b/composer.lock index 9b73585..0432680 100644 --- a/composer.lock +++ b/composer.lock @@ -4,138 +4,90 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "87ab34b8c660381e90787ea3f956f078", + "content-hash": "f3e18e3b232f3c425afb730e38714eea", "packages": [], "packages-dev": [ { - "name": "monolog/monolog", - "version": "2.8.0", + "name": "phpstan/phpstan", + "version": "1.9.1", "source": { "type": "git", - "url": "https://github.com/Seldaek/monolog.git", - "reference": "720488632c590286b88b80e62aa3d3d551ad4a50" + "url": "https://github.com/phpstan/phpstan.git", + "reference": "a59c8b5bfd4a236f27efc8b5ce72c313c2b54b5f" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Seldaek/monolog/zipball/720488632c590286b88b80e62aa3d3d551ad4a50", - "reference": "720488632c590286b88b80e62aa3d3d551ad4a50", + "url": "https://api.github.com/repos/phpstan/phpstan/zipball/a59c8b5bfd4a236f27efc8b5ce72c313c2b54b5f", + "reference": "a59c8b5bfd4a236f27efc8b5ce72c313c2b54b5f", "shasum": "" }, "require": { - "php": ">=7.2", - "psr/log": "^1.0.1 || ^2.0 || ^3.0" + "php": "^7.2|^8.0" }, - "provide": { - "psr/log-implementation": "1.0.0 || 2.0.0 || 3.0.0" - }, - "require-dev": { - "aws/aws-sdk-php": "^2.4.9 || ^3.0", - "doctrine/couchdb": "~1.0@dev", - "elasticsearch/elasticsearch": "^7 || ^8", - "ext-json": "*", - "graylog2/gelf-php": "^1.4.2", - "guzzlehttp/guzzle": "^7.4", - "guzzlehttp/psr7": "^2.2", - "mongodb/mongodb": "^1.8", - "php-amqplib/php-amqplib": "~2.4 || ^3", - "phpspec/prophecy": "^1.15", - "phpstan/phpstan": "^0.12.91", - "phpunit/phpunit": "^8.5.14", - "predis/predis": "^1.1 || ^2.0", - "rollbar/rollbar": "^1.3 || ^2 || ^3", - "ruflin/elastica": "^7", - "swiftmailer/swiftmailer": "^5.3|^6.0", - "symfony/mailer": "^5.4 || ^6", - "symfony/mime": "^5.4 || ^6" - }, - "suggest": { - "aws/aws-sdk-php": "Allow sending log messages to AWS services like DynamoDB", - "doctrine/couchdb": "Allow sending log messages to a CouchDB server", - "elasticsearch/elasticsearch": "Allow sending log messages to an Elasticsearch server via official client", - "ext-amqp": "Allow sending log messages to an AMQP server (1.0+ required)", - "ext-curl": "Required to send log messages using the IFTTTHandler, the LogglyHandler, the SendGridHandler, the SlackWebhookHandler or the TelegramBotHandler", - "ext-mbstring": "Allow to work properly with unicode symbols", - "ext-mongodb": "Allow sending log messages to a MongoDB server (via driver)", - "ext-openssl": "Required to send log messages using SSL", - "ext-sockets": "Allow sending log messages to a Syslog server (via UDP driver)", - "graylog2/gelf-php": "Allow sending log messages to a GrayLog2 server", - "mongodb/mongodb": "Allow sending log messages to a MongoDB server (via library)", - "php-amqplib/php-amqplib": "Allow sending log messages to an AMQP server using php-amqplib", - "rollbar/rollbar": "Allow sending log messages to Rollbar", - "ruflin/elastica": "Allow sending log messages to an Elastic Search server" + "conflict": { + "phpstan/phpstan-shim": "*" }, + "bin": [ + "phpstan", + "phpstan.phar" + ], "type": "library", - "extra": { - "branch-alias": { - "dev-main": "2.x-dev" - } - }, "autoload": { - "psr-4": { - "Monolog\\": "src/Monolog" - } + "files": [ + "bootstrap.php" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ "MIT" ], - "authors": [ - { - "name": "Jordi Boggiano", - "email": "j.boggiano@seld.be", - "homepage": "https://seld.be" - } - ], - "description": "Sends your logs to files, sockets, inboxes, databases and various web services", - "homepage": "https://github.com/Seldaek/monolog", + "description": "PHPStan - PHP Static Analysis Tool", "keywords": [ - "log", - "logging", - "psr-3" + "dev", + "static analysis" ], "support": { - "issues": "https://github.com/Seldaek/monolog/issues", - "source": "https://github.com/Seldaek/monolog/tree/2.8.0" + "issues": "https://github.com/phpstan/phpstan/issues", + "source": "https://github.com/phpstan/phpstan/tree/1.9.1" }, "funding": [ { - "url": "https://github.com/Seldaek", + "url": "https://github.com/ondrejmirtes", "type": "github" }, { - "url": "https://tidelift.com/funding/github/packagist/monolog/monolog", + "url": "https://github.com/phpstan", + "type": "github" + }, + { + "url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan", "type": "tidelift" } ], - "time": "2022-07-24T11:55:47+00:00" + "time": "2022-11-04T13:35:59+00:00" }, { - "name": "psr/log", - "version": "1.1.4", + "name": "webmasterskaya/crypto-pro-php-stubs", + "version": "1.0.2", "source": { "type": "git", - "url": "https://github.com/php-fig/log.git", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11" + "url": "https://github.com/webmasterskaya/crypto-pro-php-stubs.git", + "reference": "cc216cfde1eafdab824996ef629df4db1c658834" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/php-fig/log/zipball/d49695b909c3b7628b6289db5479a1c204601f11", - "reference": "d49695b909c3b7628b6289db5479a1c204601f11", + "url": "https://api.github.com/repos/webmasterskaya/crypto-pro-php-stubs/zipball/cc216cfde1eafdab824996ef629df4db1c658834", + "reference": "cc216cfde1eafdab824996ef629df4db1c658834", "shasum": "" }, "require": { - "php": ">=5.3.0" + "php": ">7.2 <8.0" }, "type": "library", - "extra": { - "branch-alias": { - "dev-master": "1.1.x-dev" - } - }, "autoload": { - "psr-4": { - "Psr\\Log\\": "Psr/Log/" - } + "classmap": [ + "src/" + ] }, "notification-url": "https://packagist.org/downloads/", "license": [ @@ -143,21 +95,28 @@ ], "authors": [ { - "name": "PHP-FIG", - "homepage": "https://www.php-fig.org/" + "name": "Artem Vasilev", + "email": "kern.usr@gmail.com" } ], - "description": "Common interface for logging libraries", - "homepage": "https://github.com/php-fig/log", + "description": "Самая полная библиотека подсказок IDE libphpcades (КриптоПро), которая обеспечивает автозаполнение в современных IDE.", "keywords": [ - "log", - "psr", - "psr-3" + "Devtools", + "Eclipse", + "autocomplete", + "cryptopro", + "ide", + "netbeans", + "phpstorm", + "stub", + "stubs", + "КриптоПро" ], "support": { - "source": "https://github.com/php-fig/log/tree/1.1.4" + "issues": "https://github.com/webmasterskaya/crypto-pro-php-stubs/issues", + "source": "https://github.com/webmasterskaya/crypto-pro-php-stubs" }, - "time": "2021-05-03T11:20:27+00:00" + "time": "2022-11-09T18:59:03+00:00" } ], "aliases": [], @@ -166,7 +125,8 @@ "prefer-stable": false, "prefer-lowest": false, "platform": { - "php": ">7.2 <8.0" + "php": ">7.2 <8.0", + "ext-mbstring": "*" }, "platform-dev": [], "plugin-api-version": "2.1.0"