We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e0e537 commit b7422baCopy full SHA for b7422ba
2 files changed
.github/workflows/autocheckers.yml
@@ -36,6 +36,7 @@ jobs:
36
- 'composer.json'
37
- 'composer.lock'
38
- '**.php'
39
+ - build/autoloaderchecker.sh
40
41
autoloader:
42
runs-on: ubuntu-latest
build/autoloaderchecker.sh
@@ -34,6 +34,13 @@ echo
34
echo "Regenerating main autoloader"
35
$COMPOSER_COMMAND dump-autoload -d $REPODIR
+FOUND_COMPOSER_BIN=$(grep --recursive --fixed-strings 'Bamarni\\Composer\\Bin' $REPODIR/lib/composer/composer/)
+if [ -n "$FOUND_COMPOSER_BIN" ]; then
+ echo "The main autoloader contains the composer bin plugin"
+ echo "Run composer again with --no-dev and commit the result"
+ exit 1
+fi
43
+
44
for app in ${REPODIR}/apps/*; do
45
if git check-ignore ${app} -q ; then
46
echo
0 commit comments