src/extensions/default/PhpTooling/client.js
Function validatePhpExecutable
has 33 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function validatePhpExecutable(confParams) {
executablePath = confParams["executablePath"] ||
(process.platform === 'win32' ? 'php.exe' : 'php');
memoryLimit = confParams["memoryLimit"] || '4095M';
Function serverOptions
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
var serverOptions = function () {
return new Promise(function (resolve, reject) {
var server = net.createServer(function (socket) {
console.log('PHP process connected');
socket.on('end', function () {