1
0
mirror of https://github.com/danog/psalm.git synced 2024-12-02 17:52:45 +01:00
psalm/src/Psalm
Barney Laurance ea83068deb Allow resolving directories from config file location (continued) (#1910)
* Extract function getPsalmHelpText() from psalm.php

* Extract initialiseConfig from psalm.php

* Add -c as valid short option for psalter and psalm-refactor

* Use initialiseConfig in psalter, psalm-refactor and psalm-language-server as well as psalm

* Rely on psalm --alter resolving directory from config file in test

* Remove erronous condition for config file path

This code was based on me wrongly thinking that the config file location
was seprated from the argument name with a space instead of an equals
sign

* Use config dir as current dir in psalm and psalm-refactor, as with psalter and psalm-language-server

* Remove redundant duplicated code

* Refactor: move calls to \Psalm\Config::setComposerClassLoader inside initialiseConfig

* PHPCS fix

* Extract function get_path_to_config from command scripts

* Refactor - extract functions from \Psalm\Config::loadFromXML

* Refactor - reduce verbosity of config loading code

* Allow running e2e tests on windows

* Fix testCompactReport on Windows

* convert line endings to make testCompactReport pass on Windows
2019-07-07 08:55:53 -04:00
..
CodeLocation Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
Config Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
Exception Add safeguards to prevent bad refactor input 2019-06-02 23:33:57 -04:00
Internal Allow closures to contain templated @var docblocks 2019-07-06 00:18:53 -04:00
Issue Fully qualify constants and function calls (#1849) 2019-06-26 16:52:29 -04:00
Plugin Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
Progress Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
Report Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
SourceControl Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
Storage Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
Type Fix #1886 - allow empty array to be coerced to a mixed one 2019-07-05 17:44:22 -04:00
Aliases.php Simplify class completion lookup 2019-06-29 21:32:26 -04:00
Codebase.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
CodeLocation.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
Config.php Allow resolving directories from config file location (continued) (#1910) 2019-07-07 08:55:53 -04:00
Context.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
DocComment.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
ErrorBaseline.php Fix missing class 2019-07-05 16:30:51 -04:00
FileBasedPluginAdapter.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
FileManipulation.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
FileSource.php
IssueBuffer.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00
PluginRegistrationSocket.php Fully qualify constants and function calls (#1849) 2019-06-26 16:52:29 -04:00
Report.php Fully qualify constants and function calls (#1849) 2019-06-26 16:52:29 -04:00
StatementsSource.php Rewrite use statements 2019-06-05 22:13:33 -04:00
Type.php Apply PHPCS fixes 2019-07-05 16:27:53 -04:00