Make tests compatible with newer phpunit versions#7727
Make tests compatible with newer phpunit versions#7727sanchezzzhak merged 11 commits intomatomo-org:masterfrom
Conversation
This comment was marked as resolved.
This comment was marked as resolved.
|
Why should the variable name need to contain a |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
76b7e67 to
7298a44
Compare
|
Weird CI failures, new commits broke something or is it my diff ? |
|
Not sure, but probably the PHPUnit workflow should be updated too so it can use I installed |
Oh snap, let's revert that part. I only need the PHP diff anyway |
7298a44 to
1a1b239
Compare
|
I dropped the last commit, it should help |
|
@williamdes can you fix the conflicts? And also you should also add |
fa38ec4 to
5ad901f
Compare
|
I did some ajustements as I am quite sure the ignore should not have been used for all versions and this way. |
|
Run local php vendor/bin/phpcbf for fix phpcs |
This comment was marked as resolved.
This comment was marked as resolved.
f22f9ed to
ff7df58
Compare
|
@williamdes is it possible to update the workflow so it does look like this? Right now it looks like this: Those are missing (pending but aren't running): PHPUnit (windows-latest, 8.4) |
ff7df58 to
82a067b
Compare
Not really (I have no options to change the text), can it be merged as is @sgiehl ? |
|
Hi @sgiehl |
82a067b to
56224d0
Compare
This comment was marked as resolved.
This comment was marked as resolved.
"psr/cache": "^1.0.1 || ^2.0 || ^3.0",
"psr/simple-cache": "^1.0.1 || ^2.0 || ^3.0",
Probably is a good idea to add this if (PHP_VERSION_ID < 80500) {
$browserProperty->setAccessible(true);
} |
51387be to
f55cc57
Compare
|
Thank you @liviuconcioiu ! Edit: phpcs is fixed, all will go green now |
f55cc57 to
355b879
Compare
|
The tests are completed. |
|
Can you tag a new release some time soon so I can import the version into Debian? |
@williamdes a new version has just been released. |



Description:
Review