Skip to content

Releases: ergebnis/rector-rules

1.15.2

22 Mar 21:55
Immutable release. Only release title and notes can be modified.
1.15.2
32c8fb5

Choose a tag to compare

What's Changed

  • Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to 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

20 Mar 23:16
Immutable release. Only release title and notes can be modified.
1.15.1
c1ab0a6

Choose a tag to compare

What's Changed

  • Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to rewrite partially-qualified names when forceRelativeReferences is enabled by @localheinz in #326

Full Changelog: 1.15.0...1.15.1

1.15.0

20 Mar 20:39
Immutable release. Only release title and notes can be modified.
1.15.0
8620726

Choose a tag to compare

What's Changed

  • Fix: Add test fixtures for forceRelativeReferences option of Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector by @localheinz in #325
  • Enhancement: Add discoverNamespacePrefixes configuration option to Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector by @localheinz in #324

Full Changelog: 1.14.1...1.15.0

1.14.1

19 Mar 16:32
Immutable release. Only release title and notes can be modified.
1.14.1
0da91be

Choose a tag to compare

What's Changed

  • Fix: Revise test fixtures for Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector by @localheinz in #317
  • Fix: Add fixtures for Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixes targeting PHP 8.1 by @localheinz in #319
  • Fix: Add fixtures for Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixes targeting PHP 8.2 by @localheinz in #320
  • Fix: Add fixtures for Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixes targeting PHP 8.3 by @localheinz in #321
  • Fix: Add fixtures for Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixes targeting PHP 8.4 by @localheinz in #322
  • Fix: Add fixtures for Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRectorWithNamespacePrefixes targeting PHP 8.5 by @localheinz in #323
  • Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to 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

18 Mar 11:04
Immutable release. Only release title and notes can be modified.
1.14.0
f362401

Choose a tag to compare

What's Changed

  • Fix: Update descriptions by @localheinz in #313
  • Fix: Reject arrays that are not lists by @localheinz in #314
  • Enhancement: Add forceRelativeReferences option to Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to force relative references by @localheinz in #315

Full Changelog: 1.13.2...1.14.0

1.13.2

18 Mar 09:20
Immutable release. Only release title and notes can be modified.
1.13.2
2b88d25

Choose a tag to compare

What's Changed

  • Fix: Adjust Rules\Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to 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

18 Mar 08:22
Immutable release. Only release title and notes can be modified.
1.13.1
ccec01c

Choose a tag to compare

What's Changed

  • Fix: Adjust Rules\Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to 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

17 Mar 11:48
Immutable release. Only release title and notes can be modified.
1.13.0
d151913

Choose a tag to compare

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 NamespacePrefix by @localheinz in #304
  • Enhancement: Adjust Rules\Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to 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

16 Mar 19:03
Immutable release. Only release title and notes can be modified.
1.12.5
cc66f97

Choose a tag to compare

What's Changed

  • Fix: Adjust ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to 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 ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to handle grouped use statements by @localheinz in #306

Full Changelog: 1.12.4...1.12.5

1.12.4

13 Mar 17:42
Immutable release. Only release title and notes can be modified.
1.12.4
23f512c

Choose a tag to compare

What's Changed

  • Fix: Adjust Files\ReferenceNamespacedSymbolsRelativeToNamespacePrefixRector to also fix fully-qualified class names by @localheinz in #302

Full Changelog: 1.12.3...1.12.4