DDC-3824: [GH-1457] Updated syntax for "integer" and "boolean" types #4682

Closed
opened 2026-01-22 14:47:30 +01:00 by admin · 4 comments
Owner

Originally created by @doctrinebot on GitHub (Jul 14, 2015).

Originally assigned to: @Ocramius on GitHub.

Jira issue originally created by user @doctrinebot:

This issue is created automatically through a Github pull request on behalf of phansys:

Url: https://github.com/doctrine/doctrine2/pull/1457

Message:

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

Used short syntax for integer and boolean types.

_Before_

/****
 * @var integer
 *
 * @ORM\Column(name="some*integer*field", type="integer")
 */
private $someIntegerField;

/****
 * @var boolean
 *
 * @ORM\Column(name="some*boolean*field", type="boolean")
 */
private $someBooleanField;

_After_

/****
 * @var int
 *
 * @ORM\Column(name="some*integer*field", type="integer")
 */
private $someIntegerField;

/****
 * @var bool
 *
 * @ORM\Column(name="some*boolean*field", type="boolean")
 */
private $someBooleanField;
Originally created by @doctrinebot on GitHub (Jul 14, 2015). Originally assigned to: @Ocramius on GitHub. Jira issue originally created by user @doctrinebot: This issue is created automatically through a Github pull request on behalf of phansys: Url: https://github.com/doctrine/doctrine2/pull/1457 Message: | Q | A | | --- | --- | | Bug fix? | no | | New feature? | no | | BC breaks? | no | | Deprecations? | no | | Tests pass? | yes | | Fixed tickets | | | License | MIT | | Doc PR | | Used short syntax for `integer` and `boolean` types. **_Before**_ ``` php /**** * @var integer * * @ORM\Column(name="some*integer*field", type="integer") */ private $someIntegerField; /**** * @var boolean * * @ORM\Column(name="some*boolean*field", type="boolean") */ private $someBooleanField; ``` **_After**_ ``` php /**** * @var int * * @ORM\Column(name="some*integer*field", type="integer") */ private $someIntegerField; /**** * @var bool * * @ORM\Column(name="some*boolean*field", type="boolean") */ private $someBooleanField; ```
admin added the Improvement label 2026-01-22 14:47:30 +01:00
admin closed this issue 2026-01-22 14:47:31 +01:00
Author
Owner

@doctrinebot commented on GitHub (Sep 5, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1457] was assigned:
https://github.com/doctrine/doctrine2/pull/1457

@doctrinebot commented on GitHub (Sep 5, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1457] was assigned: https://github.com/doctrine/doctrine2/pull/1457
Author
Owner

@doctrinebot commented on GitHub (Sep 5, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1457] was labeled:
https://github.com/doctrine/doctrine2/pull/1457

@doctrinebot commented on GitHub (Sep 5, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1457] was labeled: https://github.com/doctrine/doctrine2/pull/1457
Author
Owner

@doctrinebot commented on GitHub (Sep 5, 2015):

Comment created by @doctrinebot:

A related Github Pull-Request [GH-1457] was merged:
https://github.com/doctrine/doctrine2/pull/1457

@doctrinebot commented on GitHub (Sep 5, 2015): Comment created by @doctrinebot: A related Github Pull-Request [GH-1457] was merged: https://github.com/doctrine/doctrine2/pull/1457
Author
Owner

@doctrinebot commented on GitHub (Sep 5, 2015):

Issue was closed with resolution "Fixed"

@doctrinebot commented on GitHub (Sep 5, 2015): Issue was closed with resolution "Fixed"
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#4682