Skip to content

Commit 2689ea1

Browse files
committed
[CI] Fix composer installation
1 parent 63a2c53 commit 2689ea1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

dev/docker/Dockerfile

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ RUN apk add --update --no-cache \
4141
shadow
4242

4343
# Composer
44-
RUN curl --location --output /app/bin/composer --show-error \
45-
https://github.com/composer/composer/releases/latest/download/composer.phar \
44+
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/app/bin --filename=composer \
4645
&& chmod a+x /app/bin/composer
4746

4847
# Create the user that's going to run our application

src/Manager/Doctrine/ClientManager.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function list(?ClientFilter $clientFilter): array
7777
$criteria = self::filterToCriteria($clientFilter);
7878

7979
/** @var list<AbstractClient> */
80-
return array_values($repository->findBy($criteria));
80+
return $repository->findBy($criteria);
8181
}
8282

8383
/**

0 commit comments

Comments
 (0)