From 7c4d0eb4ec05999ac40434c3d3809615b0309ad7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Juli=C3=A1n=20Guti=C3=A9rrez?= Date: Sat, 7 Mar 2020 00:29:47 +0100 Subject: [PATCH] update dependencies --- .phplint.yml | 6 ++++++ .travis.yml | 2 +- composer.json | 31 ++++++++++++++++--------------- 3 files changed, 23 insertions(+), 16 deletions(-) create mode 100644 .phplint.yml diff --git a/.phplint.yml b/.phplint.yml new file mode 100644 index 0000000..419445b --- /dev/null +++ b/.phplint.yml @@ -0,0 +1,6 @@ +path: ./ +jobs: 10 +cache: .phplint.cache +exclude: + - build + - vendor diff --git a/.travis.yml b/.travis.yml index b834abe..3ba6d2b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ env: php: - 7.2 - 7.3 - - 7.4snapshot + - 7.4 - nightly matrix: diff --git a/composer.json b/composer.json index 06977bf..e800bf3 100644 --- a/composer.json +++ b/composer.json @@ -24,24 +24,25 @@ "prefer-stable": true, "require": { "php": "^7.1", - "phpgears/event": "~0.3.1", - "symfony/event-dispatcher": "^4.3" + "phpgears/event": "~0.3.3", + "symfony/event-dispatcher": "^4.3|^5.0" }, "require-dev": { - "brainmaestro/composer-git-hooks": "^2.1", - "friendsofphp/php-cs-fixer": "^2.0", - "infection/infection": "^0.9", - "phpmd/phpmd": "^2.0", - "phpstan/extension-installer": "^1.0", - "phpstan/phpstan": "~0.11.12", - "phpstan/phpstan-deprecation-rules": "~0.11.2", - "phpstan/phpstan-strict-rules": "~0.11.1", - "phpunit/phpunit": "^7.0|^8.0", - "povils/phpmnd": "^2.0", + "brainmaestro/composer-git-hooks": "^2.8", + "friendsofphp/php-cs-fixer": "^2.16", + "infection/infection": "^0.13|^0.15", + "overtrue/phplint": "^1.2", + "phpmd/phpmd": "^2.8", + "phpstan/extension-installer": "^1.0.3", + "phpstan/phpstan": "^0.12", + "phpstan/phpstan-deprecation-rules": "^0.12", + "phpstan/phpstan-strict-rules": "^0.12", + "phpunit/phpunit": "^7.5|^8.0", + "povils/phpmnd": "^2.1", "roave/security-advisories": "dev-master", "sebastian/phpcpd": "^4.0", - "squizlabs/php_codesniffer": "^3.0", - "thecodingmachine/phpstan-strict-rules": "~0.11.2" + "squizlabs/php_codesniffer": "^3.5", + "thecodingmachine/phpstan-strict-rules": "^0.12" }, "suggest": { }, @@ -65,7 +66,7 @@ "cghooks": "cghooks", "post-install-cmd": "cghooks add --ignore-lock", "post-update-cmd": "cghooks update", - "lint-php": "php -l src && php -l tests", + "lint-php": "phplint --configuration=.phplint.yml", "lint-phpcs": "phpcs --standard=PSR2 src tests", "lint-phpcs-fixer": "php-cs-fixer fix --config=.php_cs --dry-run --verbose", "fix-phpcs": "php-cs-fixer fix --config=.php_cs --verbose",