1
0
mirror of https://github.com/danog/psalm.git synced 2024-11-27 04:45:20 +01:00
Commit Graph

34 Commits

Author SHA1 Message Date
Matthew Brown
472ab29d74 Add PossiblyInvalidCast for more refined checks 2019-03-17 17:10:51 -04:00
Matthew Brown
bd9f2ec546 Add separate issue type for undefined interface method 2019-01-13 13:07:53 -05:00
Matthew Brown
f9753e1517 Add internal methods to default ignored 2018-12-10 23:20:46 -05:00
Brown
dc834fdb01 Default allowStringToStandInForClass to true and fix errors found 2018-11-12 12:03:55 -05:00
Matt Brown
cb63f4f70f Add support for checking DeprecatedTrait and DeprecatedConstant 2018-08-10 13:25:25 -04:00
Matthew Brown
b6372f8342 Analyse SimpleNameResolver too 2018-07-22 18:00:08 -04:00
Matthew Brown
dc9e8e7916 Fix #872 - ignore vendor dir in default config 2018-07-08 08:38:27 -04:00
Matthew Brown
d078ce7a26 Move RedundantCondition to level 3 2018-05-12 01:00:10 -04:00
Gabriel Ostrolucký
6c03be3193 #597 adjust XSD too and use more proper XML namespace 2018-04-21 18:55:42 -04:00
Matthew Brown
f6356d96bd Fix #597 add namespace to XML schema urls 2018-04-21 18:11:17 -04:00
Matthew Brown
2b34c1d315 Add extra level 8 containing PHP autoload landmines 2018-04-19 01:03:28 -04:00
Matt Brown
aa3ea9c14c Add a 7th level with even more permissive checks 2018-04-18 15:31:00 -04:00
Matt Brown
5a2f6ff0e0 Fix #624 - change some innaccurate issue names 2018-04-17 14:07:02 -04:00
Matthew Brown
69479f9f6e Refine 4,5 and 6 defaults 2018-03-20 23:06:17 -04:00
Matthew Brown
072df9e9d8 Add Possibly InvalidIterator levels to defaults 2018-03-20 23:02:10 -04:00
Matthew Brown
f5b94dfcff Don’t error on deprecated by default 2018-03-18 18:48:43 -04:00
Matthew Brown
545a23c5f9 Info more Possibly issues 2018-03-18 18:47:18 -04:00
Matthew Brown
d7a585160f Add more granular error messages for invalid operands 2018-03-18 16:39:34 -04:00
Matthew Brown
a668cfd78b Add schema locations to generated XML
Fixes #583
2018-03-17 22:33:25 -04:00
Matthew Brown
7f4e234def Suppress NullableReturnStatement at level 6 2018-03-16 21:56:56 -04:00
Matthew Brown
8da762d97d Add RawObjectIteration to level 3 config 2018-03-16 21:52:27 -04:00
Matthew Brown
bf45ef04ea Add SOLID violation to level 6 default 2018-03-16 21:47:30 -04:00
Matt Brown
39cdd00094 Add extra level for starter configs 2018-02-22 12:25:05 -05:00
Matt Brown
da5ee15b40 Add new issue ignored in default config 2018-02-07 15:27:25 -05:00
Matt Brown
1df4c3d196 Add DocblockTypeContradiction to find possible issues with docblock types
Fixes #491
2018-02-06 18:44:53 -05:00
Matthew Brown
3482ee3b39 Split UntypedParam into MissingParamType and MissingClosureParamType 2018-01-28 20:03:47 -05:00
Matt Brown
b0f3992f36 Remove stopOnFirstError config option, because it hasn’t worked for a while
Fixes #248
2018-01-24 16:22:54 -05:00
Matt Brown
e679c9fb84 Fix XML formatting for example files 2018-01-10 11:01:32 -05:00
Matt Brown
72848477c2 Add all Possibly* issues to more lenient config
And add granularity to InvalidPropertyAssignment* issues
2018-01-10 10:56:43 -05:00
Matthew Brown
875bb8c072 Improve dead code detection, reducing false positives for params 2017-12-29 17:27:16 -05:00
Matthew Brown
f27bd50abe
Add RedundantCondition issue, replacing FailedTypeResolution (#344)
* Group changes

* Don’t worry about vars defined before exiting

* Fix issues with vars defined in conditionals

* Add failing test

* Only add failed reconciliation flag if nothing could be salvaged

* Avoid notice when removing clauses

* Improve handling of loops

* Fix evaluation of binary op expressions

* Remove unset vars from outer context after loop

* Ignore RedundantCondition in some more configs
2017-11-28 00:46:41 -05:00
Matthew Brown
8aabcbce35 Introduce UntypedParam warnings when functions are missing param types 2017-09-02 11:18:56 -04:00
Matthew Brown
d2124a426c Add LessSpecificReturnType as info at all levels 2017-03-18 12:25:42 -04:00
Matthew Brown
0277ca49ba Add config creation utility 2017-02-12 23:59:43 -05:00