Skip to content

Commit

Permalink
fix swoole version error
Browse files Browse the repository at this point in the history
  • Loading branch information
inhere committed May 1, 2021
1 parent 0c92ee3 commit 671049b
Show file tree
Hide file tree
Showing 29 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/annotation/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/aop/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/bean/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
8 changes: 4 additions & 4 deletions src/bean/test/unit/InterfaceTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ public function testGetName(): void
$testInterface = BF::getBean(InterfaceBean::class);

$name = $testInterface->getName();
$this->assertContains('Interface', $name);
$this->assertStringContainsString('Interface', $name);

$name2 = $testInterface->getName2();
$this->assertEquals('InterfaceTwo', $name2);
$this->assertStringContainsString('InterfaceTwo', $name2);

$name3 = $testInterface->getName3();
$this->assertEquals('InterfaceOne', $name3);
$this->assertStringContainsString('InterfaceOne', $name3);

$faceClass = TestInterface::class;

Expand All @@ -67,7 +67,7 @@ public function testGetPname(): void
$testInterface = BeanFactory::getBean(InterfaceBean::class);

$name = $testInterface->getPname();
$this->assertContains('Primary', $name);
$this->assertStringContainsString('Primary', $name);

$name3 = $testInterface->getPname2();
$this->assertEquals('PrimaryInterfaceThree', $name3);
Expand Down
2 changes: 1 addition & 1 deletion src/config/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/connection-pool/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/console/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/db/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/error/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/event/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/framework/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/http-message/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/http-server/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/i18n/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/log/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/process/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/proxy/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/redis/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/rpc-client/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/rpc-server/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/rpc/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/server/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/stdlib/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/task/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/tcp-server/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/tcp/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/validator/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion src/websocket-server/.github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
include:
- os: 'ubuntu-latest'
php: '7.1'
swoole-versions: '-4.5.24'
swoole-versions: '-4.5.11'

steps:
- uses: actions/checkout@v2
Expand Down

0 comments on commit 671049b

Please sign in to comment.