From 7de3434733279b62deca5be964f66636ddd294ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20Ostroluck=C3=BD?= Date: Fri, 10 Aug 2018 19:17:35 +0200 Subject: [PATCH] Update doctrine/coding-standard in 2.x branch Co-Authored-By: Michael Moravec --- composer.json | 3 +- phpcs.xml.dist | 144 +++++++++++++++++++++++++++++++++++++++++++++++-- 2 files changed, 140 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 5f40e2a49..bda459a95 100644 --- a/composer.json +++ b/composer.json @@ -27,9 +27,8 @@ "symfony/console": "~3.0|~4.0" }, "require-dev": { - "doctrine/coding-standard": "^1.0", + "doctrine/coding-standard": "^5.0", "phpunit/phpunit": "^6.5", - "squizlabs/php_codesniffer": "^3.2", "symfony/yaml": "~3.4|~4.0" }, "suggest": { diff --git a/phpcs.xml.dist b/phpcs.xml.dist index 9ffa05d31..5aced8ad8 100644 --- a/phpcs.xml.dist +++ b/phpcs.xml.dist @@ -4,10 +4,10 @@ - + - - + + lib tests @@ -15,10 +15,144 @@ */tests/Doctrine/Tests/Proxies/__CG__/* - + + + + + + + + */tests/* - + + */tests/* + + + + lib/Doctrine/ORM/Events.php + lib/Doctrine/ORM/Tools/ToolEvents.php + + + + lib/Doctrine/ORM/Annotation/* + + + + lib/Doctrine/ORM/Internal/Hydration/AbstractHydrator.php + + + + lib/Doctrine/ORM/Query/Parser.php + + + + lib/Doctrine/ORM/Mapping/AssociationOverride.php + lib/Doctrine/ORM/Mapping/AssociationOverrides.php + lib/Doctrine/ORM/Mapping/AttributeOverride.php + lib/Doctrine/ORM/Mapping/AttributeOverrides.php + lib/Doctrine/ORM/Mapping/Cache.php + lib/Doctrine/ORM/Mapping/ChangeTrackingPolicy.php + lib/Doctrine/ORM/Mapping/Column.php + lib/Doctrine/ORM/Mapping/ColumnResult.php + lib/Doctrine/ORM/Mapping/CustomIdGenerator.php + lib/Doctrine/ORM/Mapping/DiscriminatorColumn.php + lib/Doctrine/ORM/Mapping/DiscriminatorMap.php + lib/Doctrine/ORM/Mapping/Embeddable.php + lib/Doctrine/ORM/Mapping/Embedded.php + lib/Doctrine/ORM/Mapping/Entity.php + lib/Doctrine/ORM/Mapping/EntityListeners.php + lib/Doctrine/ORM/Mapping/EntityResult.php + lib/Doctrine/ORM/Mapping/FieldResult.php + lib/Doctrine/ORM/Mapping/GeneratedValue.php + lib/Doctrine/ORM/Mapping/HasLifecycleCallbacks.php + lib/Doctrine/ORM/Mapping/Id.php + lib/Doctrine/ORM/Mapping/Index.php + lib/Doctrine/ORM/Mapping/InheritanceType.php + lib/Doctrine/ORM/Mapping/JoinColumn.php + lib/Doctrine/ORM/Mapping/JoinColumns.php + lib/Doctrine/ORM/Mapping/JoinTable.php + lib/Doctrine/ORM/Mapping/ManyToMany.php + lib/Doctrine/ORM/Mapping/ManyToOne.php + lib/Doctrine/ORM/Mapping/MappedSuperclass.php + lib/Doctrine/ORM/Mapping/NamedNativeQueries.php + lib/Doctrine/ORM/Mapping/NamedNativeQuery.php + lib/Doctrine/ORM/Mapping/NamedQueries.php + lib/Doctrine/ORM/Mapping/NamedQuery.php + lib/Doctrine/ORM/Mapping/OneToMany.php + lib/Doctrine/ORM/Mapping/OneToOne.php + lib/Doctrine/ORM/Mapping/OrderBy.php + lib/Doctrine/ORM/Mapping/PostLoad.php + lib/Doctrine/ORM/Mapping/PostPersist.php + lib/Doctrine/ORM/Mapping/PostRemove.php + lib/Doctrine/ORM/Mapping/PostUpdate.php + lib/Doctrine/ORM/Mapping/PreFlush.php + lib/Doctrine/ORM/Mapping/PrePersist.php + lib/Doctrine/ORM/Mapping/PreRemove.php + lib/Doctrine/ORM/Mapping/PreUpdate.php + lib/Doctrine/ORM/Mapping/SequenceGenerator.php + lib/Doctrine/ORM/Mapping/SqlResultSetMapping.php + lib/Doctrine/ORM/Mapping/SqlResultSetMappings.php + lib/Doctrine/ORM/Mapping/Table.php + lib/Doctrine/ORM/Mapping/UniqueConstraint.php + lib/Doctrine/ORM/Mapping/Version.php + + + + lib/Doctrine/ORM/Cache/DefaultQueryCache.php + + + + lib/Doctrine/ORM/EntityManagerInterface.php + + + + */tests/* + + + + */tests/* + + + + */tests/* + + + + */tests/* + + + + */tests/* + + + + */tests/* + + + + + tests/Doctrine/Tests/Models/Global/GlobalNamespaceModel.php + tests/Doctrine/Tests/Models/DDC3231/DDC3231User1NoNamespace.php + tests/Doctrine/Tests/Models/DDC3231/DDC3231User2NoNamespace.php + + + + + tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2084Test.php + + + + + tests/Doctrine/Tests/ORM/Functional/Ticket/DDC2084Test.php + + + + + tests/Doctrine/Tests/ORM/Functional/Ticket/DDC1301Test.php + tests/Doctrine/Tests/ORM/Functional/ExtraLazyCollectionTest.php + +