Skip to content

Commit

Permalink
update: 锁定测试用的版本,避免兼容问题
Browse files Browse the repository at this point in the history
  • Loading branch information
NHZEX committed Feb 17, 2024
1 parent b01dbee commit 478cf9e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"yurunsoft/doctrine-annotations": "^1.104.3"
},
"require-dev": {
"imiphp/imi": "3.0.x-dev",
"imiphp/imi": "3.0.x-dev#36c5270",
"php-cs-fixer/shim": "~3.35.1",
"phpunit/phpunit": "^10.4",
"symfony/var-dumper": "^6.3"
Expand Down
1 change: 1 addition & 0 deletions tests/CodeRewriteTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ public static function rewriteCodeDataProvider(): \Generator
#[Facade(class: \Imi\Server\WebSocket\Route\Annotation\WSConfig::class)]
#[Bean(name: 'hotUpdate', env: 'cli')]
#[Listener(eventName: 'IMI.APP_RUN', priority: 19940312, one: true)]
#[Listener]
class TestClass1
{
public const DESCRIPTORSPEC = [
Expand Down
1 change: 1 addition & 0 deletions tests/Stub/TestClass1.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
* @Bean(name="hotUpdate", env="cli")
*
* @Listener(eventName="IMI.APP_RUN", priority=ImiPriority::IMI_MAX, one=true)
* @Listener()
*/
#[Bean(name: 'test456', env: 'fpm')]
class TestClass1
Expand Down

0 comments on commit 478cf9e

Please sign in to comment.