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

Aperta
#58 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
35/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php
Ambito
database

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
JavaScript
Stelle
143
Fork
33
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di aaronpk/Compass

Tutte le issue di aaronpk/Compass

Issue simili

Altre issue su JavaScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.