Skip to content

Commit

Permalink
Merge 3.x into 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
SonataCI committed Feb 3, 2023
2 parents d9af19b + 0690087 commit 944a129
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .php-cs-fixer.dist.php
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@
'phpdoc_separation' => ['groups' => [
['phpstan-template', 'phpstan-template-covariant', 'phpstan-extends', 'phpstan-implements', 'phpstan-var', 'psalm-var', 'phpstan-param', 'psalm-param', 'phpstan-return', 'psalm-return'],
['psalm-suppress', 'phpstan-ignore-next-line'],
['Assert\\*'],
['ODM\\*'],
['ORM\\*'],
]],
'php_unit_strict' => true,
'php_unit_test_case_static_method_calls' => true,
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
"phpstan/phpstan-symfony": "^1.0",
"phpunit/phpunit": "^9.5",
"psalm/plugin-phpunit": "^0.17",
"psalm/plugin-symfony": "^3.0",
"psalm/plugin-symfony": "^4.0",
"rector/rector": "^0.15",
"sonata-project/doctrine-orm-admin-bundle": "^4.0",
"symfony/browser-kit": "^4.4 || ^5.4 || ^6.0",
Expand Down
1 change: 1 addition & 0 deletions tests/App/Entity/GedmoCategory.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class GedmoCategory implements Translatable

/**
* @Gedmo\Translatable(fallback=true)
*
* @ORM\Column(type="string")
*/
private string $name;
Expand Down
2 changes: 2 additions & 0 deletions tests/Fixtures/Traits/ORM/ArticlePersonalTranslatable.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

/**
* @Gedmo\TranslationEntity(class="Sonata\TranslationBundle\Tests\Fixtures\Traits\ORM\ArticlePersonalTranslation")
*
* @ORM\Table(name="article")
* @ORM\Entity
*/
Expand Down Expand Up @@ -50,6 +51,7 @@ class ArticlePersonalTranslatable

/**
* @Gedmo\Translatable
*
* @ORM\Column(length=128)
*/
private ?string $title = null;
Expand Down

0 comments on commit 944a129

Please sign in to comment.