Skip to content

Commit 478cf9e

Browse files
committed
update: 锁定测试用的版本,避免兼容问题
1 parent b01dbee commit 478cf9e

File tree

3 files changed

+3
-1
lines changed

3 files changed

+3
-1
lines changed

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
"yurunsoft/doctrine-annotations": "^1.104.3"
2323
},
2424
"require-dev": {
25-
"imiphp/imi": "3.0.x-dev",
25+
"imiphp/imi": "3.0.x-dev#36c5270",
2626
"php-cs-fixer/shim": "~3.35.1",
2727
"phpunit/phpunit": "^10.4",
2828
"symfony/var-dumper": "^6.3"

tests/CodeRewriteTest.php

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ public static function rewriteCodeDataProvider(): \Generator
7373
#[Facade(class: \Imi\Server\WebSocket\Route\Annotation\WSConfig::class)]
7474
#[Bean(name: 'hotUpdate', env: 'cli')]
7575
#[Listener(eventName: 'IMI.APP_RUN', priority: 19940312, one: true)]
76+
#[Listener]
7677
class TestClass1
7778
{
7879
public const DESCRIPTORSPEC = [

tests/Stub/TestClass1.php

+1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@
2424
* @Bean(name="hotUpdate", env="cli")
2525
*
2626
* @Listener(eventName="IMI.APP_RUN", priority=ImiPriority::IMI_MAX, one=true)
27+
* @Listener()
2728
*/
2829
#[Bean(name: 'test456', env: 'fpm')]
2930
class TestClass1

0 commit comments

Comments
 (0)