mirror of
https://github.com/OPSnet/Logchecker.git
synced 2026-01-16 18:04:27 -05:00
Update phpstan to latest version
This commit is contained in:
@@ -24,7 +24,7 @@
|
|||||||
},
|
},
|
||||||
"bin": ["bin/logchecker"],
|
"bin": ["bin/logchecker"],
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"phpstan/phpstan": "^0.12",
|
"phpstan/phpstan": "^1.10",
|
||||||
"phpunit/phpunit": "^9.6",
|
"phpunit/phpunit": "^9.6",
|
||||||
"squizlabs/php_codesniffer": "^3.8.0",
|
"squizlabs/php_codesniffer": "^3.8.0",
|
||||||
"brainmaestro/composer-git-hooks": "^2.8"
|
"brainmaestro/composer-git-hooks": "^2.8"
|
||||||
|
|||||||
32
composer.lock
generated
32
composer.lock
generated
@@ -4,7 +4,7 @@
|
|||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "bf56ce773b43895aee3bbca6896deebd",
|
"content-hash": "8749a8b748b96c7746990d2d20fecb51",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "psr/container",
|
"name": "psr/container",
|
||||||
@@ -1395,20 +1395,20 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpstan",
|
"name": "phpstan/phpstan",
|
||||||
"version": "0.12.43",
|
"version": "1.10.50",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpstan/phpstan.git",
|
"url": "https://github.com/phpstan/phpstan.git",
|
||||||
"reference": "54221b44766cb4bdfe40d1828d5bba5dd79c38c6"
|
"reference": "06a98513ac72c03e8366b5a0cb00750b487032e4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/54221b44766cb4bdfe40d1828d5bba5dd79c38c6",
|
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/06a98513ac72c03e8366b5a0cb00750b487032e4",
|
||||||
"reference": "54221b44766cb4bdfe40d1828d5bba5dd79c38c6",
|
"reference": "06a98513ac72c03e8366b5a0cb00750b487032e4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"php": "^7.1|^8.0"
|
"php": "^7.2|^8.0"
|
||||||
},
|
},
|
||||||
"conflict": {
|
"conflict": {
|
||||||
"phpstan/phpstan-shim": "*"
|
"phpstan/phpstan-shim": "*"
|
||||||
@@ -1418,11 +1418,6 @@
|
|||||||
"phpstan.phar"
|
"phpstan.phar"
|
||||||
],
|
],
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
|
||||||
"branch-alias": {
|
|
||||||
"dev-master": "0.12-dev"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"autoload": {
|
"autoload": {
|
||||||
"files": [
|
"files": [
|
||||||
"bootstrap.php"
|
"bootstrap.php"
|
||||||
@@ -1433,9 +1428,16 @@
|
|||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"description": "PHPStan - PHP Static Analysis Tool",
|
"description": "PHPStan - PHP Static Analysis Tool",
|
||||||
|
"keywords": [
|
||||||
|
"dev",
|
||||||
|
"static analysis"
|
||||||
|
],
|
||||||
"support": {
|
"support": {
|
||||||
|
"docs": "https://phpstan.org/user-guide/getting-started",
|
||||||
|
"forum": "https://github.com/phpstan/phpstan/discussions",
|
||||||
"issues": "https://github.com/phpstan/phpstan/issues",
|
"issues": "https://github.com/phpstan/phpstan/issues",
|
||||||
"source": "https://github.com/phpstan/phpstan/tree/0.12.43"
|
"security": "https://github.com/phpstan/phpstan/security/policy",
|
||||||
|
"source": "https://github.com/phpstan/phpstan-src"
|
||||||
},
|
},
|
||||||
"funding": [
|
"funding": [
|
||||||
{
|
{
|
||||||
@@ -1443,15 +1445,15 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "https://www.patreon.com/phpstan",
|
"url": "https://github.com/phpstan",
|
||||||
"type": "patreon"
|
"type": "github"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
|
"url": "https://tidelift.com/funding/github/packagist/phpstan/phpstan",
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2020-09-19T21:19:38+00:00"
|
"time": "2023-12-13T10:59:42+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-code-coverage",
|
"name": "phpunit/php-code-coverage",
|
||||||
|
|||||||
11
phpstan-baseline.neon
Normal file
11
phpstan-baseline.neon
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
parameters:
|
||||||
|
ignoreErrors:
|
||||||
|
-
|
||||||
|
message: "#^Property OrpheusNET\\\\Logchecker\\\\Logchecker\\:\\:\\$ARSummary is never read, only written\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: src/Logchecker.php
|
||||||
|
|
||||||
|
-
|
||||||
|
message: "#^Property OrpheusNET\\\\Logchecker\\\\Logchecker\\:\\:\\$ARTracks is never read, only written\\.$#"
|
||||||
|
count: 1
|
||||||
|
path: src/Logchecker.php
|
||||||
@@ -1,2 +1,5 @@
|
|||||||
|
includes:
|
||||||
|
- phpstan-baseline.neon
|
||||||
|
|
||||||
parameters:
|
parameters:
|
||||||
level: 5
|
level: 5
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ use Symfony\Component\Process\Process;
|
|||||||
*/
|
*/
|
||||||
class Chardet
|
class Chardet
|
||||||
{
|
{
|
||||||
private static $executable = null;
|
protected static $executable = null;
|
||||||
private $executables = [
|
private $executables = [
|
||||||
'cchardetect',
|
'cchardetect',
|
||||||
'chardetect',
|
'chardetect',
|
||||||
|
|||||||
Reference in New Issue
Block a user