Tinjo Schöni
|
a737ca8072
|
Consider a property type change as a signature change
|
2023-06-24 15:31:15 +02:00 |
|
Jack Worman
|
1c19260cdd
|
Require trailing commas
|
2022-12-18 13:20:31 -06:00 |
|
Jack Worman
|
69658e8315
|
SlevomatCodingStandard.Commenting.DocCommentSpacing
|
2022-12-14 13:34:41 -06:00 |
|
Jack Worman
|
643542346b
|
Add codesniffer rules and expand php-cs-fixer to bin and test
|
2022-12-14 13:29:09 -06:00 |
|
Matthew Brown
|
8d36bdc3ed
|
Make array shapes strict by default (#8701)
* Make array shapes strict by default
* Fix PSL tests
|
2022-11-11 20:14:21 -05:00 |
|
|
1986c8b4a8
|
Add support for strict arrays, fix type alias intersection, fix array_is_list assertion on non-lists (#8395)
* Immutable CodeLocation
* Remove excess clones
* Remove external clones
* Remove leftover clones
* Fix final clone issue
* Immutable storages
* Refactoring
* Fixes
* Fixes
* Fix
* Fix
* Fixes
* Simplify
* Fixes
* Fix
* Fixes
* Update
* Fix
* Cache global types
* Fix
* Update
* Update
* Fixes
* Fixes
* Refactor
* Fixes
* Fix
* Fix
* More caching
* Fix
* Fix
* Update
* Update
* Fix
* Fixes
* Update
* Refactor
* Update
* Fixes
* Break one more test
* Fix
* FIx
* Fix
* Fix
* Fix
* Fix
* Improve performance and readability
* Equivalent logic
* Fixes
* Revert
* Revert "Revert"
This reverts commit f9175100c8452c80559234200663fd4c4f4dd889.
* Fix
* Fix reference bug
* Make default TypeVisitor immutable
* Bugfix
* Remove clones
* Partial refactoring
* Refactoring
* Fixes
* Fix
* Fixes
* Fixes
* cs-fix
* Fix final bugs
* Add test
* Misc fixes
* Update
* Fixes
* Experiment with removing different property
* revert "Experiment with removing different property"
This reverts commit ac1156e077fc4ea633530d51096d27b6e88bfdf9.
* Uniform naming
* Uniform naming
* Hack hotfix
* Clean up $_FILES ref #8621
* Undo hack, try fixing properly
* Helper method
* Remove redundant call
* Partially fix bugs
* Cleanup
* Change defaults
* Fix bug
* Fix (?, hope this doesn't break anything else)
* cs-fix
* Review fixes
* Bugfix
* Bugfix
* Improve logic
* Add support for list{} and callable-list{} types, properly implement array_is_list assertions (fixes #8389)
* Default to sealed arrays
* Fix array_merge bug
* Fixes
* Fix
* Sealed type checks
* Properly infer properties-of and get_object_vars on final classes
* Fix array_map zipping
* Fix tests
* Fixes
* Fixes
* Fix more stuff
* Recursively resolve type aliases
* Fix typo
* Fixes
* Fix array_is_list assertion on keyed array
* Add BC docs
* Fixes
* fix
* Update
* Update
* Update
* Update
* Seal arrays with count assertions
* Fix #8528
* Fix
* Update
* Improve sealed array foreach logic
* get_object_vars on template properties
* Fix sealed array assertion reconciler logic
* Improved reconciler
* Add tests
* Single source of truth for test types
* Fix tests
* Fixup tests
* Fixup tests
* Fixup tests
* Update
* Fix tests
* Fix tests
* Final fixes
* Fixes
* Use list syntax only when needed
* Fix tests
* Cs-fix
* Update docs
* Update docs
* Update docs
* Update docs
* Update docs
* Document missing types
* Update docs
* Improve class-string-map docs
* Update
* Update
* I love working on psalm :)
* Keep arrays unsealed by default
* Fixup tests
* Fix syntax mistake
* cs-fix
* Fix typo
* Re-import missing types
* Keep strict types only in return types
* argc/argv fixes
* argc/argv fixes
* Fix test
* Comment-out valinor code, pinging @romm pls merge https://github.com/CuyZ/Valinor/pull/246 so we can add valinor to the psalm docs :)
|
2022-11-05 22:34:42 +01:00 |
|
Bruce Weirdan
|
8726065d21
|
Applied ClosureToArrowFunctionRector
|
2022-01-06 00:48:04 +02:00 |
|
Bruce Weirdan
|
5758d31161
|
Apply literal number separator rector
I opted for customary 3-digit groups, except version id, where 2-digit
groups are used to match the version id encoding.
|
2022-01-05 01:00:05 +02:00 |
|
orklah
|
8d6b781b3e
|
use consistent way to compare php version
|
2022-01-02 13:35:43 +02:00 |
|
rarila
|
97e6511fab
|
Set number of lines before and after namespace.
|
2021-12-15 04:58:32 +01:00 |
|
ralila
|
245920e53c
|
Import instead of using fqn
|
2021-12-03 20:11:20 +01:00 |
|
Bruce Weirdan
|
6abce3525a
|
Enforce use sort (#5900)
|
2021-06-07 22:55:21 -04:00 |
|
Matt Brown
|
ad82c93edb
|
Fix #5297 - be more sensitive to additions and deletions in language server mode
|
2021-02-28 01:36:06 -05:00 |
|
Matt Brown
|
6b53e79505
|
When there’s an irrecoverqable syntax error invalidate all issues in the file
|
2021-02-14 21:16:12 -05:00 |
|
orklah
|
cb7065ae07
|
replace deprecated methods with their equivalent (#4217)
|
2020-09-20 08:56:49 -04:00 |
|
orklah
|
ead107fa9e
|
More return types (#4173)
* add native return types
* redundant phpdoc
|
2020-09-12 11:24:05 -04:00 |
|
Matthew Brown
|
73321339a3
|
Bump nikic/php-parser
|
2020-08-09 16:23:43 -04:00 |
|
Matthew Brown
|
43189b3d55
|
Allow types to be traversed
|
2020-03-14 23:54:51 -04:00 |
|
Matthew Brown
|
da541dbb51
|
Remove some unnecessary errors
|
2020-02-06 23:10:18 -05:00 |
|
Brown
|
23fcbec584
|
Add a few more list types
|
2019-10-08 19:06:16 -04:00 |
|
Matthew Brown
|
da42be175f
|
Apply PHPCS fixes
Fixes #1880
|
2019-07-05 16:27:53 -04:00 |
|
LeSuisse
|
f29826b958
|
Fully qualify constants and function calls (#1849)
This should give a small performance boost.
Part of #1837.
The change is enforced via phpcs and can be autofixed
with phpcbf.
|
2019-06-26 16:52:29 -04:00 |
|
Matthew Brown
|
c657a45132
|
Fix #1574 - detect docblock additions to the first statement of a method when diffing
|
2019-04-22 21:50:58 -04:00 |
|
Matthew Brown
|
c772914910
|
Add some formatting
|
2019-03-23 14:27:54 -04:00 |
|
Bruce Weirdan
|
3a2c457d87
|
More tests fixed
|
2019-03-02 08:43:19 -05:00 |
|
Bruce Weirdan
|
ec85096c96
|
Fixed identified issues
|
2019-03-02 08:43:19 -05:00 |
|
Matthew Brown
|
370874d9b6
|
Make diff map more verbose so it can serve as a list of safe zones
Outside them all issues must be removed
|
2019-01-08 00:54:48 -05:00 |
|
Matthew Brown
|
fd0ab47b80
|
Fix #1118 - detect possible issues with unions of mixed
|
2018-12-08 13:18:55 -05:00 |
|
Brown
|
46cbd0de8d
|
Add phpunit psalm plugin
|
2018-11-14 13:19:38 -05:00 |
|
Matthew Brown
|
4688b25fd9
|
Move internal classes to own namespace
|
2018-11-12 11:20:59 -05:00 |
|
Matthew Brown
|
7d12bfd2d1
|
Cache errors as well as info issues
|
2018-11-01 21:52:39 -04:00 |
|
Brown
|
ef671a14cc
|
Fix issue in file diff offset
|
2018-11-01 19:11:00 -04:00 |
|
Matthew Brown
|
8071465e8e
|
Fix performance regression introduced with fix to #1039
|
2018-10-30 20:51:52 -04:00 |
|
Brown
|
55b29e71a8
|
Fix issue where diffs span multiple functions
|
2018-10-29 17:12:20 -04:00 |
|
Brown
|
c4e540f1b9
|
Add more commonly-applicable test
|
2018-10-29 15:28:17 -04:00 |
|
Matthew Brown
|
1d77b61ff9
|
Fix #1039 by invalidating all use users
|
2018-10-26 23:04:38 -04:00 |
|
Brown
|
e286089eaa
|
Add onchange events and symbol lookup with disabled completion
|
2018-10-26 16:17:15 -04:00 |
|
Brown
|
303d3ee6a2
|
Fix issue adjusting offsets after multiple file changes
|
2018-10-26 13:22:41 -04:00 |
|
Brown
|
89e91f6ae2
|
Force a rescan if adding an extra method
|
2018-10-26 11:48:21 -04:00 |
|
Matthew Brown
|
addaea2c1c
|
Improve performance when parsing large files with few changes
|
2018-10-26 00:59:14 -04:00 |
|
Matthew Brown
|
7e01576653
|
Fix #1011 - don’t re-analyse constructors if we can help it
|
2018-10-06 22:58:21 -04:00 |
|
Brown
|
6707672528
|
Improve handling of traits further
|
2018-10-03 18:16:33 -04:00 |
|
Brown
|
33254c43cc
|
Fix #1010 - track changes to traits and trait uses
|
2018-10-03 13:58:32 -04:00 |
|
Matthew Brown
|
80d56cde15
|
Respect property flag changes
|
2018-09-30 11:34:51 -04:00 |
|
Brown
|
1d26332d77
|
Track more changes and invalidate more methods
|
2018-09-30 11:34:51 -04:00 |
|
Brown
|
89c04ec1ae
|
Cache issue data and adjust issue offsets where applicable
|
2018-09-30 11:34:51 -04:00 |
|
Brown
|
71b7c70eb1
|
Add way of getting changes in a given file
|
2018-09-30 11:34:51 -04:00 |
|