Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Untyped array boundaries (AbstractConnection::$connectionParameters, ColumnInterface::getOptions()) cause mixed-* fallout downstream

Đang mở
#169 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
45/100
Loại issue
Tái cấu trúc
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
php
Lĩnh vực
databases

Hướng nghiên cứu

Start with src/Adapter/Driver/AbstractConnection.php:13 and src/Sql/Ddl/Column/ColumnInterface.php:22, then compare the matching CreateTable::getOptions() and AlterTable::getOptions() declarations. Review the downstream findings in php-db/phpdb-mysql#65 and phpdb-mysql#60 to understand the SQL and metadata shapes; done means these boundaries no longer propagate mixed-typed values.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

Context

Downstream findings tracked at php-db/phpdb-mysql#65 (part of phpdb-mysql#60, mago analyze fixes).

Data

Two untyped array boundaries cause mixed-typed values to propagate wherever they're consumed downstream:

  • AbstractConnection::$connectionParameters (src/Adapter/Driver/AbstractConnection.php:13) — declared protected array $connectionParameters = []; with no shape.
  • ColumnInterface::getOptions(): array (src/Sql/Ddl/Column/ColumnInterface.php:22) and matching CreateTable::getOptions() / AlterTable::getOptions() — declared array with no shape.

@simon-mundy has the most context on this part of the SQL/metadata handling.

Ngôn ngữ chính
PHP
Star
18
Fork
8
Merge trung bình
6 ngày 11 giờ
Pull request đã merge (30 ngày)
14

Chuẩn bị môi trường

  • Có Dockerfile hoặc tệp Docker Compose
  • Không có mẫu pull request
  • Không có hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của php-db/phpdb

Tất cả issue của php-db/phpdb

Issue tương tự

Thêm issue về PHP

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.