Laravel is always returning local when checking the environment, even when tests are being executed
I've got a Dockerized Laravel app, here's the docker compose file: version: "3.9" services: app: build: context: ./ dockerfile: Dockerfile image: dmc container_name: dmc-app restart: unless-stopped working_dir: /var/www/ # load development specific .env file env_file: - ./.env.development depends_on: - db…