ReflectionParameter::getClass() is deprecated when running artisan migrate

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

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

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
php
Lĩnh vực
database

Hướng nghiên cứu

The failure happens when php artisan migrate runs, so start by reproducing it and reading the stack trace to find which getClass() call on a ReflectionParameter triggers the deprecation. Search the PHP sources for ->getClass() and replace it with the non-deprecated equivalent for the PHP version in use, such as getType(). Done means php artisan migrate completes and creates the database tables without the ErrorException. The issue has no comments or maintainer reply, so confirm the target PHP version before editing.

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

Mô tả

steven@raspberrypi:~/public-html/compass $ php artisan migrate

                                                        
  [ErrorException]                                      
  Method ReflectionParameter::getClass() is deprecated  
                                                        

It appears the script aborts at this point as the database tables are not created.

Ngôn ngữ chính
JavaScript
Star
143
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

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 aaronpk/Compass

Tất cả issue của aaronpk/Compass

Issue tương tự

Thêm issue về JavaScript

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.