Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3745107
D2923.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Referenced Files
None
Subscribers
None
D2923.id.diff
View Options
diff --git a/roles/devserver/userland-software/dev.sls b/roles/devserver/userland-software/dev.sls
--- a/roles/devserver/userland-software/dev.sls
+++ b/roles/devserver/userland-software/dev.sls
@@ -90,18 +90,20 @@
- source_hash: 2cbaea7cfda1bb4299d863eb075e977c3f49055dd16d88529fae5150d48a84cb
- mode: 755
-/opt/phpdox.phar:
- file.managed:
- - source: https://github.com/theseer/phpdox/releases/download/0.12.0/phpdox-0.12.0.phar
- - source_hash: d60ddb2666e103f417510f59d60654efe616ada344f5366e2d0997aa3da921bf
- - mode: 755
-
/opt/phploc.phar:
file.managed:
- source: https://phar.phpunit.de/phploc-7.0.2.phar
- source_hash: 3d59778ec86faf25fd00e3a329b2f9ad4a3c751ca91601ea7dab70f887b0bf46
- mode: 755
+phpdox:
+ cmd.run:
+ - name: |
+ git clone --depth 1 https://github.com/nasqueron/phpdox
+ cd phpdox && composer install
+ - cwd: /opt
+ - creates: /opt/phpdox/phpdox
+
phpunit:
cmd.run:
- name: |
diff --git a/roles/devserver/userland-software/files/run-php-script.sh b/roles/devserver/userland-software/files/run-php-script.sh
--- a/roles/devserver/userland-software/files/run-php-script.sh
+++ b/roles/devserver/userland-software/files/run-php-script.sh
@@ -16,6 +16,8 @@
SCRIPT="vendor/bin/$COMMAND"
elif [ -f "/opt/$COMMAND.phar" ]; then
SCRIPT="/opt/$COMMAND.phar"
+elif [ -f "/opt/$COMMAND/$COMMAND" ]; then
+ SCRIPT="/opt/$COMMAND/$COMMAND"
elif [ -f "/opt/$COMMAND" ]; then
SCRIPT="/opt/$COMMAND"
else
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 16, 12:10 (1 h, 9 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2247512
Default Alt Text
D2923.id.diff (1 KB)
Attached To
Mode
D2923: Install phpdox from nasqueron/phpdox for PHP 8.1 and 8.2 compliance
Attached
Detach File
Event Timeline
Log In to Comment