Skip to content

Commit 9e660eb

Browse files
committed
Drop support for PHP 7.3 and PHP 8.x ready.
1 parent 54b6b5e commit 9e660eb

File tree

4 files changed

+21
-23
lines changed

4 files changed

+21
-23
lines changed

.scrutinizer.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@ build:
1717

1818
coverage:
1919
tests:
20-
before:
21-
- export PLAISIO_CONFIG_DIR=test
22-
- ./bin/phing kernel
2320
override:
2421
- command: './bin/phing unit'
2522
coverage:

.travis.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@ dist: trusty
44

55
language: php
66
php:
7-
- '7.3'
87
- '7.4'
9-
8+
- '8.0'
9+
1010
install:
1111
- composer self-update
1212
- composer install
13-
14-
script:
13+
14+
script:
1515
- ./bin/phing unit

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"license": "MIT",
99
"require": {
10-
"php": ">=7.3"
10+
"php": ">=7.4"
1111
},
1212
"require-dev": {
1313
"phing/phing": "^2.16.3",

src/ErrorException.php

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,24 @@
88
*/
99
class ErrorException extends \ErrorException implements NamedException
1010
{
11-
protected static $ourNames = [E_COMPILE_ERROR => 'PHP Compile Error',
12-
E_COMPILE_WARNING => 'PHP Compile Warning',
13-
E_CORE_ERROR => 'PHP Core Error',
14-
E_CORE_WARNING => 'PHP Core Warning',
15-
E_DEPRECATED => 'PHP Deprecated Warning',
16-
E_ERROR => 'PHP Fatal Error',
17-
E_NOTICE => 'PHP Notice',
18-
E_PARSE => 'PHP Parse Error',
19-
E_RECOVERABLE_ERROR => 'PHP Recoverable Error',
20-
E_STRICT => 'PHP Strict Warning',
21-
E_USER_DEPRECATED => 'PHP User Deprecated Warning',
22-
E_USER_ERROR => 'PHP User Error',
23-
E_USER_NOTICE => 'PHP User Notice',
24-
E_USER_WARNING => 'PHP User Warning',
25-
E_WARNING => 'PHP Warning'];
11+
protected static array $ourNames = [E_COMPILE_ERROR => 'PHP Compile Error',
12+
E_COMPILE_WARNING => 'PHP Compile Warning',
13+
E_CORE_ERROR => 'PHP Core Error',
14+
E_CORE_WARNING => 'PHP Core Warning',
15+
E_DEPRECATED => 'PHP Deprecated Warning',
16+
E_ERROR => 'PHP Fatal Error',
17+
E_NOTICE => 'PHP Notice',
18+
E_PARSE => 'PHP Parse Error',
19+
E_RECOVERABLE_ERROR => 'PHP Recoverable Error',
20+
E_STRICT => 'PHP Strict Warning',
21+
E_USER_DEPRECATED => 'PHP User Deprecated Warning',
22+
E_USER_ERROR => 'PHP User Error',
23+
E_USER_NOTICE => 'PHP User Notice',
24+
E_USER_WARNING => 'PHP User Warning',
25+
E_WARNING => 'PHP Warning'];
2626

2727
//--------------------------------------------------------------------------------------------------------------------
28+
2829
/**
2930
* {@inheritdoc}
3031
*

0 commit comments

Comments
 (0)