Skip to content

Commit 29a8e9a

Browse files
committed
Add magento/framework as composer dev dependency
This avoids problems when running phpstan within phpunit and Magento classes not being loadable.
1 parent 8c0d356 commit 29a8e9a

File tree

3 files changed

+2997
-131
lines changed

3 files changed

+2997
-131
lines changed

composer.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
"config": {
77
"sort-packages": true
88
},
9-
109
"license": "MIT",
1110
"authors": [
1211
{
@@ -24,6 +23,7 @@
2423
"bitexpert/phing-securitychecker": "^0.4.0",
2524
"captainhook/captainhook": "^5.1.2",
2625
"captainhook/plugin-composer": "^5.1.3",
26+
"magento/framework": "^102.0",
2727
"mikey179/vfsstream": "^1.6",
2828
"nikic/php-parser": "^4.3",
2929
"phing/phing": "^2.16",
@@ -57,5 +57,11 @@
5757
"extension.neon"
5858
]
5959
}
60-
}
60+
},
61+
"repositories": [
62+
{
63+
"type": "composer",
64+
"url": "https://repo.magento.com/"
65+
}
66+
]
6167
}

0 commit comments

Comments
 (0)