[PR #468] [CLOSED] Hotfix/psr2 #8243

Open
opened 2026-01-22 15:59:02 +01:00 by admin · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/doctrine/orm/pull/468
Author: @jakoch
Created: 10/10/2012
Status: Closed

Base: masterHead: hotfix/PSR2


📝 Commits (10+)

  • 7449b3b added PSR2 check - let's face the truth
  • 0ce0cca added PSR2 check - let's face the truth
  • d11746e added php-cs-fixer - let's face the truth
  • b8cc929 ignore netbeans folder
  • 5449333 switching run order
  • 0253a3b QA - PSR2
  • 65a0728 limit php-cs-fixer to PSR2 checks ("all" would raise lots of phpdoc_params alignment issues)
  • a23a725 QA - PSR2
  • 17335b9 switching run order, files created during testing will cause a php-cs-fixer fail (trailing_spaces, eof_ending)
  • 59bddf3 QA - PSR2

📊 Changes

559 files changed (+2983 additions, -2549 deletions)

View changed files

📝 .gitignore (+12 -11)
📝 .travis.yml (+8 -1)
📝 lib/Doctrine/ORM/AbstractQuery.php (+65 -66)
📝 lib/Doctrine/ORM/Configuration.php (+12 -12)
📝 lib/Doctrine/ORM/EntityManager.php (+19 -27)
📝 lib/Doctrine/ORM/EntityRepository.php (+30 -32)
📝 lib/Doctrine/ORM/Event/LoadClassMetadataEventArgs.php (+0 -1)
📝 lib/Doctrine/ORM/Event/PreFlushEventArgs.php (+3 -3)
📝 lib/Doctrine/ORM/Event/PreUpdateEventArgs.php (+9 -8)
📝 lib/Doctrine/ORM/Events.php (+17 -13)
📝 lib/Doctrine/ORM/Id/IdentityGenerator.php (+3 -3)
📝 lib/Doctrine/ORM/Id/SequenceGenerator.php (+23 -20)
📝 lib/Doctrine/ORM/Id/TableGenerator.php (+16 -14)
📝 lib/Doctrine/ORM/Id/UuidGenerator.php (+3 -3)
📝 lib/Doctrine/ORM/Internal/CommitOrderCalculator.php (+26 -26)
📝 lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php (+73 -71)
📝 lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php (+68 -61)
📝 lib/Doctrine/ORM/Internal/Hydration/HydrationException.php (+39 -12)
📝 lib/Doctrine/ORM/Internal/Hydration/IterableResult.php (+14 -14)
📝 lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php (+112 -72)

...and 80 more files

📄 Description

This fixes several PSR2 issues and enables the php-cs-fixer and phpcs PSR2 checks in travis.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/doctrine/orm/pull/468 **Author:** [@jakoch](https://github.com/jakoch) **Created:** 10/10/2012 **Status:** ❌ Closed **Base:** `master` ← **Head:** `hotfix/PSR2` --- ### 📝 Commits (10+) - [`7449b3b`](https://github.com/doctrine/orm/commit/7449b3bd1ed83e5dc875da8684924da47fc3a9bc) added PSR2 check - let's face the truth - [`0ce0cca`](https://github.com/doctrine/orm/commit/0ce0cca052040c09d94500faf41de497b0271430) added PSR2 check - let's face the truth - [`d11746e`](https://github.com/doctrine/orm/commit/d11746ef954a7e00b0e484c54ed7dd690a8a4198) added php-cs-fixer - let's face the truth - [`b8cc929`](https://github.com/doctrine/orm/commit/b8cc9299f559d9d910cb01943f63857b38421033) ignore netbeans folder - [`5449333`](https://github.com/doctrine/orm/commit/54493335aac3406eb019a686eeac6e53a5f7487f) switching run order - [`0253a3b`](https://github.com/doctrine/orm/commit/0253a3b2c458bf310db794b4740f16de913b9ec1) QA - PSR2 - [`65a0728`](https://github.com/doctrine/orm/commit/65a0728c050ade0d8131723bf92519f21e607a4e) limit php-cs-fixer to PSR2 checks ("all" would raise lots of phpdoc_params alignment issues) - [`a23a725`](https://github.com/doctrine/orm/commit/a23a7259edee2f37e23218f119cd5de243f3b6c3) QA - PSR2 - [`17335b9`](https://github.com/doctrine/orm/commit/17335b9087c8a6834641083690e6b84801f8a9f4) switching run order, files created during testing will cause a php-cs-fixer fail (trailing_spaces, eof_ending) - [`59bddf3`](https://github.com/doctrine/orm/commit/59bddf359cc0c0e88bc4c7ea26459426f07365d9) QA - PSR2 ### 📊 Changes **559 files changed** (+2983 additions, -2549 deletions) <details> <summary>View changed files</summary> 📝 `.gitignore` (+12 -11) 📝 `.travis.yml` (+8 -1) 📝 `lib/Doctrine/ORM/AbstractQuery.php` (+65 -66) 📝 `lib/Doctrine/ORM/Configuration.php` (+12 -12) 📝 `lib/Doctrine/ORM/EntityManager.php` (+19 -27) 📝 `lib/Doctrine/ORM/EntityRepository.php` (+30 -32) 📝 `lib/Doctrine/ORM/Event/LoadClassMetadataEventArgs.php` (+0 -1) 📝 `lib/Doctrine/ORM/Event/PreFlushEventArgs.php` (+3 -3) 📝 `lib/Doctrine/ORM/Event/PreUpdateEventArgs.php` (+9 -8) 📝 `lib/Doctrine/ORM/Events.php` (+17 -13) 📝 `lib/Doctrine/ORM/Id/IdentityGenerator.php` (+3 -3) 📝 `lib/Doctrine/ORM/Id/SequenceGenerator.php` (+23 -20) 📝 `lib/Doctrine/ORM/Id/TableGenerator.php` (+16 -14) 📝 `lib/Doctrine/ORM/Id/UuidGenerator.php` (+3 -3) 📝 `lib/Doctrine/ORM/Internal/CommitOrderCalculator.php` (+26 -26) 📝 `lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php` (+73 -71) 📝 `lib/Doctrine/ORM/Internal/Hydration/ArrayHydrator.php` (+68 -61) 📝 `lib/Doctrine/ORM/Internal/Hydration/HydrationException.php` (+39 -12) 📝 `lib/Doctrine/ORM/Internal/Hydration/IterableResult.php` (+14 -14) 📝 `lib/Doctrine/ORM/Internal/Hydration/ObjectHydrator.php` (+112 -72) _...and 80 more files_ </details> ### 📄 Description This fixes several PSR2 issues and enables the php-cs-fixer and phpcs PSR2 checks in travis. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
admin added the pull-request label 2026-01-22 15:59:02 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: doctrine/archived-orm#8243