Skip to content

Commit 3a38670

Browse files
committed
require php7
tests
1 parent dbc5b15 commit 3a38670

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

composer.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
],
2828

2929
"require": {
30+
"php": "^7",
3031
"ailixter/gears": "master-dev"
3132
}
3233
}

test/example/TestStrictPropsDerivedTest.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,16 +40,15 @@ public function testNotInKeys()
4040
}
4141

4242
/**
43-
* @expectedException PHPUnit_Framework_Error_Notice
43+
* @expectedException PHPUnit\Framework\Error\Notice
4444
*/
4545
public function testPrivateGet()
4646
{
47-
$this->expectException(Notice::class);
4847
self::assertEmpty($this->object->notdata);
4948
}
5049

5150
/**
52-
* @expectedException PHPUnit_Framework_Error_Notice
51+
* @expectedException \PHPUnit\Framework\Error\Notice
5352
*/
5453
public function testPrivateSet()
5554
{

0 commit comments

Comments
 (0)