]> granicus.if.org Git - php/commit
Canonicalize typed properties error message
authorNikita Popov <nikita.ppv@gmail.com>
Mon, 23 Sep 2019 13:48:49 +0000 (15:48 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Mon, 23 Sep 2019 13:48:49 +0000 (15:48 +0200)
commitd7ae123648c1a5b6e6ebec440e8a621eaa223543
treea3f77e341eb8e1e0c9ba33297a6a1382933bd9c2
parent8d7911ef56be0e6c54e7716fdf467ab16703b1c7
Canonicalize typed properties error message

We have lots of other typed properties related error messages of
the form "assign X to typed property Y::$z of type A", so use th
same format for the primary message as well. Special-casing things
like classes and nullability is not going to scale with future
type-system extensions, and I don't think it really adds clarity
either.
26 files changed:
Zend/tests/type_declarations/typed_properties_004.phpt
Zend/tests/type_declarations/typed_properties_005.phpt
Zend/tests/type_declarations/typed_properties_020.phpt
Zend/tests/type_declarations/typed_properties_029.phpt
Zend/tests/type_declarations/typed_properties_030.phpt
Zend/tests/type_declarations/typed_properties_034.phpt
Zend/tests/type_declarations/typed_properties_038.phpt
Zend/tests/type_declarations/typed_properties_039.phpt
Zend/tests/type_declarations/typed_properties_040.phpt
Zend/tests/type_declarations/typed_properties_046.phpt
Zend/tests/type_declarations/typed_properties_047.phpt
Zend/tests/type_declarations/typed_properties_051.phpt
Zend/tests/type_declarations/typed_properties_056.phpt
Zend/tests/type_declarations/typed_properties_057.phpt
Zend/tests/type_declarations/typed_properties_058.phpt
Zend/tests/type_declarations/typed_properties_060.phpt
Zend/tests/type_declarations/typed_properties_068.phpt
Zend/tests/type_declarations/typed_properties_069.phpt
Zend/tests/type_declarations/typed_properties_070.phpt
Zend/tests/type_declarations/typed_properties_074.phpt
Zend/tests/type_declarations/typed_properties_075.phpt
Zend/tests/type_declarations/typed_properties_078.phpt
Zend/tests/type_declarations/typed_properties_093.phpt
Zend/tests/type_declarations/typed_properties_095.phpt
Zend/tests/type_declarations/typed_properties_096.phpt
Zend/zend_execute.c