What's Changed
- feat: Ability to set upper limit when using CPU auto-detection by @oprypkhantc in #8280
- feat: create
@PHP82Migration:risky
ruleset by @kubawerlos in #8277 - feat: Impl. TypeExpression::mapTypes() by @mvorisek in #8077
- feat: Parse array/generic/nullable type into inner expression by @mvorisek in #8106
- feat: phpdoc_to_property_type - handle virtual types and null initialization, enable in php-highest CI job by @keradus in #8283
- feat: Store phpdoc offset in DataProviderAnalysis by @mvorisek in #8226
- feat: Support for complex PHPDoc types in
fully_qualified_strict_types
by @mvorisek in #8085 - fix:
BlankLineAfterOpeningTagFixer
- add blank line in file starting with multi-line comment by @kubawerlos in #8256 - fix:
MultilineWhitespaceBeforeSemicolonsFixer
- do not produce syntax error when there is a meaningful token after semicolon by @kubawerlos in #8230 - fix:
NullableTypeDeclarationFixer
- do not break syntax when there is no space before?
by @kubawerlos in #8224 - fix:
PhpUnitDataProvider(.+)Fixer
- do not omit when there is an attribute between PHPDoc and test method by @kubawerlos in #8185 - fix:
PhpUnitDataProviderNameFixer
- for an attribute between PHPDoc and test method by @kubawerlos in #8217 - fix: Do not mark with
@coversNothing
ifCoversMethod
/CoversFunction
attribute is used by @mariusjp in #8268 - fix: enum-case mistaken for const invocation by @SpacePossum in #8190
- fix: fix typing of few properties wrongly typed as non-nullable by @keradus in #8285
- fix: fix typing property wrongly typed as non-nullable by @keradus in #8290
- fix: MethodChainingIndentationFixer does not fix indentation of last chained property by @elkhasa in #8080
- fix: NoSuperfluousPhpdocTagsFixer - Remove superfluous phpdoc of parameter with attribute by @VincentLanglet in #8237
- fix: parsing mixed
&
and|
inTypeExpression
by @mvorisek in #8210 - fix: proper base class used for AbstractDoctrineAnnotationFixer templates generation by @keradus in #8291
- fix: Properly recognise constants in foreach loops by @SpacePossum in #8203
- fix: Tokens::overrideRange() block cache pruning by @mvorisek in #8240
- chore: add todo for PHP v8 by @keradus in #8274
- chore: auto-fallback to sequential runner if single CPU would handle it by @keradus in #8154
- chore: block changing tokens collection size using
PhpCsFixer\Tokenizer\Tokens::setSize
by @kubawerlos in #8257 - chore: bump dev-tools by @keradus in #8245
- chore: bump dev-tools by @keradus in #8286
- chore: Cheaper file check first by @mvorisek in #8252
- chore: check for priority tests correctly by @kubawerlos in #8221
- chore: ConfigInterface - better types by @keradus in #8244
- chore: do not call
Tokens::setSize
inGroupImportFixer
by @kubawerlos in #8253 - chore: do not use
Reflection*::setAccessible
by @kubawerlos in #8264 - chore: fix priority tests by @kubawerlos in #8223
- chore: Fix typos in AbstractFixerTestCase by @vudaltsov in #8247
- chore: GithubClient - make URL injectable by @keradus in #8272
- chore: Implement PHPStan
Preg::match()
extensions by @staabm in #8103 - chore: mark remaining Analysis as
@internal
by @keradus in #8284 - chore: PHPStan - upgrade to v2 by @keradus in #8288
- chore: reduce amount of class mutable properties by @keradus in #8281
- chore: remove from priority tests exceptions tests that are not actually exceptions by @kubawerlos in #8222
- chore: remove incorrect priority tests by @kubawerlos in #8231
- chore: remove not needed PHP version requirements in descriptions by @kubawerlos in #8265
- chore: remove unnecessary methods by @kubawerlos in #8200
- chore: tests/Tokenizer/Transformer - better typehinting by @keradus in #8243
- chore: Token - remove 'changed' property by @keradus in #8273
- chore: Token::getContent() phpdoc return type by @mvorisek in #8236
- chore: update
checkbashisms
to 2.24.1 by @kubawerlos in #8258 - chore: update dev dependencies in root by @keradus in #8289
- chore: update PHPStan to 1.12.9 by @keradus in #8271
- chore: use null coalescing assignment operator where possible by @kubawerlos in #8219
- CI: allow macos to fail by @keradus in #8194
- CI: build phar on PHP 8.3 by @keradus in #8195
- CI: drop matrix for single-matrix-entry jobs of SCA and Deployment checks by @keradus in #8193
- CI: Ensure
php-cs-fixer
PHP compatibility by @Wirone in #8235 - CI: Ensure php-cs-fixer PHP compatibility /part by @keradus in #8241
- CI: generate and execute code in
assert
by @kubawerlos in #8207 - CI: update PHPStan to 1.12.2 by @kubawerlos in #8198
- CI: update PHPStan to 1.12.3 by @kubawerlos in #8204
- CI: use phpstan-symfony by @keradus in #8287
- depr: ConfigInterface::getPhpExecutable() and ConfigInterface::setPhpExecutable() by @keradus in #8192
- deps: add
composer-smaller-lock
by @kubawerlos in #8263 - deps: Update PHPStan to 1.12.4 by @Wirone in #8215
- deps: Update PHPStan to 1.12.5 by @Wirone in #8218
- deps: update PHPStan to 1.12.7 by @kubawerlos in #8255
- docs: fix unconsistency in config doc by @MrYamous in #8269
- docs: mention github action example instead of travis-ci by @kubawerlos in #8250
- DX: Cover
php-cs-fixer
file with static analysis by @mvorisek in #8229 - DX: Make
TypeExpression
API more explicit about composite types by @Wirone in #8214 - refactor: Rename newly introduced option by @Wirone in #8293
- refactor: Runner - Enhance eventing system by @keradus in #8276
- refactor: Runner - make 4.0 TODOs easier to understand by @keradus in #8196
- refactor: update
_AttributeItems
tonon-empty-list<_AttributeItem>
to allow using single attribute item by @kubawerlos in #8199 - refactor: use arrow functions in more places by @keradus in #8294
- test:
@PHP82Migration:risky
- add integration tests by @keradus in #8278
New Contributors
- @elkhasa made their first contribution in #8080
- @MrYamous made their first contribution in #8269
- @mariusjp made their first contribution in #8268
- @oprypkhantc made their first contribution in #8280
Full Changelog: v3.64.0...v3.65.0