Add support for phplint

This commit is contained in:
Shivam Mathur
2020-06-24 04:30:50 +05:30
parent dd27d4eb81
commit 6158538131
4 changed files with 11 additions and 4 deletions

View File

@ -358,7 +358,7 @@ export async function getCleanedToolsList(
return extension
.trim()
.replace(
/symfony\/|laravel\/|robmorgan\/|hirak\/|narrowspark\/automatic-/,
/hirak\/|laravel\/|narrowspark\/automatic-|overtrue\/|robmorgan\/|symfony\//,
''
);
})
@ -539,6 +539,9 @@ export async function addTools(
case 'phinx':
script += await addPackage(tool, release, 'robmorgan/', os_version);
break;
case 'phplint':
script += await addPackage(tool, release, 'overtrue/', os_version);
break;
case 'prestissimo':
script += await addPackage(tool, release, 'hirak/', os_version);
break;