diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index f94eac9ff11921c9f72915f3a9fc10264d77fe76..dd95b5e6609d3fdc19fbcd3a25699fd41e5dc25b 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -260,8 +260,7 @@ stages:
   <<: [ *with-composer-cache, *junit-artifacts, *default-job-settings-lint ]
   stage: 🪄 Lint
   script:
-    # Turn off apc to avoid corrupt composer cache.
-    - php -d apc.enabled=0 -d apc.enable_cli=0 vendor/bin/phpstan analyze --configuration=./core/phpstan.neon.dist --error-format=gitlab > phpstan-quality-report.json
+    - php vendor/bin/phpstan analyze --configuration=./core/phpstan.neon.dist --error-format=gitlab > phpstan-quality-report.json
   artifacts:
     reports:
       codequality: phpstan-quality-report.json