Releases: ergebnis/rector-rules
Releases · ergebnis/rector-rules
1.15.2
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Adjust
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto rewrite references relative to current namespace when file has only prefix import by @localheinz in #327
Full Changelog: 1.15.1...1.15.2
1.15.1
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Adjust
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto rewrite partially-qualified names whenforceRelativeReferencesis enabled by @localheinz in #326
Full Changelog: 1.15.0...1.15.1
1.15.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Add test fixtures for
forceRelativeReferencesoption ofFiles\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorby @localheinz in #325 - Enhancement: Add
discoverNamespacePrefixesconfiguration option toFiles\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorby @localheinz in #324
Full Changelog: 1.14.1...1.15.0
1.14.1
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Revise test fixtures for
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorby @localheinz in #317 - Fix: Add fixtures for
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixestargeting PHP 8.1 by @localheinz in #319 - Fix: Add fixtures for
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixestargeting PHP 8.2 by @localheinz in #320 - Fix: Add fixtures for
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixestargeting PHP 8.3 by @localheinz in #321 - Fix: Add fixtures for
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixestargeting PHP 8.4 by @localheinz in #322 - Fix: Add fixtures for
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixestargeting PHP 8.5 by @localheinz in #323 - Fix: Adjust
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto remove imports in file where namespace is identical to namespace prefix by @localheinz in #316
Full Changelog: 1.14.0...1.14.1
1.14.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Update descriptions by @localheinz in #313
- Fix: Reject arrays that are not lists by @localheinz in #314
- Enhancement: Add
forceRelativeReferencesoption toFiles\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto force relative references by @localheinz in #315
Full Changelog: 1.13.2...1.14.0
1.13.2
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Adjust
Rules\Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto remove unnecessary imports without adding a prefix import when the file namespace is the parent namespace prefix by @localheinz in #312
Full Changelog: 1.13.1...1.13.2
1.13.1
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Adjust
Rules\Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto remove unnecessary imports without adding a prefix import when the file namespace matches the namespace prefix by @localheinz in #311
Full Changelog: 1.13.0...1.13.1
1.13.0
Immutable
release. Only release title and notes can be modified.
What's Changed
- github-actions(deps): Bump shivammathur/setup-php from 2.36.0 to 2.37.0 by @dependabot[bot] in #307
- composer(deps-dev): Bump ergebnis/phpunit-slow-test-detector from 2.23.0 to 2.24.0 by @dependabot[bot] in #308
- github-actions(deps): Bump ergebnis/.github from 1.10.0 to 1.11.0 by @dependabot[bot] in #309
- Enhancement: Extract
NamespacePrefixby @localheinz in #304 - Enhancement: Adjust
Rules\Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto allow configuring parent namespace prefixes for automatic discovery of namespace prefixes by @localheinz in #310
Full Changelog: 1.12.5...1.13.0
1.12.5
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Adjust
ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto also rewrite fully-qualified references to namespaced symbols identical to a namespace prefix by @localheinz in #303 - Fix: Add test cases by @localheinz in #305
- Fix: Adjust
ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto handle grouped use statements by @localheinz in #306
Full Changelog: 1.12.4...1.12.5
1.12.4
Immutable
release. Only release title and notes can be modified.
What's Changed
- Fix: Adjust
Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorto also fix fully-qualified class names by @localheinz in #302
Full Changelog: 1.12.3...1.12.4