Brown
|
b09309aa92
|
Prevent unset on immutable properties
|
2021-01-29 11:38:46 +01:00 |
|
Brown
|
91e1e5f0f6
|
Fix #4036 - add immutable annotations automatically too
|
2021-01-29 11:38:44 +01:00 |
|
Matthew Brown
|
c4074012f8
|
Fix immutable tests
|
2021-01-29 11:38:44 +01:00 |
|
Brown
|
b1e583ebed
|
Detect concat operation on property
Ref #3870
|
2020-07-24 16:01:45 -04:00 |
|
Brown
|
344a732829
|
Warn about simple assignments
|
2020-07-23 02:40:35 -04:00 |
|
Brown
|
3848fa6872
|
Fix #3870 - mark properties as reference-free only for externally-immutable classes
|
2020-07-23 01:48:06 -04:00 |
|
Gregor Harlan
|
5212bd1f9c
|
Readonly: allow assignments in __unserialize (#3845)
|
2020-07-20 04:50:50 -04:00 |
|
Brown
|
f67b61f6cc
|
Fix reconciliation of template param to literal string
Fixes #3510
|
2020-06-11 11:58:31 -04:00 |
|
Matthew Brown
|
2c0cf4030f
|
Detect assigning collections of mutable objects in immutable
Fixes #2946
|
2020-03-15 00:21:20 -04:00 |
|
Matthew Brown
|
0aca01faea
|
Improve fix to #2805
|
2020-03-14 01:09:12 -04:00 |
|
Brown
|
40a7a1156f
|
Fix #2930
|
2020-03-09 09:45:35 -04:00 |
|
Matthew Brown
|
a706f4d722
|
Fix #2242 - warn when using mutable dependencies
|
2020-02-22 10:04:46 -05:00 |
|
Brown
|
7d99a15072
|
Fix #2805 - forbid passing in mutable class to mutation-free context
|
2020-02-21 18:25:35 -05:00 |
|
Brown
|
996053cca6
|
Fix #2545 - fix bug when coming back after analysing method call in constructor
|
2020-01-03 11:29:45 -05:00 |
|
Matthew Brown
|
f45014d403
|
Fix #2460 - allow assertions on immutable method calls
|
2019-12-12 09:32:33 -05:00 |
|
Matthew Brown
|
a9d0296252
|
Fix #2182 - allow modification to cloned objects inside
|
2019-09-30 22:07:20 -04:00 |
|
Brown
|
5e47cda6e5
|
Fix #2170 - allow @method annotations to override inherited immutable ones
|
2019-09-25 17:39:32 -04:00 |
|
Matthew Brown
|
9c629414a7
|
Fix #2138 - complain when inheriting from immutable interfaces without annotation
|
2019-09-21 22:52:30 -04:00 |
|
Brown
|
8784812739
|
Fix #2116 - allow property set inside unserialize
|
2019-09-10 10:31:46 -04:00 |
|
Brown
|
a6baa2d04c
|
Allow callables to be understood as pure
Fixes #2112
|
2019-09-09 12:11:04 -04:00 |
|
Brown
|
a1ea5c38c2
|
Clean up unnecessary annotation
Ref #2111
|
2019-09-09 11:20:47 -04:00 |
|
Brown
|
b49444b8ad
|
Allow immutable objects to be cloned
Fixes #2111
|
2019-09-09 11:14:40 -04:00 |
|
Brown
|
56c884845f
|
Static methods inside @psalm-immutable class should be permitted
Fixes #2109
|
2019-09-09 10:38:55 -04:00 |
|
Matthew Brown
|
44838fce21
|
Fix test example
|
2019-09-01 22:13:16 -04:00 |
|
Matthew Brown
|
0279c6f6d9
|
Allow mutation-free method calls in pure functions
|
2019-08-31 22:03:37 -04:00 |
|
Matthew Brown
|
dcc4de59df
|
Change @immutable to @psalm-immutable
|
2019-08-31 18:43:45 -04:00 |
|
Brown
|
b7b4baff8f
|
Add support for @immutable
Fixes #1272
|
2019-08-30 12:36:35 -04:00 |
|