php-src/Zend/tests/typehints
Nikita Popov 53a40386bc Implement additional type reservations
* The class names false, true and null are now reserved.
 * The code dealing with reserved class names is now decoupled
   from scalar type hint handling. It also includes self, parent,
   and static, which are class names which were already reserved
   previously.
 * Reuse existing messages for reserved class names.

Fallout: class_alias() can no longer alias self, parent and static.
However this never really worked in the first place, as the test
which was testing this shows.
2015-03-30 22:59:06 +02:00
..
add_return_type.phpt Allow adding return type during inheritance 2015-03-22 18:56:14 +01:00
default_boolean_hint_values.phpt Fix default values for booleans, thanks to virtual types 2015-02-18 16:34:43 -05:00
explicit_weak_include_strict.phpt Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages 2015-03-18 15:22:21 -04:00
internal_function_strict_mode.phpt Fix severity issues with callbacks, start work porting ZEND_STRLEN opcode to work with strict mode, more refactoring to come 2015-03-19 12:26:34 -04:00
return_separation.phpt Fix VERIFY_RETURN separation 2015-03-24 10:51:28 +01:00
scalar_basic.phpt Fixed white spaces 2015-03-20 11:10:29 +03:00
scalar_constant_defaults_error.phpt Add error case with invalid type declaration default value 2015-03-18 16:53:45 -04:00
scalar_constant_defaults.phpt Add support and tests for null constant default values. Refactor complex conditionals into an extracted function for clarity and code-reuse 2015-03-19 13:51:24 -04:00
scalar_none.phpt Fixed white spaces 2015-03-20 11:10:29 +03:00
scalar_null.phpt Fixed white spaces 2015-03-20 11:10:29 +03:00
scalar_relative_typehint_disallowed.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved2_class_alias.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved2_use.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved2.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved3_class_alias.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved3_use.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved3.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved4_class_alias.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved4_use.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved4.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved6_class_alias.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved6_use.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved6.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_reserved7.phpt Implement additional type reservations 2015-03-30 22:59:06 +02:00
scalar_return_basic_64bit.phpt Fixed tests 2015-03-20 17:56:32 +03:00
scalar_return_basic.phpt Changed SKIPIF messages 2015-03-20 23:19:51 +03:00
scalar_strict_64bit.phpt Fixed tests 2015-03-20 17:56:32 +03:00
scalar_strict_basic.phpt Fixed white spaces 2015-03-20 11:10:29 +03:00
scalar_strict_declaration_placement_001.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_002.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_003.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_004.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_005.phpt Improve detection of strict_types declaration being first in the file 2015-02-18 11:40:52 -05:00
scalar_strict_declaration_placement_006.phpt Refactor declare placement detection, allow encoding declares before type declares 2015-02-20 15:56:58 -05:00
scalar_strict_declaration_placement_007.phpt Skip the tests if multibyte isn't loaded to prevent them from being fragile based on encoding availability 2015-02-18 12:00:18 -05:00
scalar_strict_declaration_placement_008.phpt Refactor declare placement detection, allow encoding declares before type declares 2015-02-20 15:56:58 -05:00
scalar_strict.phpt Changed SKIPIF messages 2015-03-20 23:19:51 +03:00
scalar_weak_reference.phpt Test behaviour of weak type hints with references 2015-02-10 15:48:08 +00:00
strict_call_weak_2.inc Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_call_weak_explicit_2.inc Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_call_weak_explicit.phpt Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages 2015-03-18 15:22:21 -04:00
strict_call_weak.phpt Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages 2015-03-18 15:22:21 -04:00
strict_include_explicit_weak_2.inc Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_include_explicit_weak.phpt Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_include_weak_2.inc Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_include_weak.phpt Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
strict_nested.phpt Move declare() to the top of the file only, and allow int->float generalization 2015-02-18 10:26:29 -05:00
weak_call_strict_2.inc Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
weak_call_strict.phpt Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
weak_explicit_call_strict.phpt Test strict code calling weak code and vice-versa 2015-02-10 15:48:07 +00:00
weak_include_strict_2.inc Test strict code including weak code and vice-versa 2015-02-10 15:48:07 +00:00
weak_include_strict.phpt Fix executor issue with ignoring strict types, which cleans up a bunch of errors. Additionally fix the expected error of 2 unrelated tests that was caused by a change to the core error messages 2015-03-18 15:22:21 -04:00