Hello Pedro,
Thank you for the question.
php.problems.workspaceAnalysis has been replaced by more flexible php.problems.scope. It is by default set to only report problems in user's code.
The recommended setting is the default:
"php.problems.scope" : "user"
To turn off all problems, set the setting to
"php.problems.scope" : "none"