Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions frameworks/bedrock/1.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ php:
# wp-cli unzips core and dumps databases in one process; 128M is not enough.
cli_ini:
memory_limit: 512M
# lerd's wp-cli phar bundles code PHP 8.5 deprecates; keep notices off stdout
# so piped wp output stays clean, and off the terminal for PHP's own ones.
display_errors: stderr
error_reporting: "24575"

detect:
- file: web/wp-config.php
Expand Down Expand Up @@ -51,6 +55,11 @@ vendor_bin_args:
wp:
- --allow-root

# Without composer's wp-cli, lerd wp runs the wp-cli lerd pins in its tools
# manifest, fetched on first use.
vendor_bin_tools:
wp: wp-cli

tinker:
command: ["vendor/wp-cli/wp-cli/php/boot-fs.php", "eval", "--allow-root"]
execute_positional: true
Expand Down
9 changes: 9 additions & 0 deletions frameworks/wordpress/5.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ php:
# wp-cli unzips core and dumps databases in one process; 128M is not enough.
cli_ini:
memory_limit: 512M
# lerd's wp-cli phar bundles code PHP 8.5 deprecates; keep notices off stdout
# so piped wp output stays clean, and off the terminal for PHP's own ones.
display_errors: stderr
error_reporting: "24575"

detect:
- file: wp-login.php
Expand Down Expand Up @@ -47,6 +51,11 @@ vendor_bin_args:
wp:
- --allow-root

# Without composer's wp-cli, lerd wp runs the wp-cli lerd pins in its tools
# manifest, fetched on first use.
vendor_bin_tools:
wp: wp-cli

tinker:
command: ["vendor/wp-cli/wp-cli/php/boot-fs.php", "eval", "--allow-root"]
execute_positional: true
Expand Down
9 changes: 9 additions & 0 deletions frameworks/wordpress/6.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ php:
# wp-cli unzips core and dumps databases in one process; 128M is not enough.
cli_ini:
memory_limit: 512M
# lerd's wp-cli phar bundles code PHP 8.5 deprecates; keep notices off stdout
# so piped wp output stays clean, and off the terminal for PHP's own ones.
display_errors: stderr
error_reporting: "24575"

detect:
- file: wp-login.php
Expand Down Expand Up @@ -47,6 +51,11 @@ vendor_bin_args:
wp:
- --allow-root

# Without composer's wp-cli, lerd wp runs the wp-cli lerd pins in its tools
# manifest, fetched on first use.
vendor_bin_tools:
wp: wp-cli

tinker:
command: ["vendor/wp-cli/wp-cli/php/boot-fs.php", "eval", "--allow-root"]
execute_positional: true
Expand Down
9 changes: 9 additions & 0 deletions frameworks/wordpress/7.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ php:
# wp-cli unzips core and dumps databases in one process; 128M is not enough.
cli_ini:
memory_limit: 512M
# lerd's wp-cli phar bundles code PHP 8.5 deprecates; keep notices off stdout
# so piped wp output stays clean, and off the terminal for PHP's own ones.
display_errors: stderr
error_reporting: "24575"

detect:
- file: wp-login.php
Expand Down Expand Up @@ -47,6 +51,11 @@ vendor_bin_args:
wp:
- --allow-root

# Without composer's wp-cli, lerd wp runs the wp-cli lerd pins in its tools
# manifest, fetched on first use.
vendor_bin_tools:
wp: wp-cli

tinker:
command: ["vendor/wp-cli/wp-cli/php/boot-fs.php", "eval", "--allow-root"]
execute_positional: true
Expand Down
Loading