dustin10 / VichUploaderBundle

A simple Symfony bundle to ease file uploads with ORM entities and ODM documents.
MIT License
1.84k stars 519 forks source link

Prepare tests to phpunit10 #1367

Closed Trukes closed 1 year ago

Trukes commented 1 year ago

The objective of this PR is to prepare for PHPUnit 10

Trukes commented 1 year ago

Still having 3 warnings: 1) Your XML configuration validates against a deprecated schema. Migrate your XML configuration using "--migrate-configuration"!

2) No tests found in class "Vich\UploaderBundle\Tests\Metadata\Driver\XmlDriverTest".

3) Class Vich\UploaderBundle\Tests\Storage\Flysystem\AbstractFlysystemStorageTest declared in /srv/vich-uploader/tests/Storage/Flysystem/AbstractFlysystemStorageTest.php is abstract

IonBazan commented 1 year ago

We can now use #[DataProvider], #[Group], #[RequiresMethod], etc where applicable instead of the annotations.

garak commented 1 year ago

@Trukes any news on this?

Trukes commented 1 year ago

I will take some time to update this PR

garak commented 1 year ago

I'm sorry but this is taking too much. I'm closing in favour or #1389