w0rp
9fe7b1fe6a
Close #2281 - Separate cwd commands from commands
...
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-03-01 20:11:10 +00:00
Alexey Kreshchuk
cc67bc0541
add filename to output
2021-02-02 17:34:59 +03:00
ttys3
b4d889b682
fix: proper initialization options call in php intelephense
2021-01-04 23:10:39 +08:00
Jose Soto
e1184e31f6
Adds support for Tlint - A Tighten Opinionated PHP Linter ( #3291 )
...
Co-authored-by: w0rp <w0rp@users.noreply.github.com>
2020-11-21 20:29:33 +00:00
w0rp
e4bfcb44b3
Merge pull request #3357 from creativenull/feat-php-intelephense
...
feat: add intelephense support for php
2020-11-21 16:18:20 +00:00
Marcus Zanona
e089969404
fix(ale_linters/phpcs): add support for multiline error messages
2020-09-25 11:25:24 +02:00
Arnold Chand
fec6b63494
feat: add intelephense support for php
2020-09-17 08:06:11 -04:00
w0rp
f1ecc2e068
Fix psalm options. Retry on some test failures
2020-08-29 16:31:47 +01:00
Grégoire Paris
95b8689835
Add the possiblity to add extra psalm options
2019-10-07 23:15:01 +02:00
Grégoire Paris
e47c1965a6
Use the psalm executable with the LS option
...
This is the simplest way of getting the psalm language server to run
now.
2019-07-25 23:19:30 +02:00
w0rp
166435dbf1
#2533 - Run phpcs in the directory the file is in
2019-05-29 23:17:14 +01:00
w0rp
4234d39d87
Close #908 - Report phpcs problems as style problems
2019-05-14 22:58:58 +01:00
Mikko Pesari
afa20d96ca
Add phpstan autoload option
2019-05-10 18:28:32 +03:00
w0rp
5f64f8dc57
Escape phpstan arguments, and update documentation
2019-05-07 19:38:38 +01:00
Julien Deniau
c6aae3bcfc
Better phpstan default configuration ( #2444 )
...
* Use phpstan config file as default whenever possible + report as error
2019-05-01 23:14:39 +01:00
w0rp
3bebcb5d48
#2132 - Replace command_chain and chain_with with ale#command#Run
2019-04-07 14:58:06 +01:00
Shahin Sorkh
ad998211f8
Use location of composer.json
for PHP project path too ( #2391 )
...
* 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-03-25 21:29:34 +00:00
w0rp
883978ece9
#2132 - Replace all uses of foo_callback with foo
2019-02-22 18:05:04 +00:00
lfree
2ab64514d0
php: change phpstan's --errorFormat to --error-format ( #2005 )
...
* php: change phpstan's --errorFormat to --error-format
* add version check to phpstan
2018-11-23 09:39:50 +00:00
Cyril Roelandt
f34c089685
PHP linter: make the path to the executable configurable
...
Fixes #1388
2018-11-01 18:52:28 +01:00
Matthew Brown
0ed07a9ef5
Update Psalm plugin to use LSP mode
2018-10-19 15:51:16 -04:00
Richard Marmorstein
947360f714
Add psalm linter for PHP ( #1893 )
2018-09-27 16:48:47 +01:00
matthias
f82ab76833
Added and fixed tests
2018-08-18 20:59:35 +02:00
matthias
02fdfcda58
Added phpcs options support as described in #257
2018-08-16 16:44:41 +02:00
w0rp
217284360d
Simplify the code for most linters and tests with closures
2018-08-02 23:44:12 +01:00
Fred Emmott
238201805d
Split Hack out from PHP, modernize
...
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-08-02 11:28:56 -07:00
w0rp
9ddf1b6a05
Make the language option for LSP linters optional
2018-07-04 13:12:58 +01:00
haginaga
ae8dd39760
Fix an incorrect argument of ale#Var in ale_linters#php#phan#Handle
2018-05-27 22:45:43 +09:00
haginaga
feab494286
Fix code style issues and refactor to use ale#Var
2018-05-27 22:21:02 +09:00
haginaga
230656e678
Fix to follow the Google VimScript Style Guide
2018-05-08 23:47:35 +09:00
haginaga
ffa6fd4bed
Fix to follow the Google VimScript Style Guide
2018-05-08 23:35:14 +09:00
haginaga
eb3ab87569
Modify to be able to use phan_client without g:ale_php_phan_executable
2018-05-08 23:25:11 +09:00
haginaga
8cee39c614
( close w0rp/ale#1561 ) Add support phan_client for php
2018-05-08 14:19:47 +09:00
w0rp
6ab3fdc4d0
Close #1521 - Allow the language to be set with simple strings for LSP linters
2018-04-27 22:52:11 +01:00
w0rp
719b790574
Close #542 - Add an option for disabling running locally installed executables by default
2018-04-09 19:11:20 +01:00
Stephen Rathbone
78d1f5f5df
Fix PHP linter to support PHP 7.2 lint output
2017-12-13 21:23:18 +00:00
David Sierra DiazGranados
7086586b17
Add executable option for phpmd linter ( resolves #1076 ) ( #1078 )
...
* Add executable option for phpmd linter (resolves #1076 )
* Add test for phpmd executable option
2017-11-05 18:53:12 +00:00
Derrick Nelson
a786e01127
Prevent logging of errors in the php linter.
2017-10-31 20:02:59 -04:00
w0rp
6ed456f99c
Merge pull request #1009 from sirbrillig/add/phpcs-include-code-option
...
phpcs: include sniff code in message
2017-10-26 17:49:46 +01:00
Payton Swick
aca66a54a5
Include sniff code in message
2017-10-26 12:22:08 -04:00
Diego Oliveira
b172cd8b17
Add phan as a linter for php files ( #1026 )
...
Add phan for checking PHP code
2017-10-24 22:25:02 +01:00
Diego Oliveira
5b986ce5d3
Fix the regex of phpmd
2017-10-22 14:56:09 -02:00
Ruslan Osmanov
a640d3b022
Added g:ale_php_phpstan_configuration option
2017-09-30 23:36:10 +07:00
w0rp
a3299bf03a
Fix #864 - Use the user's configured executable for phpstan for executable() checks
2017-08-21 18:42:18 +01:00
w0rp
a535d07f28
Ban use of ==# or ==? in the codebase, and prefer is# or is? instead
2017-08-08 08:39:13 +01:00
w0rp
39ebb431b6
Document the PHP langserver integration
2017-08-07 13:08:51 +01:00
w0rp
6e07cf5b12
Cover the PHP language server functions with Vader tests
2017-08-02 22:34:09 +01:00
w0rp
1356cf8e01
#517 Enable the PHP language server
2017-08-02 19:44:00 +01:00
w0rp
84af543907
Fix some bugs so the PHP language server will show errors at least once
2017-07-30 14:42:00 +01:00
w0rp
cd860e3e8d
#517 Add more code LSP support which makes the tssserver linter behave more like the LSP linters
2017-07-26 10:37:37 +01:00