Commit b74f88e
Add support for PHP 8 (#424)
* Add support for PHP 8
* Fix phpstan
* Exclude Translator/TranslatorInterface.php from phpstan analysis
I don't know how to manage this error
```
% make phpstan
2 ↵ ✹
Note: Using configuration file /project/phpstan.neon.dist.
49/49 [▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓] 100%
------
----------------------------------------------------------------------
Line Translator/TranslatorInterface.php
------
----------------------------------------------------------------------
31 Interface Translation\Bundle\Translator\TranslatorInterface
extends
unknown interface
Symfony\Component\Translation\TranslatorInterface.
💡 Learn more at
https://phpstan.org/user-guide/discovering-symbols
------
----------------------------------------------------------------------
--
-------------------------------------------------------------------------
Error
--
-------------------------------------------------------------------------
Error message "Interface
Translation\Bundle\Translator\TranslatorInterface extends unknown
interface Symfony\Component\Translation\TranslatorInterface."
cannot be
ignored, use excludes_analyse instead.
--
-------------------------------------------------------------------------
```
* Increase lowest version
Co-authored-by: Nyholm <tobias.nyholm@gmail.com>1 parent b38026e commit b74f88e
2 files changed
+17
-15
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
| 24 | + | |
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
| 30 | + | |
| 31 | + | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
| 148 | + | |
| 149 | + | |
0 commit comments