Skip to content

Commit 45a3778

Browse files
committed
Drop support for PHP 7.3.
1 parent 5091f92 commit 45a3778

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

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
"ext-dom": "*",
1212
"ext-libxml": "*",
1313
"plaisio/console": "^2.0.1",

src/Helper/ExceptionHandlerCodeGenerator.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@ class ExceptionHandlerCodeGenerator
2020
*
2121
* @var Importing
2222
*/
23-
private $importing;
23+
private Importing $importing;
2424

2525
/**
2626
* The PHP code store.
2727
*
2828
* @var PhpCodeStore
2929
*/
30-
private $store;
30+
private PhpCodeStore $store;
3131

3232
//--------------------------------------------------------------------------------------------------------------------
3333
/**

src/Helper/ExceptionHandlerMetadataExtractor.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,24 +17,24 @@ class ExceptionHandlerMetadataExtractor
1717
*
1818
* @var int
1919
*/
20-
private $errorCount = 0;
20+
private int $errorCount = 0;
2121

2222
/**
2323
* The output decorator.
2424
*
2525
* @var PlaisioStyle
2626
*/
27-
private $io;
27+
private PlaisioStyle $io;
2828

2929
/**
3030
* The names of the exceptions handlers.
3131
*
3232
* @var array
3333
*/
34-
private $names = ['handlePrepareException',
35-
'handleConstructException',
36-
'handleResponseException',
37-
'handleFinalizeException'];
34+
private array $names = ['handlePrepareException',
35+
'handleConstructException',
36+
'handleResponseException',
37+
'handleFinalizeException'];
3838

3939
//--------------------------------------------------------------------------------------------------------------------
4040
/**

0 commit comments

Comments
 (0)