Skip to content

Commit 7fbcfc2

Browse files
committed
remove all core stuff
1 parent 68b175d commit 7fbcfc2

File tree

325 files changed

+593
-4370
lines changed

Some content is hidden

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

325 files changed

+593
-4370
lines changed

src/Action/EntrypointAction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,3 @@ public function __invoke(): Entrypoint
3535
return new Entrypoint($this->resourceNameCollectionFactory->create());
3636
}
3737
}
38-
39-
class_alias(EntrypointAction::class, \ApiPlatform\Core\Action\EntrypointAction::class);

src/Action/ExceptionAction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,5 +116,3 @@ private function getOperationExceptionToStatus(Request $request): array
116116
);
117117
}
118118
}
119-
120-
class_alias(ExceptionAction::class, \ApiPlatform\Core\Action\ExceptionAction::class);

src/Action/NotFoundAction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,3 @@ public function __invoke()
2525
throw new NotFoundHttpException();
2626
}
2727
}
28-
29-
class_alias(NotFoundAction::class, \ApiPlatform\Core\Action\NotFoundAction::class);

src/Action/PlaceholderAction.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,3 @@ public function __invoke($data)
3030
return $data;
3131
}
3232
}
33-
34-
class_alias(PlaceholderAction::class, \ApiPlatform\Core\Action\PlaceholderAction::class);

src/Api/Entrypoint.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,3 @@ public function getResourceNameCollection(): ResourceNameCollection
3434
return $this->resourceNameCollection;
3535
}
3636
}
37-
38-
class_alias(Entrypoint::class, \ApiPlatform\Core\Api\Entrypoint::class);

src/Api/FilterLocatorTrait.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,3 @@ private function getFilter(string $filterId): ?FilterInterface
6262
return null;
6363
}
6464
}
65-
66-
class_alias(FilterLocatorTrait::class, \ApiPlatform\Core\Api\FilterLocatorTrait::class);

src/Api/FormatMatcher.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,5 +62,3 @@ public function getFormat(string $mimeType): ?string
6262
return null;
6363
}
6464
}
65-
66-
class_alias(FormatMatcher::class, \ApiPlatform\Core\Api\FormatMatcher::class);

src/Api/QueryParameterValidator/QueryParameterValidator.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,3 @@ public function validateFilters(string $resourceClass, array $resourceFilters, a
6464
}
6565
}
6666
}
67-
68-
class_alias(QueryParameterValidator::class, \ApiPlatform\Core\Filter\QueryParameterValidator::class);

src/Api/QueryParameterValidator/Validator/ArrayItems.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,5 +84,3 @@ private static function getSeparator(string $collectionFormat): string
8484
}
8585
}
8686
}
87-
88-
class_alias(ArrayItems::class, \ApiPlatform\Core\Filter\Validator\ArrayItems::class);

src/Api/QueryParameterValidator/Validator/Bounds.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,5 +49,3 @@ public function validate(string $name, array $filterDescription, array $queryPar
4949
return $errorList;
5050
}
5151
}
52-
53-
class_alias(Bounds::class, \ApiPlatform\Core\Filter\Validator\Bounds::class);

0 commit comments

Comments
 (0)