Fix invalid flag --memory-limit

This commit is contained in:
barisgit 2025-09-09 10:31:33 +02:00
parent 52444e05e4
commit 65d840c444
2 changed files with 2 additions and 2 deletions

View file

@ -93,7 +93,7 @@ dev-cache-clear:
dev-warmup:
@echo "🔥 Warming up development cache..."
COMPOSER_MEMORY_LIMIT=-1 php bin/console cache:warmup --env dev -n --memory-limit=1G
COMPOSER_MEMORY_LIMIT=-1 php -d memory_limit=1G bin/console cache:warmup --env dev -n
dev-reset: dev-cache-clear dev-db-migrate
@echo "✅ Development environment reset complete!"

View file

@ -159,7 +159,7 @@
"post-update-cmd": [
"@auto-scripts"
],
"phpstan": "vendor/bin/phpstan analyse src --level 5 --memory-limit 1G"
"phpstan": "php -d memory_limit=1G vendor/bin/phpstan analyse src --level 5"
},
"conflict": {
"symfony/symfony": "*"