Skip to content

Commit

Permalink
Fix style
Browse files Browse the repository at this point in the history
  • Loading branch information
amenophis committed Dec 5, 2023
1 parent 8058c7c commit 122bc9f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
10 changes: 6 additions & 4 deletions tests/Fixtures/TestBundle/Entity/Foo.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,26 +21,28 @@ class Foo
{
/**
* @ORM\Column(type="integer")
*
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*/
#[
ORM\Column(type: "integer"),
ORM\Column(type: 'integer'),
ORM\Id,
ORM\GeneratedValue(strategy: "AUTO"),
ORM\GeneratedValue(strategy: 'AUTO'),
]
private $id;

/**
* @ORM\Column(type="string")
*/
#[ORM\Column(type: "string")]
#[ORM\Column(type: 'string')]
private $name;

/**
* @ORM\Column(type="json_document", options={"jsonb": true})
*/
#[ORM\Column(type: "json_document", options: ["jsonb" => true])]
#[ORM\Column(type: 'json_document', options: ['jsonb' => true])]
private $misc;

public function getId()
Expand Down
10 changes: 6 additions & 4 deletions tests/Fixtures/TestBundle/Entity/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,25 +21,27 @@ class Product
{
/**
* @ORM\Column(type="integer")
*
* @ORM\Id
*
* @ORM\GeneratedValue(strategy="AUTO")
*/
#[
ORM\Column(type: "integer"),
ORM\Column(type: 'integer'),
ORM\Id,
ORM\GeneratedValue(strategy: "AUTO"),
ORM\GeneratedValue(strategy: 'AUTO'),
]
public $id;

/**
* @ORM\Column(type="string")
*/
#[ORM\Column(type: "string")]
#[ORM\Column(type: 'string')]
public $name;

/**
* @ORM\Column(type="json_document", options={"jsonb": true}, nullable=true)
*/
#[ORM\Column(type: "json_document", nullable: true, options: ["jsonb" => true])]
#[ORM\Column(type: 'json_document', nullable: true, options: ['jsonb' => true])]
public $attributes;
}

0 comments on commit 122bc9f

Please sign in to comment.