Skip to content

Commit b0d4cb9

Browse files
committed
Open 0.10-dev
1 parent 07900ae commit b0d4cb9

File tree

3 files changed

+15
-16
lines changed

3 files changed

+15
-16
lines changed

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
language: php
22
php:
3-
- 7.0
43
- 7.1
54
- 7.2
65
before_script:

composer.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@
66
"prefer-stable": true,
77
"extra": {
88
"branch-alias": {
9-
"dev-master": "0.9-dev"
9+
"dev-master": "0.10-dev"
1010
}
1111
},
1212
"require": {
13-
"php": "~7.0",
14-
"phpstan/phpstan": "^0.9",
13+
"php": "~7.1",
14+
"phpstan/phpstan": "^0.10",
1515
"dibi/dibi": "~3.0"
1616
},
1717
"require-dev": {
1818
"consistence/coding-standard": "~0.13.0",
1919
"jakub-onderka/php-parallel-lint": "^0.9.2",
2020
"phing/phing": "^2.13.0",
21-
"phpstan/phpstan-phpunit": "^0.9",
22-
"phpstan/phpstan-strict-rules": "^0.9",
23-
"phpunit/phpunit": "^6.4",
21+
"phpstan/phpstan-phpunit": "^0.10",
22+
"phpstan/phpstan-strict-rules": "^0.10",
23+
"phpunit/phpunit": "^7.0",
2424
"satooshi/php-coveralls": "^1.0",
2525
"slevomat/coding-standard": "^2.0"
2626
},

tests/Reflection/Dibi/DibiFluentClassReflectionExtensionTest.php

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -39,21 +39,21 @@ public function dataHasMethod(): array
3939
public function testHasMethod(string $className, bool $result)
4040
{
4141
$classReflection = $this->broker->getClass($className);
42-
$this->assertSame($result, $this->extension->hasMethod($classReflection, 'select'));
42+
self::assertSame($result, $this->extension->hasMethod($classReflection, 'select'));
4343
}
4444

4545
public function testGetMethod()
4646
{
4747
$classReflection = $this->broker->getClass(\Dibi\Fluent::class);
4848
$methodReflection = $this->extension->getMethod($classReflection, 'select');
49-
$this->assertSame('select', $methodReflection->getName());
50-
$this->assertSame($classReflection, $methodReflection->getDeclaringClass());
51-
$this->assertFalse($methodReflection->isStatic());
52-
$this->assertEmpty($methodReflection->getParameters());
53-
$this->assertTrue($methodReflection->isVariadic());
54-
$this->assertFalse($methodReflection->isPrivate());
55-
$this->assertTrue($methodReflection->isPublic());
56-
$this->assertSame(\Dibi\Fluent::class, $methodReflection->getReturnType()->describe());
49+
self::assertSame('select', $methodReflection->getName());
50+
self::assertSame($classReflection, $methodReflection->getDeclaringClass());
51+
self::assertFalse($methodReflection->isStatic());
52+
self::assertEmpty($methodReflection->getParameters());
53+
self::assertTrue($methodReflection->isVariadic());
54+
self::assertFalse($methodReflection->isPrivate());
55+
self::assertTrue($methodReflection->isPublic());
56+
self::assertSame(\Dibi\Fluent::class, $methodReflection->getReturnType()->describe());
5757
}
5858

5959
}

0 commit comments

Comments
 (0)