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
Chore: Type class constants and expand Pint rule set (#250)
Add explicit types to all 110 class constants across the public API
(string/int/array) — leveraging PHP 8.3 typed constants now that the
floor is 8.3.
Expand pint.json beyond the bare `per` preset with rules that match
common editor inspections, so CI catches what the editor flags:
- native_function_invocation (@compiler_optimized, namespaced scope)
- no_unused_imports, ordered_imports
- no_useless_else, no_useless_return
- no_empty_statement, no_empty_phpdoc, no_empty_comment
- array_syntax (short), single_quote
- trailing_comma_in_multiline
Pint applied the new rules across the codebase (mainly prefixing
compiler-optimized builtins with `\` in namespaced files and sorting
imports).
0 commit comments