Skip to content

Commit

Permalink
Update Dockerfile and CI with new PHP version
Browse files Browse the repository at this point in the history
The Dockerfile and the continuous integration configuration have been updated to use a new version of the PHP image: 3.0.0-php83-cli-vipsffmpeg. Also, unnecessary annotations usage has been removed from the test bootstrap script.
  • Loading branch information
TomasHermanek committed Jan 8, 2024
1 parent b289458 commit ced76a5
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
matrix:
include:
- php-version: 8.2
docker-image: anzusystems/php:1.1.0-php82-cli-vipsffmpeg
docker-image: anzusystems/php:3.0.0-php83-cli-vipsffmpeg

services:
elasticsearch:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM anzusystems/php:1.1.0-php82-cli-vipsffmpeg
FROM anzusystems/php:3.0.0-php83-cli-vipsffmpeg
#
### Basic arguments and variables
ARG DOCKER_USER_ID
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"authors": [
],
"require": {
"php": ">=8.2",
"php": ">=8.3",
"ext-json": "*",
"ext-mongodb": "*",
"ext-redis": "*",
Expand Down
5 changes: 0 additions & 5 deletions tests/bootstrap.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@
declare(strict_types=1);

use AnzuSystems\CoreDamBundle\Tests\AnzuTestKernel;
use Doctrine\Common\Annotations\AnnotationReader;
use Symfony\Component\Console\Output\ConsoleOutput;
use Symfony\Component\Dotenv\Dotenv;
use Symfony\Bundle\FrameworkBundle\Console\Application;
Expand All @@ -13,10 +12,6 @@

(new Dotenv())->bootEnv(dirname(__DIR__) . '/.env.test');

// these annotations are not required, they are optional
AnnotationReader::addGlobalIgnoredNamespace('OpenApi');
AnnotationReader::addGlobalIgnoredNamespace('Nelmio');

$kernel = new AnzuTestKernel(
appNamespace: getenv('APP_NAMESPACE'),
appSystem: getenv('APP_SYSTEM'),
Expand Down

0 comments on commit ced76a5

Please sign in to comment.