Update phpstan and phpstan-doctrine
[MAILPOET-2945]
This commit is contained in:
@ -127,6 +127,7 @@ jobs:
|
|||||||
- .
|
- .
|
||||||
static_analysis:
|
static_analysis:
|
||||||
executor: wpcli_php_mysql_latest
|
executor: wpcli_php_mysql_latest
|
||||||
|
resource_class: medium
|
||||||
steps:
|
steps:
|
||||||
- attach_workspace:
|
- attach_workspace:
|
||||||
at: /home/circleci/mailpoet
|
at: /home/circleci/mailpoet
|
||||||
|
@ -484,7 +484,7 @@ class RoboFile extends \Robo\Tasks {
|
|||||||
$dir = __DIR__;
|
$dir = __DIR__;
|
||||||
$task = implode(' ', [
|
$task = implode(' ', [
|
||||||
'WP_ROOT="' . getenv('WP_ROOT') . '"',
|
'WP_ROOT="' . getenv('WP_ROOT') . '"',
|
||||||
'php -d memory_limit=2G',
|
'php -d memory_limit=-1',
|
||||||
"$dir/tasks/phpstan/vendor/bin/phpstan analyse ",
|
"$dir/tasks/phpstan/vendor/bin/phpstan analyse ",
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"require": {
|
"require": {
|
||||||
"phpstan/phpstan": "0.12.11",
|
"phpstan/phpstan": "0.12.18",
|
||||||
"phpstan/phpstan-doctrine": "0.12.9",
|
"phpstan/phpstan-doctrine": "0.12.10",
|
||||||
"phpstan/phpstan-phpunit": "0.12.6"
|
"phpstan/phpstan-phpunit": "0.12.6"
|
||||||
},
|
},
|
||||||
"autoload": {
|
"autoload": {
|
||||||
|
22
tasks/phpstan/composer.lock
generated
22
tasks/phpstan/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": "e7ba2a1806e53e0b1e80d3e94f1bf38d",
|
"content-hash": "a7171ad5ff5b9f526ac776942d3f5690",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "nikic/php-parser",
|
"name": "nikic/php-parser",
|
||||||
@ -60,16 +60,16 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpstan",
|
"name": "phpstan/phpstan",
|
||||||
"version": "0.12.11",
|
"version": "0.12.18",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpstan/phpstan.git",
|
"url": "https://github.com/phpstan/phpstan.git",
|
||||||
"reference": "ca5f2b7cf81c6d8fba74f9576970399c5817e03b"
|
"reference": "1ce27fe29c8660a27926127d350d53d80c4d4286"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/ca5f2b7cf81c6d8fba74f9576970399c5817e03b",
|
"url": "https://api.github.com/repos/phpstan/phpstan/zipball/1ce27fe29c8660a27926127d350d53d80c4d4286",
|
||||||
"reference": "ca5f2b7cf81c6d8fba74f9576970399c5817e03b",
|
"reference": "1ce27fe29c8660a27926127d350d53d80c4d4286",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -95,20 +95,20 @@
|
|||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"description": "PHPStan - PHP Static Analysis Tool",
|
"description": "PHPStan - PHP Static Analysis Tool",
|
||||||
"time": "2020-02-16T14:00:29+00:00"
|
"time": "2020-03-22T16:51:47+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpstan-doctrine",
|
"name": "phpstan/phpstan-doctrine",
|
||||||
"version": "0.12.9",
|
"version": "0.12.10",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phpstan/phpstan-doctrine.git",
|
"url": "https://github.com/phpstan/phpstan-doctrine.git",
|
||||||
"reference": "af14feb2ed259f9eb16d3107e63d85ed516e30af"
|
"reference": "601f343b05875074454ca72702204592f8844f7d"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/af14feb2ed259f9eb16d3107e63d85ed516e30af",
|
"url": "https://api.github.com/repos/phpstan/phpstan-doctrine/zipball/601f343b05875074454ca72702204592f8844f7d",
|
||||||
"reference": "af14feb2ed259f9eb16d3107e63d85ed516e30af",
|
"reference": "601f343b05875074454ca72702204592f8844f7d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
@ -159,7 +159,7 @@
|
|||||||
"MIT"
|
"MIT"
|
||||||
],
|
],
|
||||||
"description": "Doctrine extensions for PHPStan",
|
"description": "Doctrine extensions for PHPStan",
|
||||||
"time": "2020-01-10T12:31:37+00:00"
|
"time": "2020-03-13T13:03:08+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpstan/phpstan-phpunit",
|
"name": "phpstan/phpstan-phpunit",
|
||||||
|
@ -5,6 +5,8 @@ parameters:
|
|||||||
inferPrivatePropertyTypeFromConstructor: true
|
inferPrivatePropertyTypeFromConstructor: true
|
||||||
autoload_files:
|
autoload_files:
|
||||||
- ../../vendor/autoload.php
|
- ../../vendor/autoload.php
|
||||||
|
parallel:
|
||||||
|
processTimeout: 300.0
|
||||||
ignoreErrors:
|
ignoreErrors:
|
||||||
- '#Function members_register_.+ not found#'
|
- '#Function members_register_.+ not found#'
|
||||||
- '#Cannot assign offset .path. to array<string, int\|string>\|false.#' # bug https://github.com/phpstan/phpstan/issues/1791
|
- '#Cannot assign offset .path. to array<string, int\|string>\|false.#' # bug https://github.com/phpstan/phpstan/issues/1791
|
||||||
|
Reference in New Issue
Block a user