Skip to content

Commit ae4a298

Browse files
committed
chore(cs): php-cs-fixer 3.11
1 parent 748f09a commit ae4a298

File tree

266 files changed

+292
-95
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

266 files changed

+292
-95
lines changed

src/Core/Annotation/ApiFilter.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
* @author Antoine Bluchet <[email protected]>
2323
*
2424
* @Annotation
25+
*
2526
* @Target({"PROPERTY", "CLASS"})
2627
*/
2728
#[\Attribute(\Attribute::TARGET_PROPERTY | \Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]

src/Core/Annotation/ApiProperty.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* @author Kévin Dunglas <[email protected]>
2222
*
2323
* @Annotation
24+
*
2425
* @Target({"METHOD", "PROPERTY"})
2526
* @Attributes(
2627
* @Attribute("deprecationReason", type="string"),

src/Core/Annotation/ApiResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
* @author Kévin Dunglas <[email protected]>
2222
*
2323
* @Annotation
24+
*
2425
* @Target({"CLASS"})
2526
* @Attributes(
2627
* @Attribute("accessControl", type="string"),

src/Core/Annotation/ApiSubresource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* @author Antoine Bluchet <[email protected]>
2020
*
2121
* @Annotation
22+
*
2223
* @Target({"METHOD", "PROPERTY"})
2324
* @Attributes(
2425
* @Attribute("maxDepth", type="int"),

src/Core/Bridge/Doctrine/Orm/CollectionDataProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@
2929
*
3030
* @author Kévin Dunglas <[email protected]>
3131
* @author Samuel ROZE <[email protected]>
32+
*
3233
* @final
3334
*/
3435
class CollectionDataProvider implements ContextAwareCollectionDataProviderInterface, RestrictedDataProviderInterface

src/Core/Bridge/Doctrine/Orm/ItemDataProvider.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
*
3838
* @author Kévin Dunglas <[email protected]>
3939
* @author Samuel ROZE <[email protected]>
40+
*
4041
* @final
4142
*/
4243
class ItemDataProvider implements DenormalizedIdentifiersAwareItemDataProviderInterface, RestrictedDataProviderInterface

src/Core/Upgrade/UpgradeApiFilterVisitor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,15 +95,15 @@ public function enterNode(Node $node)
9595
];
9696

9797
foreach ($this->readApiFilters($this->reflectionClass) as $annotation) {
98-
[$filterAnnotation,] = $annotation;
98+
[$filterAnnotation] = $annotation;
9999
if (isset($legacyNamespaces[$filterAnnotation->filterClass])) {
100100
$namespaces[] = $legacyNamespaces[$filterAnnotation->filterClass];
101101
}
102102
}
103103

104104
foreach ($this->reflectionClass->getProperties() as $reflectionProperty) {
105105
foreach ($this->readApiFilters($reflectionProperty) as $annotation) {
106-
[$filterAnnotation,] = $annotation;
106+
[$filterAnnotation] = $annotation;
107107
if (isset($legacyNamespaces[$filterAnnotation->filterClass])) {
108108
$namespaces[] = $legacyNamespaces[$filterAnnotation->filterClass];
109109
}

src/Metadata/ApiResource.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
* Resource metadata attribute.
2020
*
2121
* @author Antoine Bluchet <[email protected]>
22+
*
2223
* @experimental
2324
*/
2425
#[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)]

src/Metadata/Resource/Factory/AlternateUriResourceMetadataCollectionFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
/**
1919
* @author Antoine Bluchet <[email protected]>
20+
*
2021
* @experimental
2122
*/
2223
final class AlternateUriResourceMetadataCollectionFactory implements ResourceMetadataCollectionFactoryInterface

src/Metadata/Resource/Factory/AttributesResourceMetadataCollectionFactory.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
* Creates a resource metadata from {@see ApiResource} annotations.
4242
*
4343
* @author Antoine Bluchet <[email protected]>
44+
*
4445
* @experimental
4546
*/
4647
final class AttributesResourceMetadataCollectionFactory implements ResourceMetadataCollectionFactoryInterface

0 commit comments

Comments
 (0)