Commit 0181e8e
authored
Drop PHP 7.2 support and update phpunit (#966)
* Drop PHP 7.2 support and update phpunit
* Update test matrix (PHP-Laravel versions)
* Allow kylekatarnls/update-helper to fix CI
Error:
Error: kylekatarnls/update-helper contains a Composer plugin which is blocked by your allow-plugins config. You may add it to the list if you consider it safe.
You can run "composer config --no-plugins allow-plugins.kylekatarnls/update-helper [true|false]" to enable it (true) or disable it explicitly and suppress this exception (false)
See https://getcomposer.org/allow-plugins
In PluginManager.php line 762:
kylekatarnls/update-helper contains a Composer plugin which is blocked by y
our allow-plugins config. You may add it to the list if you consider it saf
e.
You can run "composer config --no-plugins allow-plugins.kylekatarnls/update
-helper [true|false]" to enable it (true) or disable it explicitly and supp
ress this exception (false)
See https://getcomposer.org/allow-plugins
* Skip failing matrix element
PHPUnit 9.0.0 by Sebastian Bergmann and contributors.
Runtime: PHP 8.0.20
Configuration: /home/runner/work/telegram-bot-sdk/telegram-bot-sdk/phpunit.xml.dist
Warning - The configuration file did not pass validation!
The following problems have been detected:
Line 14:
- Element 'coverage': This element is not expected.
Test results may not be as expected.
PHP Fatal error: Type declaration 'mixed' must be unqualified in /home/runner/work/telegram-bot-sdk/telegram-bot-sdk/vendor/phpspec/prophecy/src/Prophecy/Doubler/Generator/ClassCreator.php(49) : eval()'d code on line 323
......................................................
Error: Process completed with exit code 255.
* Update phpunit version1 parent 55c2b7e commit 0181e8e
File tree
4 files changed
+37
-23
lines changed- .github/workflows
4 files changed
+37
-23
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
| |||
21 | 22 | | |
22 | 23 | | |
23 | 24 | | |
24 | | - | |
25 | | - | |
| 25 | + | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | | - | |
29 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
30 | 33 | | |
31 | 34 | | |
32 | 35 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
| 6 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
23 | | - | |
| 24 | + | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
| |||
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
57 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
58 | 62 | | |
59 | 63 | | |
60 | 64 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
3 | 5 | | |
4 | 6 | | |
5 | 7 | | |
6 | 8 | | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
12 | 25 | | |
13 | | - | |
14 | | - | |
| 26 | + | |
| 27 | + | |
15 | 28 | | |
16 | 29 | | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | 30 | | |
0 commit comments