Skip to content

Commit a1605eb

Browse files
authored
Load dev shell scripts as composer module (#2853)
1 parent 19e34ed commit a1605eb

File tree

6 files changed

+122
-526
lines changed

6 files changed

+122
-526
lines changed

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,3 +76,7 @@
7676

7777
phpstan*.neon
7878
!phpstan.dist.*.neon
79+
80+
# dev scripts loaded via composer
81+
/shell/update-copyright.php
82+
/shell/translations.php

composer.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
"friendsofphp/php-cs-fixer": "^3.4",
3737
"macopedia/phpstan-magento1": "^1.0.4",
3838
"magento-ecg/coding-standard": "^4.5",
39+
"openmage/dev-meta-package": "^1.0",
3940
"phpcompatibility/php-compatibility": "^9.3",
4041
"phpmd/phpmd": "^2.13",
4142
"phpstan/phpstan": "^1.9.4",
@@ -46,6 +47,8 @@
4647
"conflict": {
4748
"n98/n98_layouthelper": "*"
4849
},
50+
"minimum-stability": "dev",
51+
"prefer-stable" : true,
4952
"authors": [
5053
{
5154
"name": "Lee Saferite",
@@ -84,6 +87,10 @@
8487
"magento-root-dir": ".",
8588
"magento-deploystrategy": "copy",
8689
"magento-deploystrategy-dev": "symlink",
90+
"magento-deploystrategy-overwrite": {
91+
"openmage/dev-copyright": "copy",
92+
"openmage/dev-translations": "copy"
93+
},
8794
"magento-force": true,
8895
"patches": {
8996
"shardj/zf1-future": {

composer.lock

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

phpstan.dist.baseline.neon

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7829,8 +7829,3 @@ parameters:
78297829
message: "#^Strict comparison using \\=\\=\\= between string and false will always evaluate to false\\.$#"
78307830
count: 1
78317831
path: lib/Varien/Simplexml/Config.php
7832-
7833-
-
7834-
message: "#^Strict comparison using \\=\\=\\= between '' and 'dump' will always evaluate to false\\.$#"
7835-
count: 1
7836-
path: shell/update-copyright.php

0 commit comments

Comments
 (0)