Skip to content

Commit d190465

Browse files
authored
fix: check if classes are already loaded before attempting to autoload them. (#442)
* chore: update composer dev-deps * fix: check if classes are loaded by a different autoloader * chore: add props * ci: replace `docker-compose` with `docker compose`
1 parent 344cf12 commit d190465

File tree

5 files changed

+279
-259
lines changed

5 files changed

+279
-259
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
## [Unreleased]
44

5+
- fix: Check if classes are loaded by a different autoloader before attempting to autoload them. H/t @cvanh
6+
- ci: Replace calls to `docker-compose` with `docker compose`.
7+
8+
59
## v0.13.0
610

711
**:warning: This release contains multiple breaking changes.**

bin/run-docker.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ case "$subcommand" in
8787
export APACHE_RUN_GROUP=$(id -g)
8888
echo "APACHE RUN USER ${APACHE_RUN_USER} ${APACHE_RUN_GROUP}"
8989

90-
docker-compose run --rm \
90+
docker compose run --rm \
9191
-e COVERAGE=${COVERAGE-} \
9292
-e USING_XDEBUG=${USING_XDEBUG-} \
9393
-e DEBUG=${DEBUG-} \

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"install-stan-env": "bash bin/install-stan-env.sh",
7676
"docker-build": "bash bin/run-docker.sh build",
7777
"docker-run": "bash bin/run-docker.sh run",
78-
"docker-destroy": "docker-compose down",
78+
"docker-destroy": "docker compose down",
7979
"build-and-run": [
8080
"@docker-build",
8181
"@docker-run"

0 commit comments

Comments
 (0)