Skip to content

Commit cfe9e2a

Browse files
committed
Cache fail reproduction
1 parent 6432cbe commit cfe9e2a

File tree

12 files changed

+2040
-0
lines changed

12 files changed

+2040
-0
lines changed

.github/workflows/other-tests.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -355,6 +355,16 @@ jobs:
355355
script: |
356356
cd e2e/progress-bar-crash
357357
../../phpstan analyse -l 8 src/test.php -vvv
358+
- php-version: 8.2
359+
ini-values: memory_limit=256M
360+
operating-system: ubuntu-latest
361+
script: |
362+
cd e2e/discussion-8502
363+
composer install
364+
cp ../../phpstan vendor/phpstan/phpstan/phpstan
365+
cp ../../phpstan.phar vendor/phpstan/phpstan/phpstan.phar
366+
cp ../../bootstrap.php vendor/phpstan/phpstan/bootstrap.php
367+
vendor/bin/phpunit tests
358368
359369
steps:
360370
- name: "Checkout"

e2e/discussion-8502/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
/vendor

e2e/discussion-8502/composer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
{
2+
"name": "canvural/bug",
3+
"type": "phpstan-extension",
4+
"require": {
5+
"php": "^8",
6+
"phpstan/phpstan": "^1.9",
7+
"psr/container": "^2.0"
8+
},
9+
"autoload": {
10+
"psr-4": {
11+
"Canvural\\Bug\\": "src/"
12+
}
13+
},
14+
"autoload-dev": {
15+
"classmap": [
16+
"tests/"
17+
]
18+
},
19+
"authors": [
20+
{
21+
"name": "Can Vural",
22+
"email": "can9119@gmail.com"
23+
}
24+
],
25+
"require-dev": {
26+
"phpunit/phpunit": "^9.5"
27+
}
28+
}

0 commit comments

Comments
 (0)