Tools

Repository Author Commit message Committed SHA  
 
phpstan-rules by dg added Nette\Schema\Expect::array() return type narrowing
phpstan-rules by dg added RemoveFailingReturnTypeExtension extension to remove |false from native functions and methods
phpstan-rules by dg added Html::getXxx(), setXxx(), addXxx() magic method resolution
phpstan-rules by dg added arrow function void ignore for passing fn() => to Closure(): void parameters
phpstan-rules by dg added CLAUDE.md
phpstan-rules by dg added Container::getComponent() and $container['…'] return type narrowing
phpstan-rules by dg init
phpstan-rules by dg added .phpt file extension
phpstan-rules by dg RemoveFailingReturnTypeExtension: preg_* narrowing only for constant patterns
phpstan-rules by dg added Registry::getMapper(), getAsset() and Mapper::getAsset() return type narrowing
phpstan-rules by dg added Tester\Assert type narrowing for assertion methods (null, notNull, true, false, same, type, …)
phpstan-rules by dg RemoveFailingReturnTypeExtension: preserved |false for UTF-8 validation patterns like //u
phpstan-rules by dg added boilerplate
phpstan-rules by dg added Forms\Container::getComponent() and $form['…'] return type narrowing based on addXxx() calls
phpstan-rules by dg enabled strict PHPStan analysis parameters

Added 9 strict analysis parameters to extension.neon to enforce stricter
type checking in Nette libraries: callable signatures, function/class name
casing, nullable types in signatures and PHPDocs, redundant conditions,
and @var tag validation.

phpstan-rules by dg added Arrays::invoke() and invokeMethod() return type narrowing
phpstan-rules by dg added TypeAssert helper for type inference testing with Nette Tester
phpstan-rules by dg added universalObjectCratesClasses for Nette
phpstan-rules by dg added Helpers::falseToNull() return type narrowing (string|false → string|null)
phpstan-rules by dg added readme.md
phpstan-rules by dg added Strings::match/matchAll/split() return type narrowing based on boolean arguments
phpstan-rules by dg added Explorer::table(), ActiveRow::related() and ref() return type narrowing
phpstan-rules by dg RemoveFailingReturnTypeExtension: preg_replace/filter null return type removal
phpstan-rules by dg added ClosureTypeCheckIgnoreExtension for runtime type validation pattern (function(Type ...$p) {})(...$args)
latte-tools by dg added copy of Twig 3.2
latte-tools by dg cs
latte-tools by dg readme: updated links
latte-tools by dg changed namespace to Twiggy
latte-tools by dg twiggy: removed Compiler::addDebugInfo, indent(), outdent()
latte-tools by dg updated .gitattributes
latte-tools by dg twiggy: uses class consts
latte-tools by dg Lexer: removed whitespace trimming

Last synchronization: 2026-03-30 18:02:56