Skip to content

Commit 729b2b1

Browse files
committed
Don't update old Phalcon and Phalcon4 modules
Script attempts to delete them, because they can't be installed on PHP 8
1 parent 2a83e5c commit 729b2b1

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ _site/
55
/composer.lock
66
Gemfile.lock
77
/docs/modules/AbstractAsserts.md
8+
/docs/modules/Phalcon.md
9+
/docs/modules/Phalcon4.md
810
/package/composer.lock
911
/package/vendor
1012
/vendor

RoboFile.php

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -192,6 +192,12 @@ public function buildDocsModules()
192192
$this->taskFilesystemStack()->symlink('Mezzio.md', 'docs/modules/ZendExpressive.md')->run();
193193
$this->taskFilesystemStack()->symlink('Laravel.md', 'docs/modules/Laravel5.md')->run();
194194
$this->taskFilesystemStack()->symlink('Laminas.md', 'docs/modules/ZF2.md')->run();
195+
196+
// Don't update old Phalcon modules
197+
$this->taskGitStack()
198+
->stopOnFail()
199+
->checkout('-- docs/modules/Phalcon.md docs/modules/Phalcon4.md')
200+
->run();
195201
}
196202

197203
private function postProcessModuleDocFile($documentationFile, $name, $source)

0 commit comments

Comments
 (0)