mirror of
https://github.com/danog/jit_bugs.git
synced 2024-11-26 12:04:52 +01:00
Add new reproducer
This commit is contained in:
parent
b4780afc13
commit
f1eabb7a38
0
Dockerfile
Normal file → Executable file
0
Dockerfile
Normal file → Executable file
1
README.md
Normal file → Executable file
1
README.md
Normal file → Executable file
@ -16,3 +16,4 @@ Tested on fa218eab4a9b5304afb871a4405546068cb65008
|
|||||||
6. php-parser (unit): always fails
|
6. php-parser (unit): always fails
|
||||||
7. Psalm (master, unit): always fails
|
7. Psalm (master, unit): always fails
|
||||||
8. Psalm (patched master, unit): always fails
|
8. Psalm (patched master, unit): always fails
|
||||||
|
9. Composer: always fails
|
||||||
|
22
bugs/9_composer.json
Normal file
22
bugs/9_composer.json
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
{
|
||||||
|
"name": "test/testovich",
|
||||||
|
"description": "test",
|
||||||
|
"type": "library",
|
||||||
|
"license": "proprietary",
|
||||||
|
"autoload": {
|
||||||
|
"psr-4": {
|
||||||
|
"Test\\Http\\": "src/"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"require": {
|
||||||
|
"php": ">=8.0",
|
||||||
|
"ext-json": "*",
|
||||||
|
"phpoffice/phpspreadsheet": "^1.9.0"
|
||||||
|
},
|
||||||
|
"config": {
|
||||||
|
"allow-plugins": {
|
||||||
|
"composer/package-versions-deprecated": true,
|
||||||
|
"dealerdirect/phpcodesniffer-composer-installer": true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
23
bugs/9_composer.sh
Executable file
23
bugs/9_composer.sh
Executable file
@ -0,0 +1,23 @@
|
|||||||
|
#!/bin/bash -e
|
||||||
|
|
||||||
|
standalone=$PWD/bugs/wrap.php
|
||||||
|
c=$PWD/bugs/9_composer.json
|
||||||
|
|
||||||
|
cd /tmp
|
||||||
|
|
||||||
|
mkdir -p test
|
||||||
|
|
||||||
|
cd test
|
||||||
|
|
||||||
|
mkdir -p src
|
||||||
|
|
||||||
|
docker run -v $PWD:/app --rm --privileged -it asan_tests rm -rf vendor composer.lock
|
||||||
|
|
||||||
|
cp $standalone .
|
||||||
|
cp $c composer.json
|
||||||
|
|
||||||
|
echo "About to run composer"
|
||||||
|
|
||||||
|
docker run -v $PWD:/app --rm --privileged -it asan_tests /usr/bin/php --repeat 2 -f /app/wrap.php /usr/bin/composer update
|
||||||
|
|
||||||
|
echo "OK, no bugs!"
|
0
composer.json
Normal file → Executable file
0
composer.json
Normal file → Executable file
0
composer.lock
generated
Normal file → Executable file
0
composer.lock
generated
Normal file → Executable file
0
refactor.php
Normal file → Executable file
0
refactor.php
Normal file → Executable file
Loading…
Reference in New Issue
Block a user