Skip to content

Commit

Permalink
fix: check if classes are already loaded before attempting to autoloa…
Browse files Browse the repository at this point in the history
…d 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`
  • Loading branch information
justlevine authored Aug 2, 2024
1 parent 344cf12 commit d190465
Show file tree
Hide file tree
Showing 5 changed files with 279 additions and 259 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

## [Unreleased]

- fix: Check if classes are loaded by a different autoloader before attempting to autoload them. H/t @cvanh
- ci: Replace calls to `docker-compose` with `docker compose`.


## v0.13.0

**:warning: This release contains multiple breaking changes.**
Expand Down
2 changes: 1 addition & 1 deletion bin/run-docker.sh
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ case "$subcommand" in
export APACHE_RUN_GROUP=$(id -g)
echo "APACHE RUN USER ${APACHE_RUN_USER} ${APACHE_RUN_GROUP}"

docker-compose run --rm \
docker compose run --rm \
-e COVERAGE=${COVERAGE-} \
-e USING_XDEBUG=${USING_XDEBUG-} \
-e DEBUG=${DEBUG-} \
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"install-stan-env": "bash bin/install-stan-env.sh",
"docker-build": "bash bin/run-docker.sh build",
"docker-run": "bash bin/run-docker.sh run",
"docker-destroy": "docker-compose down",
"docker-destroy": "docker compose down",
"build-and-run": [
"@docker-build",
"@docker-run"
Expand Down
Loading

0 comments on commit d190465

Please sign in to comment.