Skip to content

Commit 7c18892

Browse files
committed
Update config.yml
1 parent 804c1e7 commit 7c18892

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.circleci/config.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -109,19 +109,19 @@ commands:
109109
steps:
110110
- run:
111111
name: Run code quality analysis (PHP Insights)
112-
command: php ./vendor/bin/phpinsights -v --no-interaction --min-quality=90 --min-complexity=50 --min-architecture=90 --min-style=90
112+
command: php --memory-limit=2G ./vendor/bin/phpinsights -v --no-interaction --min-quality=90 --min-complexity=50 --min-architecture=90 --min-style=90
113113

114114
run-phpstan:
115115
steps:
116116
- run:
117117
name: Run static code analysis (PHPStan)
118-
command: php ./vendor/bin/phpstan analyse --ansi --memory-limit 2GB
118+
command: php -d memory_limit=2G ./vendor/bin/phpstan analyse --ansi
119119

120120
run-psalm:
121121
steps:
122122
- run:
123123
name: Run static code analysis (Psalm)
124-
command: php ./vendor/bin/psalm --threads=$(nproc)
124+
command: php -d memory_limit=2G ./vendor/bin/psalm --threads=$(nproc)
125125

126126
run-pest:
127127
parameters:
@@ -130,7 +130,7 @@ commands:
130130
steps:
131131
- run:
132132
name: Run unit tests (Pest)
133-
command: php ./vendor/bin/pest --stop-on-failure --min=80 --coverage-clover=<< parameters.clover >>/coverage.xml --coverage-xml=<< parameters.clover >>/coverage-xml --log-junit=<< parameters.clover >>/junit.xml
133+
command: php -d memory_limit=2G ./vendor/bin/pest --stop-on-failure --min=80 --coverage-clover=<< parameters.clover >>/coverage.xml --coverage-xml=<< parameters.clover >>/coverage-xml --log-junit=<< parameters.clover >>/junit.xml
134134

135135
run-infection:
136136
parameters:
@@ -139,7 +139,7 @@ commands:
139139
steps:
140140
- run:
141141
name: Run mutation tests (Infection)
142-
command: php -d memory_limit=2GB ./vendor/bin/infection --skip-initial-tests --threads=$(nproc) --test-framework=pest --coverage=<< parameters.clover >> --no-progress --only-covered --min-msi=48 --min-covered-msi=70
142+
command: php -d memory_limit=2G ./vendor/bin/infection --skip-initial-tests --threads=$(nproc) --test-framework=pest --coverage=<< parameters.clover >> --no-progress --only-covered --min-msi=48 --min-covered-msi=70
143143

144144
run-snyk:
145145
steps:

0 commit comments

Comments
 (0)