Skip to content

Commit 4cef903

Browse files
committed
Move composer scripts to examples
1 parent ef59520 commit 4cef903

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

composer.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,5 @@
2929
}
3030
},
3131
"minimum-stability": "dev",
32-
"prefer-stable": true,
33-
"scripts": {
34-
"post-install-cmd": "PHPStan\\WordPress\\Composer\\FixWpStubs::php73Polyfill",
35-
"post-update-cmd": "PHPStan\\WordPress\\Composer\\FixWpStubs::php73Polyfill"
36-
}
32+
"prefer-stable": true
3733
}

example/composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,9 @@
1515
"psr-4": {
1616
"": "inc/"
1717
}
18+
},
19+
"scripts": {
20+
"post-install-cmd": "PHPStan\\WordPress\\Composer\\FixWpStubs::php73Polyfill",
21+
"post-update-cmd": "PHPStan\\WordPress\\Composer\\FixWpStubs::php73Polyfill"
1822
}
1923
}

0 commit comments

Comments
 (0)