[TikiWiki-commits] [Git][tikiwiki/tiki][master] [ENH] Update local checks to run PHPStan with an explicit memory limit

"Elifeleti Mukisa Dan \(@Danelif\) via TikiWiki-cvs" <[email protected]>
Newsgroups gmane.comp.cms.tiki.cvs
Message-ID <6a218c09113f4_381943d07088d@gitlab-sidekiq-low-urgency-cpu-bound-v2-58c8bf65fd-d7sz5.mail>

Elifeleti Mukisa Dan pushed to branch master at Tiki Wiki CMS Groupware / Tiki


Commits:
52bac5c1 by Elifeleti Mukisa Dan at 2026-06-04T14:12:16+00:00
[ENH] Update local checks to run PHPStan with an explicit memory limit
---
* [ENH] Update local checks to run PHPStan with an explicit memory limit so the changed-file analysis does not fail on large legacy installer files.

See merge request tikiwiki/tiki!10443

- - - - -


1 changed file:

- doc/devtools/run_local_checks.php


Changes:

=====================================
doc/devtools/run_local_checks.php
=====================================
@@ -22,7 +22,7 @@ Examples:
   php doc/devtools/run_local_checks.php
   php doc/devtools/run_local_checks.php --skip=2,5,9
   php doc/devtools/run_local_checks.php --skip-rebase
-  
+
 Notes:
   By default, the script attempts to rebase the current branch on top of the
   detected upstream master branch before running checks.
@@ -75,7 +75,7 @@ function hasComposerChanges(array $files): bool
 $phpFiles = filesByExtension($affectedFiles, ['php']);
 $jsFiles = filesByExtension($affectedFiles, ['js']);
 $tplFiles = filesByExtension($affectedFiles, ['tpl']);
-
+$phpstanMemoryLimit = getenv('TIKI_PHPSTAN_MEMORY_LIMIT') ?: '512M';
 if (hasComposerChanges($affectedFiles)) {
     $steps = [
         ['Composer extension check', 'php doc/devtools/check_composer_extensions.php'],



View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/52bac5c17e4d6bb91ef8011772d396019ac9bca7

-- 
View it on GitLab: https://gitlab.com/tikiwiki/tiki/-/commit/52bac5c17e4d6bb91ef8011772d396019ac9bca7
You're receiving this email because of your account on gitlab.com. Manage all notifications: https://gitlab.com/-/profile/notifications | Help: https://gitlab.com/help

_______________________________________________
TikiWiki-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/tikiwiki-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.