Skip to content

Commit

Permalink
feat: Add tooling to generate stubs for the Public PHP API
Browse files Browse the repository at this point in the history
  • Loading branch information
PROFeNoM committed Nov 7, 2024
1 parent 0e77db0 commit 02d88d9
Show file tree
Hide file tree
Showing 4 changed files with 2,346 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -512,6 +512,11 @@ generate:
@composer -dtooling/generation generate
@composer -dtooling/generation verify

# Generates the stubs file for the public API
generate_stubs:
@composer -dtooling/stubs update
@composer -dtooling/stubs generate

# Find all generated core dumps, sorted by date descending
cores:
find . -path "./*/vendor" -prune -false -o \( -type f -regex ".*\/core\.?[0-9]*" \) -printf "%T@ %Tc %p\n" | sort -n -r
Expand Down
Loading

0 comments on commit 02d88d9

Please sign in to comment.