Commit cf22cb7
committed
feature EasyCorp#4839 Test lowest dependencies; downgrade SecurityVoter::supports(); Symfony 4.4 fixes (michaelKaefer)
This PR was merged into the 3.0.x-dev branch.
Discussion
----------
Test lowest dependencies; downgrade SecurityVoter::supports(); Symfony 4.4 fixes
Would close EasyCorp#4382.
Important Notes:
- I had to downgrade `SecurityVoter::supports()` signature again which was just upgraded these days because otherwise `symfony/security-core` would be required in 5.0 or higher (which makes it impossible to install EA in symfony 4). I hope this is not a problem.. At least all tests still suceed, so I hope it is OK..
Notes:
- `symfony/phpunit-bridge` v5.2 or higher is now required because we use `PolyfillAssertTrait::assertMatchesRegularExpression()` in our tests (was added in 5.2, in symfony/phpunit-bridge@f00fa7b)
- `doctrine/dbal` now conflicts with versions <2.10 because we use `Doctrine\DBAL\Types\Types` in lots of places (was introducd in 2.10 in doctrine/dbal@4d40444, see also https://github.com/doctrine/dbal/blob/3.2.x/UPGRADE.md#deprecated-type-constants)
- PHP's `fn()` was introduced in PHP7.4 but we use PHP7.2, so I removed all occurences
Commits
-------
95840c2 GitHub action to test lowest supported dependencies, downgrade SecurityVoter::supports() signature and remove fn() (was introduced in PHP7.4)4 files changed
Lines changed: 51 additions & 9 deletions
File tree
- .github/workflows
- src/Security
- tests/Dto
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | | - | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
31 | 34 | | |
32 | 35 | | |
33 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
43 | | - | |
44 | | - | |
45 | | - | |
46 | | - | |
47 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
48 | 48 | | |
49 | 49 | | |
0 commit comments