Skip to content

Commit

Permalink
dev: fix intelephense
Browse files Browse the repository at this point in the history
Signed-off-by: Varun Patil <radialapps@gmail.com>
  • Loading branch information
pulsejet committed Apr 7, 2024
1 parent 2b536d9 commit b4539e3
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 4 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/postCreate.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ sudo -E -u www-data php /var/www/html/occ app:enable memories
sudo -E -u www-data php /var/www/html/occ memories:index

# Build JavaScript
make build-js
make build-js

# Fix permissions (again)
chown -R www-data:www-data /var/www/html
24 changes: 21 additions & 3 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,6 @@
"zlib",
"imagick"
],
"intelephense.environment.phpVersion": "8.0.0",
"intelephense.environment.documentRoot": "${workspaceFolder}/../../",
"php-cs-fixer.allow-risky": true,
"psalm.disableAutoComplete": true,
"[php]": {
Expand All @@ -101,5 +99,25 @@
},
"git.alwaysSignOff": true,
"editor.formatOnSave": true,
"psalm.configPaths": ["psalm-ls.xml"]
"psalm.configPaths": ["psalm-ls.xml"],

"intelephense.environment.phpVersion": "8.1.0",
"intelephense.environment.documentRoot": "../..",
"intelephense.environment.includePaths": ["../.."],
"intelephense.files.exclude": [
"**/.git/**",
"**/.svn/**",
"**/.hg/**",
"**/CVS/**",
"**/.DS_Store/**",
"**/node_modules/**",
"**/bower_components/**",
"**/vendor/**/{Tests,tests}/**",
"**/.history/**",
"**/vendor/**/vendor/**",
"**/.devcontainer/**",
"**/.cache/**",
"**/apps/**/vendor/**",
"**/memories/vendor/**"
]
}

0 comments on commit b4539e3

Please sign in to comment.