Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diagnostic provider "outsourced" error & develop branch no longer maintained notification #119

Closed
kachidk opened this issue May 5, 2024 · 3 comments

Comments

@kachidk
Copy link

kachidk commented May 5, 2024

Hello,

Whenever I restart VSCode and open a PHP file I get this notification.

Plugin version: 1.3.0
OS: macOS
VSCode version: 1.85.2

image
@zobo
Copy link
Collaborator

zobo commented May 5, 2024

The "outsourced" error is known and I have yet to get to this: #113
The other message indicates your are not using the bundled phpactor phar but rather something on your disk probably configured via phpactor.path setting. Either remove that or manually git switch and update your checked out phpactor source. Also don't forget to composer install after update.

@kachidk
Copy link
Author

kachidk commented May 6, 2024

The other message indicates your are not using the bundled phpactor phar but rather something on your disk probably configured via phpactor.path setting.

Nothing is configured with the phpactor.path setting. I don't have phpactor installed globally because I want to use the phpactor.phar bundled with the extension.

Please how do I do this:

Either remove that or manually git switch and update your checked out phpactor source. Also don't forget to composer install after update.


Info after running Phpactor: Show current status

Process
-------

  cwd:/Users/ABC/Projects/monorepo-api
  pid: 33577
  up: 0d 0h 18m 38s

Server
------

  mem: 72,427,216b
  documents: 0
  services: ["diagnostics","serviceAnnouncements","indexer"]
  diagnostics: outsourced, php-lint

Paths
-----

  project_id: monorepo-api-abcde
  project_root: /Users/ABC/Projects/monorepo-api
  cache: /Users/ABC/.cache/phpactor
  config: /Users/ABC/.config/phpactor
  data: /Users/ABC/.local/share/phpactor
  application_root: phar:///Users/ABC/.vscode/extensions/phpactor.vscode-phpactor-1.3.0/phpactor.phar
  project_config: /Users/ABC/Projects/monorepo-api/.phpactor

Indexer
-------

  watcher: pattern matching LSP file events

@kachidk
Copy link
Author

kachidk commented May 21, 2024

I solved it by restarting my system. I guess it must have stopped the old process.

@kachidk kachidk closed this as completed May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants