Skip to content

Commit dd799b3

Browse files
authored
Merge pull request #25 from shochdoerfer/feature/phpunit_upgrade
Upgrade PHPUnit dependency
2 parents 0db0ea5 + b164daf commit dd799b3

File tree

3 files changed

+163
-52
lines changed

3 files changed

+163
-52
lines changed

composer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
"description": "PHPStan Magento Extension",
44
"type": "phpstan-extension",
55
"minimum-stability": "stable",
6+
"config": {
7+
"sort-packages": true
8+
},
9+
610
"license": "MIT",
711
"authors": [
812
{
@@ -18,7 +22,8 @@
1822
"require-dev": {
1923
"captainhook/captainhook": "^5.1.2",
2024
"captainhook/plugin-composer": "^5.1.3",
21-
"phpunit/phpunit": "^7.5",
25+
"nikic/php-parser": "^4.3",
26+
"phpunit/phpunit": "^8.5.3",
2227
"squizlabs/php_codesniffer": "^3.4",
2328
"phing/phing": "^2.16",
2429
"bitexpert/phing-securitychecker": "^0.4.0"

composer.lock

Lines changed: 157 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/bitExpert/PHPStan/Magento/Type/ObjectManagerDynamicReturnTypeExtensionUnitTest.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,11 @@
1313
namespace PHPStan\Magento\Type;
1414

1515
use bitExpert\PHPStan\Magento\Type\ObjectManagerDynamicReturnTypeExtension;
16-
use PhpParser\Node\Arg;
17-
use PhpParser\Node\Expr;
1816
use PhpParser\Node\Expr\MethodCall;
1917
use PHPStan\Analyser\Scope;
2018
use PHPStan\Reflection\MethodReflection;
2119
use PHPStan\Testing\TestCase;
2220
use PHPStan\Type\MixedType;
23-
use PHPStan\Type\ObjectType;
24-
use PHPUnit\Util\Type;
2521

2622
class ObjectManagerDynamicReturnTypeExtensionUnitTest extends TestCase
2723
{

0 commit comments

Comments
 (0)