Skip to content

Commit

Permalink
feat: Removed deprecated.php aliases for old Roadiz v1 classes
Browse files Browse the repository at this point in the history
BREAKING CHANGE: deprecated.php aliases has been removed make sure you use the latest Roadiz namespaces
  • Loading branch information
ambroisemaupate committed Nov 18, 2024
1 parent 0508c65 commit 128c530
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 323 deletions.
6 changes: 2 additions & 4 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,8 @@ services:
UID: ${UID:-1000}
depends_on:
- app
links:
- app:app
volumes:
# Need to share all app files for relative symlink to work in development
- ./:/app
Expand All @@ -138,10 +140,6 @@ services:
- "traefik.http.services.${APP_NAMESPACE}.loadbalancer.server.scheme=http"
- "traefik.http.services.${APP_NAMESPACE}.loadbalancer.server.port=80"
- "traefik.http.services.${APP_NAMESPACE}.loadbalancer.passhostheader=true"
# - "traefik.http.services.${APP_NAMESPACE}.loadbalancer.healthcheck.path=/health-check"
# - "traefik.http.services.${APP_NAMESPACE}.loadbalancer.healthcheck.interval=10s"
# - "traefik.http.services.${APP_NAMESPACE}.loadbalancer.healthcheck.timeout=3s"
# - "traefik.http.services.${APP_NAMESPACE}.loadbalancer.healthcheck.headers.x-health-check=${APP_HEALTH_CHECK_TOKEN}"
# Listen HTTP
- "traefik.http.routers.${APP_NAMESPACE}.entrypoints=http"
- "traefik.http.routers.${APP_NAMESPACE}.rule=Host(${HOSTNAME})"
Expand Down
4 changes: 0 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -172,10 +172,6 @@
}
},
"autoload": {
"files": [
"lib/RoadizCompatBundle/deprecated.php",
"lib/RoadizRozierBundle/deprecated.php"
],
"psr-4": {
"App\\": "src/",
"RZ\\Roadiz\\": "lib/Models/src/",
Expand Down
5 changes: 1 addition & 4 deletions lib/RoadizCompatBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,7 @@
"autoload": {
"psr-4": {
"RZ\\Roadiz\\CompatBundle\\": "src/"
},
"files": [
"deprecated.php"
]
}
},
"extra": {
"branch-alias": {
Expand Down
9 changes: 0 additions & 9 deletions lib/RoadizCompatBundle/deprecated.php

This file was deleted.

271 changes: 0 additions & 271 deletions lib/RoadizCompatBundle/src/Aliases.php

This file was deleted.

5 changes: 1 addition & 4 deletions lib/RoadizRozierBundle/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,7 @@
"autoload": {
"psr-4": {
"RZ\\Roadiz\\RozierBundle\\": "src/"
},
"files": [
"deprecated.php"
]
}
},
"extra": {
"branch-alias": {
Expand Down
9 changes: 0 additions & 9 deletions lib/RoadizRozierBundle/deprecated.php

This file was deleted.

16 changes: 0 additions & 16 deletions lib/RoadizRozierBundle/src/Aliases.php

This file was deleted.

2 changes: 0 additions & 2 deletions phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@ parameters:
- lib/RoadizTwoFactorBundle/src
- lib/Rozier/src
- src
bootstrapFiles:
- lib/RoadizCompatBundle/deprecated.php
excludePaths:
- */node_modules/*
- */bower_components/*
Expand Down

0 comments on commit 128c530

Please sign in to comment.