Skip to content

Releases: composer/class-map-generator

1.5.0

25 Nov 16:12
4b0a223
Compare
Choose a tag to compare

What's Changed

  • Add @throws docblock to ClassMapGenerator@filterByNamespace() by @cosmastech in #15
  • Add ClassMap::getRawPsrViolations() by @cosmastech in #16

Full Changelog: 1.4.0...1.5.0

1.4.0

03 Oct 18:16
98bbf67
Compare
Choose a tag to compare
  • Added a way to retrieve all ambiguous classes, without filtering of test/fixture/.. ones (#13)
  • Fixed parsing of ambiguous classes to avoid ignoring real classes when test ones get scanned first (#13)

Full Changelog: 1.3.4...1.4.0

1.3.4

12 Jun 14:13
b1b3fd0
Compare
Choose a tag to compare
  • Fixed aliased use statements leading to problem with classes called like keywords (#9)

Full Changelog: 1.3.3...1.3.4

1.3.3

10 Jun 11:58
61804f9
Compare
Choose a tag to compare
  • Fixed path normalization issue on windows

Full Changelog: 1.3.2...1.3.3

1.3.2

31 May 19:46
acd2279
Compare
Choose a tag to compare
  • Fixed regression fetching PSR violations when the list is empty on older PHP versions

Full Changelog: 1.3.1...1.3.2

1.3.1

31 May 15:46
5bb7f1e
Compare
Choose a tag to compare
  • Fixed regression in PSR violation handling

Full Changelog: 1.3.0...1.3.1

1.3.0

31 May 15:19
fa7edd2
Compare
Choose a tag to compare
  • Added ClassMap::clearPsrViolationsByPath to be able to remove PSR violations by path
  • Fixed PSR violations being retained even after a further scan of a file finds a valid class (6307dcf)

Full Changelog: 1.2.1...1.3.0

1.2.1

31 May 13:30
d90e2bc
Compare
Choose a tag to compare
  • Tweak PSR violations text to contain the source rule (base namespace and path) (234f4c5)

Full Changelog: 1.2.0...1.2.1

1.2.0

31 May 13:06
c27da00
Compare
Choose a tag to compare
  • Added ability to exclude directories in ClassMapGenerator::scanPaths (#7)
  • Added detection of PSR violations where namespace is missing or not a subnamespace of the configured one (#8)

New Contributors

Full Changelog: 1.1.1...1.2.0

1.1.1

15 Mar 12:54
8286a62
Compare
Choose a tag to compare
  • Fixes for implicit nullability deprecation in PHP 8.4 #5

New Contributors

  • @Ayesh made their first contribution in #5

Full Changelog: 1.1.0...1.1.1