Skip to content

Commit 6182dea

Browse files
committed
Updated dependencies (php>=7.3)
1 parent 05a6294 commit 6182dea

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22
/.phpunit.result.cache
33
/bin/
44
/composer.lock
5+
/custom.task.properties
6+
/custom.type.properties
57
/test/coverage.xml
68
/test/report/
7-
/vendor/
9+
/vendor/

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
11
language: php
22
php:
3-
- '7.1'
4-
- '7.2'
53
- '7.3'
4+
- '7.4'
65

76
install:
87
- composer self-update
98
- composer install
10-
11-
script:
9+
10+
script:
1211
- ./bin/phing unit

composer.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@
77
],
88
"license": "MIT",
99
"require": {
10-
"php": ">=7.1.0",
11-
"setbased/exception": "^2.0.0"
10+
"php": ">=7.3",
11+
"setbased/exception": "^2.1"
1212
},
1313
"require-dev": {
14-
"phing/phing": "^2.0.0",
15-
"phpunit/phpunit": "^7.0.0 || ^8.0.0"
14+
"phing/phing": "^2.0",
15+
"phpunit/phpunit": "^9.0"
1616
},
1717
"autoload": {
1818
"psr-4": {

test/ErrorHandlerTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ public function tearDown(): void
6666

6767
//--------------------------------------------------------------------------------------------------------------------
6868
/**
69-
* Errors suppressed with the @-operator must not throe exceptions.
69+
* Errors suppressed with the @-operator must not throw exceptions.
7070
*/
7171
public function testSuppressedError()
7272
{
@@ -103,8 +103,8 @@ public function testWarning()
103103
{
104104
$this->expectException(ErrorException::class);
105105
$this->expectExceptionCode(E_WARNING);
106-
$this->expectExceptionMessageRegExp('/fopen/');
107-
$this->expectExceptionMessageRegExp(sprintf('!%s!', preg_quote(__DIR__.'/not-found.txt')));
106+
$this->expectExceptionMessageMatches('/fopen/');
107+
$this->expectExceptionMessageMatches(sprintf('!%s!', preg_quote(__DIR__.'/not-found.txt')));
108108
fopen(__DIR__.'/not-found.txt', 'r');
109109
}
110110

0 commit comments

Comments
 (0)