You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Enhance ContractVisitor to respect @typephp-ignore tags and update tests for inline variable validation
* Fix formatting and improve clarity in README.md
* Enhance CommandRunner to handle unknown commands and validate PHP file extensions; add corresponding tests
* Reorganize test suites for typechecking
* Remove reorganize-tests.sh script for test directory restructuring
* Add class constant key tests and fixtures for array shape validation
* Add ClassStringFactoryContainer and corresponding tests for class-string<Countable> validation
* Refactor SpecialTypeResolver to extract class and constant names for improved key resolution in reflection contexts to support 8.2 below
* Improve property hook checks and enhance node handling in PropertyHookInjector
* Refactor CI workflow for PHP 8.2 and streamline test execution; add debug logging in SpecialTypeResolver
* Refactor code style for consistency in SpecialTypeResolver; update cache clear command in CI workflow
* Fix typos and improve debug logging in SpecialTypeResolver; correct GenericTypeNode instantiation and add detailed logging for array shape resolution
* Fix typos and improve type handling in SpecialTypeResolver; correct GenericTypeNode instantiation and enhance debug logging
* Enhance debug logging in SpecialTypeResolver for PHP 8.2 compatibility; add runtime exception for specific AST node values
* Enhance debug logging in SpecialTypeResolver; add detailed output for key type resolution and constant reflection
* Add support for wrapping class constant array shape keys in quotes for legacy phpdoc-parser compatibility in DocblockNormalizer
* Refactor CI workflow to use matrix strategy for PHP versions and OS; update dependency installation logic and streamline test execution
TypePHP is a transparent, pure-PHP runtime type checker. You don't have to refactor a single line of your codebase, setup complex build toolchains, or compile C-extensions and simply run your existing code, and TypePHP will enforce your extended PHPDoc contracts (generics, array shapes, `key-of`/`value-of` extractions, and scalar refinements) dynamically at runtime.
19
+
TypePHP is a transparent, pure-PHP runtime type checker. You don't have to refactor a single line of your codebase, set up complex build toolchains, or compile C-extensions. Simply run your existing code, and TypePHP will enforce your extended PHPDoc contracts (generics, array shapes, `key-of`/`value-of` extractions, and scalar refinements) dynamically at runtime.
20
20
21
21
22
22
**[Read the full TypePHP documentation »](https://typephp-php.github.io/typephp/)**
@@ -29,15 +29,17 @@ All the documentation lives on the [typephp-php.github.io/typephp website](https
29
29
30
30
*[Getting Started & Installation Guide](https://typephp-php.github.io/typephp/getting-started/installation)
TypePHP is conceptually inspired by Python's [Beartype](https://github.com/beartype/beartype), but bringing transparent runtime type enforcement for type annotations to the PHP ecosystem without any decorators or attributes.
42
+
TypePHP is conceptually inspired by Python's [Beartype](https://github.com/beartype/beartype), bringing transparent runtime type enforcement for type annotations to the PHP ecosystem without any decorators or attributes.
0 commit comments