[2.0.0-beta3] Clean src/ folder ?

Created on 31 March 2024, 5 months ago
Updated 31 July 2024, about 1 month ago

Problem/Motivation

src/ is becoming busy with 19 PHP files:

  • Annotation/
  • Element/
  • Form/
  • Plugin/
  • SchemaManager/
  • Template/
  • ComponentPluginManager.php
  • PluginSettingsInterface.php
  • PropTypeAdapterInterface.php
  • PropTypeAdapterPluginBase.php
  • PropTypeAdapterPluginManager.php
  • PropTypeInterface.php
  • PropTypePluginBase.php
  • PropTypePluginManager.php
  • SchemaGuesserInterface.php
  • SourceInterface.php
  • SourcePluginBase.php
  • SourcePluginManager.php
  • WithJsonSchemaInterface.php

Alpha1 release is the perfect opportunity to clean this before freezing the namespaces.

Proposed resolution

Moved everything related to prop typing into a directory:

  • Annotation/
  • Element/
  • Form/
  • Plugin/
  • PropTyping/
    • PropTypeAdapterInterface.php
    • PropTypeAdapterPluginBase.php
    • PropTypeAdapterPluginManager.php
    • PropTypeInterface.php
    • PropTypePluginBase.php
    • PropTypePluginManager.php
    • SchemaGuesserInterface.php
    • WithJsonSchemaInterface.php
  • SchemaManager/
  • Template/
  • ComponentPluginManager.php
  • PluginSettingsInterface.php
  • SourceInterface.php
  • SourcePluginBase.php
  • SourcePluginManager.php

Remaining tasks

This proposal is open to discussion.

API changes

Yes, that's why we do this as the last alpha1 task.

📌 Task
Status

Active

Version

2.0

Component

Code

Created by

🇫🇷France pdureau Paris

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024