Hooks generator does not get all the PHP files to scan
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 45/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- php
- Ambito
- documentation, tooling
Direzione di ricerca
Inizia con lo script referenziato generate-hook-docs.php e consulta la spiegazione dettagliata nel commento collegato della PR google-listings-and-ads. Esegui nuovamente il generatore su una directory con percorsi di più di due livelli, quindi verifica che tutti i file PHP e i relativi hook siano inclusi nel documento generato.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Context
At Ventures team we would like to generate a hooks document for our internal use and we found there is an awesome script in this repo that just do the things we want. Here's our PR woocommerce/google-listings-and-ads#1573, it basically copy most of the code from the script and then modify a bit to suit what we need.
The Problem
We found the script does not capture all the PHP files in the directory, the TLDR reason is the script cannot work in the case where there are more than two levels of paths. Please see the detailed explanation in our PR's comment: https://github.com/woocommerce/google-listings-and-ads/pull/1573#issuecomment-1173318631.
It also relates to #15.
Our solution may not fulfil the needs in this repo, also if there's any better ways to generate hooks documents (like using PHPDoc?) in your mind, we're happy to hear and learn about.
- Lingua principale
- Twig
- Stelle
- 17
- Fork
- 12
- Merge medio
- 3h 58m
- PR unite (30g)
- 3
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di woocommerce/code-reference
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 42/100
woocommerce/code-reference#19 · 1 reazione ·
-
Add a hook generator Aperta
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
Tutte le issue di woocommerce/code-reference
Issue simili
-
Link Checker Report Apertaautomated issue report
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Humanity AI Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
numfocus/project-fundraising#166 ·
-
area:proxy bug security severity:low track:open-source
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100