Skip to content

Conversation

@f3l1x
Copy link
Member

@f3l1x f3l1x commented Nov 30, 2025

  • Add proper type hints for enum arrays in RequestParameter, EndpointParameter
  • Update ITypeMapper interface to support optional enumValues parameter
  • Update all ITypeMapper implementations with the new signature
  • Fix EnumTypeMapper to handle null enumValues and use strict in_array
  • Add type hints for groups in SymfonyValidator
  • Fix ArrayEntity::from() return type annotation
  • Fix spacing after if statement in EntityAdapter

@f3l1x f3l1x force-pushed the claude/run-qa-tools-fix-errors-01BRaUbLrqG23kW8bksFVhRz branch 2 times, most recently from c734164 to 5acec7f Compare November 30, 2025 15:09
- Fix StringTypeMapperTest to not pass extra argument
- Add enum key to expected output in ArraySerializator test
- Handle missing enum key in ArrayHydrator
- Fix fputcsv deprecation in CsvTransformer for PHP 8.4
- Add 2nd parameter array \$options = [] to ITypeMapper::normalize()
- Update all type mapper implementations with @inheritdoc
- Make EnumTypeMapper implement ITypeMapper interface
- Pass EndpointParameter via options['endpoint'] in RequestParameterMapping
- Remove enum values from exception message for cleaner output
- Add type hints for enum arrays in RequestParameter and EndpointParameter
- Add type hints for groups array in SymfonyValidator
- Fix return type in ArrayEntity::getData()
- Fix EntityAdapter spacing issue
@f3l1x f3l1x force-pushed the claude/run-qa-tools-fix-errors-01BRaUbLrqG23kW8bksFVhRz branch from 5acec7f to c15308d Compare November 30, 2025 15:17
Remove calls to setAccessible() as it has no effect since PHP 8.5
and properties are accessible by default through reflection.
@f3l1x f3l1x merged commit 7a2fafc into master Nov 30, 2025
7 checks passed
@f3l1x f3l1x deleted the claude/run-qa-tools-fix-errors-01BRaUbLrqG23kW8bksFVhRz branch November 30, 2025 15:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants