summaryrefslogtreecommitdiff
path: root/ale_linters/php
AgeCommit message (Collapse)Author
2023-02-02phpstan: set cwd to configuration file directory (#4422)Albert Peschar
PHPStan will only detect a configuration file in the current working directory, so set that to the directory in which ALE finds the configuration file.
2021-11-19Add cspell Linter (#3981)David Houston
* Add cspell linter Add cspell linter, with the languages it supports. Signed-off-by: David Houston <houstdav000@gmail.com> * Add cspell Global Variables Documentation Add documentation to /doc/ale.txt with cspell configuration options. Signed-off-by: David Houston <houstdav000@gmail.com> * Add cspell to docs, Minor Cleanup Add cspell for each supported language, adding some spaces and removing others when caught navigating the file. Signed-off-by: David Houston <houstdav000@gmail.com>
2021-11-18Adds PHPActor Linter (LSP) (#3975)Arie Oldman
* Adds phpactor lsp linter * Fixes missing comma * Adds tests for phpactor lsp linter * Adds note that this part is not my own work * Removes unused variable * Adds phpactor to supported tools list * Fixes doc sorting * Wraps phpactor in code tags
2021-11-15Find composer.json when searching for psalm (#3979)Daisuke Shimamoto
* Look for nearest composer.json before .git * Add test for projects with composer.json
2021-11-12Adds --memory-limit support for phpstan (#3973)Arie Oldman
* Adds --memmory-limit option for PHPStan linter * Updates docs for phpstan --memory-limit option. * Adds Arizard to authors * Adds test for phpstan memory limit parameter * Fixes order of parameters in test * Changes dash to underscore
2021-07-10add phpstan local executable detection (#3809)Michael Weimann
2021-07-09Add support for multiline messages (#3686)Grégoire Paris
This is achieved by switching to JSON, which makes it much easier to avoid confusion between an error message and the next one. It also spares us from having to deal with regular expressions, and eliminates some edge cases that no longer need to be tested.
2021-07-04[PHP] PhpStan also looks for .dist config file (#3765)Filippo Tessarotto
* [PHP] PhpStan also looks for .dist config file * Add tests
2021-05-26Enable gopls by default with GOPATH detectionw0rp
2021-03-01Close #2281 - Separate cwd commands from commandsw0rp
Working directories are now set seperately from the commands so they can later be swapped out when running linters over projects is supported, and also better support filename mapping for running linters on other machines in future.
2021-02-02add filename to outputAlexey Kreshchuk
2021-01-04fix: proper initialization options call in php intelephensettys3
2020-11-21Adds support for Tlint - A Tighten Opinionated PHP Linter (#3291)Jose Soto
Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-11-21Merge pull request #3357 from creativenull/feat-php-intelephensew0rp
feat: add intelephense support for php
2020-09-25fix(ale_linters/phpcs): add support for multiline error messagesMarcus Zanona
2020-09-17feat: add intelephense support for phpArnold Chand
2020-08-29Fix psalm options. Retry on some test failuresw0rp
2019-10-07Add the possiblity to add extra psalm optionsGrégoire Paris
2019-07-25Use the psalm executable with the LS optionGrégoire Paris
This is the simplest way of getting the psalm language server to run now.
2019-05-29#2533 - Run phpcs in the directory the file is inw0rp
2019-05-14Close #908 - Report phpcs problems as style problemsw0rp
2019-05-10Add phpstan autoload optionMikko Pesari
2019-05-07Escape phpstan arguments, and update documentationw0rp
2019-05-01Better phpstan default configuration (#2444)Julien Deniau
* Use phpstan config file as default whenever possible + report as error
2019-04-07#2132 - Replace command_chain and chain_with with ale#command#Runw0rp
2019-03-25Use location of `composer.json` for PHP project path too (#2391)Shahin Sorkh
* move php-langserver "test for .git dir" test-project to its own directory * search for composer.json file in php-langserver first then .git dir * add test for php-langserver composer.json
2019-02-22#2132 - Replace all uses of foo_callback with foow0rp
2018-11-23php: change phpstan's --errorFormat to --error-format (#2005)lfree
* php: change phpstan's --errorFormat to --error-format * add version check to phpstan
2018-11-01PHP linter: make the path to the executable configurableCyril Roelandt
Fixes #1388
2018-10-19Update Psalm plugin to use LSP modeMatthew Brown
2018-09-27Add psalm linter for PHP (#1893)Richard Marmorstein
2018-08-18Added and fixed testsmatthias
2018-08-16Added phpcs options support as described in #257matthias
2018-08-02Simplify the code for most linters and tests with closuresw0rp
2018-08-02Split Hack out from PHP, modernizeFred Emmott
fixes #1738 - Replace previous `hh_client` usage with LSP client - Add `HHAST` linter - Split Hack from PHP: Hack is increasingly diverging from PHP: - Hack tools do not understand PHP - Most PHP tools do not handle Hack code well (including vim's syntax highightling files) - http://github.com/hhvm/vim-hack now sets filetype to `hack`
2018-07-04Make the language option for LSP linters optionalw0rp
2018-05-27Fix an incorrect argument of ale#Var in ale_linters#php#phan#Handlehaginaga
2018-05-27Fix code style issues and refactor to use ale#Varhaginaga
2018-05-08Fix to follow the Google VimScript Style Guidehaginaga
2018-05-08Fix to follow the Google VimScript Style Guidehaginaga
2018-05-08Modify to be able to use phan_client without g:ale_php_phan_executablehaginaga
2018-05-08(close w0rp/ale#1561) Add support phan_client for phphaginaga
2018-04-27Close #1521 - Allow the language to be set with simple strings for LSP lintersw0rp
2018-04-09Close #542 - Add an option for disabling running locally installed ↵w0rp
executables by default
2017-12-13Fix PHP linter to support PHP 7.2 lint outputStephen Rathbone
2017-11-05Add executable option for phpmd linter (resolves #1076) (#1078)David Sierra DiazGranados
* Add executable option for phpmd linter (resolves #1076) * Add test for phpmd executable option
2017-10-31Prevent logging of errors in the php linter.Derrick Nelson
2017-10-26Merge pull request #1009 from sirbrillig/add/phpcs-include-code-optionw0rp
phpcs: include sniff code in message
2017-10-26Include sniff code in messagePayton Swick
2017-10-24Add phan as a linter for php files (#1026)Diego Oliveira
Add phan for checking PHP code