Skip to content

Commit 2e59e46

Browse files
committed
ignore development files on production env
Signed-off-by: MarioRadu <[email protected]>
1 parent 4d7bae9 commit 2e59e46

File tree

3 files changed

+1
-4
lines changed

3 files changed

+1
-4
lines changed

.github/workflows/codecov.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ jobs:
4242
php${{ matrix.php }}-composer-
4343
4444
- name: Install dependencies with composer
45-
env:
46-
COMPOSER_DEV_MODE: 1
4745
run: composer install --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
4846

4947
- name: Collect code coverage with PHPUnit

.laminas-ci/pre-run.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ JOB=$3
22
PHP_VERSION=$4
33
COMMAND=$(echo "${JOB}" | jq -r '.command')
44

5-
echo "Running $COMMAND"
5+
echo "Running pre-run $COMMAND"
66

77
if [[ ${COMMAND} =~ phpunit ]];then
88

bin/composer-post-install-script.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ function copyFile(array $file): void
1414
} else {
1515
if (! in_array(getEnvironment(), $file['environment'])) {
1616
echo "Skipping the copy of {$file['source']} due to environment settings." . PHP_EOL;
17-
echo "ENV SETTING : " . getEnvironment() . PHP_EOL;
1817
} else {
1918
if (! copy($file['source'], $file['destination'])) {
2019
echo "Cannot copy {$file['source']} file to {$file['destination']}" . PHP_EOL;

0 commit comments

Comments
 (0)