Matt Brown
|
db3ddaa42c
|
Allow InvalidCatch and InvalidThrow to be suppressed per-class
Ref #411
|
2018-09-21 11:35:51 -04:00 |
|
Matt Brown
|
4d4e84e6e9
|
Add specific ForbiddenEcho issue if a config flag is set
|
2018-09-18 17:08:32 -04:00 |
|
Matt Brown
|
414057e281
|
Fix #938 - allow forbiddenFunctions to be specified in the config
|
2018-09-18 16:42:51 -04:00 |
|
Matt Brown
|
17ea48eda4
|
Add ability to pretend that a file has declare(strict_types=1)
|
2018-08-29 15:10:56 -04:00 |
|
Matt Brown
|
2599d8bd62
|
Allow some folders to be excluded from type stats collection
|
2018-08-24 17:46:13 -04:00 |
|
Matt Brown
|
070e7903df
|
Allow suppression of TooManyArguments by function/method id
|
2018-08-16 16:49:33 -04:00 |
|
Matt Brown
|
cb63f4f70f
|
Add support for checking DeprecatedTrait and DeprecatedConstant
|
2018-08-10 13:25:25 -04:00 |
|
Matthew Brown
|
d41a9a8dcc
|
Fix #806 - allow specification of functions and static methods that exit
|
2018-07-12 23:26:08 -04:00 |
|
Matthew Brown
|
e3ae1bf26f
|
Fix #15 - check for uncaught throws if config flag is set
|
2018-06-22 01:13:49 -04:00 |
|
Matt Brown
|
f030f4f40d
|
Allow docblock types to be merged with param default ones
|
2018-06-07 12:23:21 -04:00 |
|
Matthew Brown
|
55fdef250e
|
Add config to allow hoisting constants to the top of a file
|
2018-06-01 09:07:22 -04:00 |
|
Matthew Brown
|
a33d52d935
|
Add support for referencedProperty error restrictions
|
2018-05-11 00:07:41 -04:00 |
|
Matthew Brown
|
da6209276f
|
Allow ability to memoize empty method calls based on config
|
2018-04-28 13:05:43 -04:00 |
|
Matthew Brown
|
1c7568e612
|
Fix #642 - allow @method to override existing methods
behind usePhpDocMethodsWithoutMagicCall="true"
|
2018-04-21 23:08:08 -04:00 |
|
Matthew Brown
|
8b50cdf315
|
Fix #632 - add support for @method annotations when method can’t be found
|
2018-04-21 22:44:54 -04:00 |
|
Matthew Brown
|
da69e60cf3
|
Don’t error on existing Psalm configs cc @ostrolucky
|
2018-04-21 19:05:26 -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
|
e8c96e52bc
|
Fix config to allow element cc @rightfold
|
2018-04-21 16:52:33 -04:00 |
|
Matt Brown
|
a25a989c12
|
Prepare v2 dev release
|
2018-04-19 17:29:07 -04:00 |
|
Matt Brown
|
5a2f6ff0e0
|
Fix #624 - change some innaccurate issue names
|
2018-04-17 14:07:02 -04:00 |
|
Matthew Brown
|
b634e1a1b7
|
Add more refined treatment of InvalidIterator
|
2018-03-20 22:59:22 -04:00 |
|
Matthew Brown
|
5384f193d1
|
Allow class and method issues to be suppressed by their identifiers
Ref #603
|
2018-03-20 22:36:03 -04:00 |
|
Matthew Brown
|
d7a585160f
|
Add more granular error messages for invalid operands
|
2018-03-18 16:39:34 -04:00 |
|
Matt Brown
|
b664c85642
|
Add new issue conditional on config flag
|
2018-03-06 12:19:50 -05:00 |
|
Matt Brown
|
357ad1aa82
|
Add config flags to allow stricter class invocation checks
|
2018-03-06 11:20:59 -05:00 |
|
Matthew Brown
|
a0ce8791d3
|
Detect fatal issues where property access is overridden
Fixes #547
|
2018-03-04 12:24:50 -05:00 |
|
Matthew Brown
|
59dc239c89
|
Fix #522 - prevent interface instantiation
|
2018-02-17 18:53:02 -05:00 |
|
Matthew Brown
|
09f86ceee7
|
Introduce MissingDependency issue, separate from UndefinedClass
Ref #511
|
2018-02-17 11:36:20 -05:00 |
|
Matt Brown
|
7f4be858c2
|
Fix #498 - add better issue type for docblock contradiction
|
2018-02-07 15:20:47 -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
|
8d2baf584e
|
Fix #479 - allow PhpStorm generic syntax behind a config flag
|
2018-02-01 01:10:27 -05:00 |
|
Matthew Brown
|
3482ee3b39
|
Split UntypedParam into MissingParamType and MissingClosureParamType
|
2018-01-28 20:03:47 -05:00 |
|
Matthew Brown
|
507007a2bf
|
Add DeprecatedInterface and emit DeprecatedClass in more places
Fixes #463
|
2018-01-23 09:09:43 -05:00 |
|
Matthew Brown
|
e05a7c00cc
|
Break FileScanner out from FileChecker
|
2018-01-21 12:44:46 -05:00 |
|
Matt Brown
|
4b4e09277c
|
Fix #450 - add checks for duplicate array keys
And fix the embarassing errors in tests
|
2018-01-18 17:16:50 -05:00 |
|
Matthew Brown
|
d61829adde
|
Allow the use of property docblocks without all docblocks
|
2018-01-13 00:32:20 -05:00 |
|
Matthew Brown
|
fb9f20f4b8
|
Find unused properties with dead code checks
Fixes #424
|
2018-01-10 23:29:18 -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
|
fe96868e27
|
Add documentation
|
2018-01-07 17:25:23 -05:00 |
|
Matthew Brown
|
39685e1be6
|
Collapse Issue inheritance and rename new issues
|
2018-01-07 17:25:23 -05:00 |
|
Matt Brown
|
a76fde5b98
|
Break out mismatching param/return type issues from InvalidDocblock
|
2018-01-05 12:11:12 -05:00 |
|
Matthew Brown
|
6f5a214365
|
Allow param redefinition, but complain if it differs to parent class
|
2018-01-05 00:19:35 -05:00 |
|
Matthew Brown
|
003d37b6cd
|
Add expected issues
|
2018-01-04 21:46:51 -05:00 |
|
Matthew Brown
|
7418d6685f
|
Add PossibyInvalidFunctionCall, emitted when function call may not be valid
|
2018-01-01 12:00:02 -05:00 |
|
Matthew Brown
|
875bb8c072
|
Improve dead code detection, reducing false positives for params
|
2017-12-29 17:27:16 -05:00 |
|
Matthew Brown
|
b8c349166e
|
Add InvalidCatch and InvalidThrow to prevent erroneous exceptions
Fix #411 and fix #412
|
2017-12-28 20:40:28 +01:00 |
|
Matthew Brown
|
2f5b05887b
|
Promote CircularReference from exception to issue
|
2017-12-22 18:56:59 +01:00 |
|
Matthew Brown
|
5d9ce5433a
|
Add config
|
2017-12-17 11:09:31 -05:00 |
|
Matt Brown
|
eca7351472
|
Add return-level issues as well as function-level ones
Fixes #379
|
2017-12-07 15:50:25 -05:00 |
|
Matthew Brown
|
0eedad4f6a
|
Add UndefinedGlobalVariable issue and asssociated Possibly... one
|
2017-12-06 00:56:00 -05:00 |
|