Skip to content
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 4 additions & 6 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@ jobs:
fail-fast: false
matrix:
php-version:
- "7.4"
- "8.0"
- "8.1"
- "8.2"
- "8.3"
Expand All @@ -38,20 +36,20 @@ jobs:
- ""
include:
- deps: "lowest"
php-version: "7.4"
php-version: "8.1"
- deps: "highest"
php-version: "8.4"
# Run builds on low and high PHP versions with `doctrine/annotations` removed
- deps: "highest"
php-version: "7.4"
php-version: "8.1"
no-annotations: true
- deps: "highest"
php-version: "8.4"
no-annotations: true
# Run builds on high PHP version with `doctrine/orm` version pinned
- deps: "highest"
php-version: "8.4"
orm: "^2.14"
orm: "^2.20"
- deps: "highest"
php-version: "8.4"
orm: "^3.0"
Expand Down Expand Up @@ -109,7 +107,7 @@ jobs:
- name: "Install PHP"
uses: "shivammathur/setup-php@v2"
with:
php-version: "8.2"
php-version: "8.4"
extensions: mongodb

- name: "Install dependencies with Composer"
Expand Down
5 changes: 3 additions & 2 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
->setParallelConfig(PhpCsFixer\Runner\Parallel\ParallelConfigFactory::detect())
->setRules([
'@DoctrineAnnotation' => true,
'@PHP74Migration' => true,
'@PHP74Migration:risky' => true,
'@PHP81Migration' => true,
'@PHP80Migration:risky' => true,
'@PHPUnit91Migration:risky' => true,
'@PSR2' => true,
'@Symfony' => true,
Expand Down Expand Up @@ -78,6 +78,7 @@
'random_api_migration' => true,
'return_assignment' => true,
'self_accessor' => true,
'single_line_empty_body' => true,
'static_lambda' => true,
'strict_param' => true,
'ternary_to_null_coalescing' => true,
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ a release.
## [Unreleased]

### Changed
- Dropped support for PHP < 8.1
- Sluggable: Replaced abandoned `behat/transliterator` with `symfony/string` for default transliteration and urlization steps (#2985)

## [3.20.1] - 2025-09-14
Expand Down
20 changes: 10 additions & 10 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,21 +40,21 @@
"docs": "https://github.com/doctrine-extensions/DoctrineExtensions/tree/main/doc"
},
"require": {
"php": "^7.4 || ^8.0",
"doctrine/collections": "^1.2 || ^2.0",
"php": "^8.1",
"doctrine/collections": "^1.6.5 || ^2.0",
"doctrine/deprecations": "^1.0",
"doctrine/event-manager": "^1.2 || ^2.0",
"doctrine/persistence": "^2.2 || ^3.0 || ^4.0",
"doctrine/persistence": "^2.5.2 || ^3.0 || ^4.0",
"psr/cache": "^1 || ^2 || ^3",
"psr/clock": "^1",
"symfony/cache": "^5.4 || ^6.0 || ^7.0",
"symfony/string": "^5.4 || ^6.0 || ^7.0"
},
"require-dev": {
"behat/transliterator": "^1.2",
"doctrine/annotations": "^1.13 || ^2.0",
"doctrine/cache": "^1.11 || ^2.0",
"doctrine/common": "^2.13 || ^3.0",
"behat/transliterator": "^1.3",
"doctrine/annotations": "^1.14 || ^2.0",
"doctrine/cache": "^1.12.1 || ^2.0",
"doctrine/common": "^3.1",
"doctrine/dbal": "^3.7 || ^4.0",
"doctrine/doctrine-bundle": "^2.3",
"doctrine/mongodb-odm": "^2.3",
Expand All @@ -73,9 +73,9 @@
"symfony/yaml": "^5.4 || ^6.0 || ^7.0"
},
"conflict": {
"behat/transliterator": "<1.2 || >=2.0",
"doctrine/annotations": "<1.13 || >=3.0",
"doctrine/common": "<2.13 || >=4.0",
"behat/transliterator": "<1.3 || >=2.0",
"doctrine/annotations": "<1.14 || >=3.0",
"doctrine/common": "<3.1 || >=4.0",
"doctrine/dbal": "<3.7 || >=5.0",
"doctrine/mongodb-odm": "<2.3 || >=3.0",
"doctrine/orm": "<2.20 || >=3.0 <3.3 || >=4.0"
Expand Down
5 changes: 2 additions & 3 deletions example/app/Command/PrintCategoryTranslationTreeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,14 @@
use Doctrine\ORM\Tools\Console\Helper\EntityManagerHelper;
use Gedmo\Translatable\Query\TreeWalker\TranslationWalker;
use Gedmo\Translatable\TranslatableListener;
use Symfony\Component\Console\Attribute\AsCommand;
use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;

#[AsCommand(name: 'app:print-category-translation-tree', description: 'Seeds an example category tree with translations and prints the tree.')]
final class PrintCategoryTranslationTreeCommand extends Command
{
protected static $defaultName = 'app:print-category-translation-tree';
protected static $defaultDescription = 'Seeds an example category tree with translations and prints the tree.';

protected function execute(InputInterface $input, OutputInterface $output): int
{
/** @var EntityManagerHelper $helper */
Expand Down
Loading