Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[3.x] chore: remove support of PHPCR #279

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 0 additions & 6 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,16 +35,10 @@ jobs:
# add a specific job to test ^6.4 for all Symfony packages
symfony-version: "^6.4"
- php-version: 8.2
# Remove doctrine/phpcr-* in order to allow doctrine/persistence v3
composer-flags: "remove --dev --no-progress doctrine/phpcr-bundle doctrine/phpcr-odm"
- php-version: 8.2
symfony-version: "^7.0"
# Remove doctrine/phpcr-* in order to allow doctrine/persistence v3
composer-flags: "remove --dev --no-progress doctrine/phpcr-bundle doctrine/phpcr-odm"
- php-version: 8.3
symfony-version: "^7.0"
# Remove doctrine/phpcr-* in order to allow doctrine/persistence v3
composer-flags: "remove --dev --no-progress doctrine/phpcr-bundle doctrine/phpcr-odm"

services:
mysql:
Expand Down
2 changes: 0 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@
"doctrine/doctrine-fixtures-bundle": "^3.5.1 || ^4.0",
"doctrine/mongodb-odm-bundle": "^4.2 || ^5.0",
"doctrine/orm": "^2.7",
"doctrine/phpcr-bundle": "^2.4.3 || ^3.0",
"doctrine/phpcr-odm": "^1.7.2 || ^2.0",
"jackalope/jackalope-doctrine-dbal": "^1.10.1 || ^2.0",
"monolog/monolog": "^1.25.1 || ^2.0 || ^3.0",
"phpunit/phpunit": "^9.6.17 || ^10.5.11 || ^11.0.4",
Expand Down
1 change: 0 additions & 1 deletion doc/database.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,6 @@ liip_test_fixtures:
cache_db:
mysql: 'Liip\TestFixturesBundle\Services\DatabaseBackup\MysqlDatabaseBackup'
mongodb: 'Liip\TestFixturesBundle\Services\DatabaseBackup\MongodbDatabaseBackup'
phpcr: ...
db2: ...
[Other \Doctrine\DBAL\Platforms\AbstractPlatform name]: ...
```
Expand Down
7 changes: 0 additions & 7 deletions src/Resources/config/database_tools.xml
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,6 @@
<argument type="service" id="service_container" />
<argument type="service" id="Liip\TestFixturesBundle\Services\MongoDBFixturesLoaderFactory" />
</service>
<service id="Liip\TestFixturesBundle\Services\DatabaseTools\PHPCRDatabaseTool" public="false">
<argument type="service" id="service_container" />
<argument type="service" id="Liip\TestFixturesBundle\Services\FixturesLoaderFactory" />
</service>
<service id="Liip\TestFixturesBundle\Services\DatabaseToolCollection" public="true">
<argument type="service" id="service_container" />
<argument>null</argument> <!-- deprecated argument -->
Expand All @@ -57,9 +53,6 @@
<call method="add">
<argument type="service" id="Liip\TestFixturesBundle\Services\DatabaseTools\MongoDBDatabaseTool" />
</call>
<call method="add">
<argument type="service" id="Liip\TestFixturesBundle\Services\DatabaseTools\PHPCRDatabaseTool" />
</call>
</service>
</services>
</container>
127 changes: 0 additions & 127 deletions src/Services/DatabaseTools/PHPCRDatabaseTool.php

This file was deleted.

1 change: 0 additions & 1 deletion tests/App/config/bundles.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,5 @@
Fidry\AliceDataFixtures\Bridge\Symfony\FidryAliceDataFixturesBundle::class => ['all' => true],
Liip\TestFixturesBundle\LiipTestFixturesBundle::class => ['all' => true],
Liip\Acme\Tests\App\AcmeBundle::class => ['all' => true],
Doctrine\Bundle\PHPCRBundle\DoctrinePHPCRBundle::class => ['phpcr' => true],
Doctrine\Bundle\MongoDBBundle\DoctrineMongoDBBundle::class => ['mongodb' => true],
];
41 changes: 0 additions & 41 deletions tests/AppConfigPhpcr/AppConfigPhpcrKernel.php

This file was deleted.

45 changes: 0 additions & 45 deletions tests/AppConfigPhpcr/DataFixtures/PHPCR/LoadTaskData.php

This file was deleted.

52 changes: 0 additions & 52 deletions tests/AppConfigPhpcr/Document/Task.php

This file was deleted.

21 changes: 0 additions & 21 deletions tests/AppConfigPhpcr/config.yml

This file was deleted.

Loading
Loading