Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/php.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,8 @@ jobs:
strategy:
matrix:
operating-system: [ ubuntu-latest ]
php: [ '8.1', '8.2' ]
symfony: ['5.4.*', '6.3.*', '7.1.*']
exclude:
- php: '8.1'
symfony: '7.1.*'
php: ['8.4' ]
symfony: ['7.4.*', '8.0.*']
steps:
- uses: actions/checkout@main

Expand Down
7 changes: 5 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,10 @@ help:
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'

composer-install: ## composer install
docker run --rm -it -w="/srv/app" --volume $$(pwd)/.config/composer:/root/.config/composer --volume $${SSH_AUTH_SOCK}:/ssh-agent --env SSH_AUTH_SOCK=/ssh-agent --volume $$(pwd):/srv/app prooph/composer:8.1 install
docker run --rm -it -w="/srv/app" --volume $$(pwd)/.config/composer:/root/.config/composer --volume $$(pwd):/srv/app composer:2.9 install

composer-update: ## composer update
docker run --rm -it -w="/srv/app" --volume $$(pwd)/.config/composer:/root/.config/composer --volume $$(pwd):/srv/app composer:2.9 update

phpunit: ## phpunit
docker run --rm -it -w="/srv/app" --volume $$(pwd)/.config/composer:/root/.config/composer --volume $${SSH_AUTH_SOCK}:/ssh-agent --env SSH_AUTH_SOCK=/ssh-agent --volume $$(pwd):/srv/app --entrypoint="" prooph/composer:8.1 vendor/bin/phpunit
docker run --rm -it -w="/srv/app" --volume $$(pwd)/.config/composer:/root/.config/composer --volume $$(pwd):/srv/app --entrypoint="" composer:2.9 vendor/bin/phpunit
13 changes: 6 additions & 7 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@
"require-dev": {
"symfony/class-loader": "2.3.*",
"nyholm/symfony-bundle-test": "^3.0",
"phpunit/phpunit": "^10.3"
"phpunit/phpunit": "^12.5"
},
"require": {
"php": "^8.1",
"symfony/framework-bundle": "^5.4|^6.3|^7.1",
"doctrine/doctrine-bundle": "^2.12",
"php": "^8.4",
"symfony/framework-bundle": "^7.1|^8.0",
"doctrine/doctrine-bundle": "^2.12|^3.0",
"doctrine/orm": "^3.0",
"doctrine/annotations": "^2.0",
"symfony/serializer": "^5.4|^6.3|^7.1",
"symfony/property-access": "^5.4|^6.3|^7.1"
"symfony/serializer": "^7.1|^8.0",
"symfony/property-access": "^7.1|^8.0"
},
"autoload": {
"psr-4": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

class DoctrineRelationVisualizerExtension extends Extension
{
public function load(array $configs, ContainerBuilder $container)
public function load(array $configs, ContainerBuilder $container): void
{
$configuration = new Configuration();
$config = $this->processConfiguration($configuration, $configs);
Expand Down
3 changes: 2 additions & 1 deletion tests/config.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
doctrine:
dbal:
driver: pdo_pgsql
server_version: '16'
orm:
auto_generate_proxy_classes: true
auto_mapping: true
enable_native_lazy_objects: true
mappings:
App:
is_bundle: false
Expand Down
Loading