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
2 changes: 1 addition & 1 deletion .github/versions.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Versions of tools to use in CI.
PHP_VERSION=8.2
PHP_VERSION=8.4
COMPOSER_VERSION=2.8.12
NODE_VERSION=22.12.0
PNPM_VERSION=10.4.0
Expand Down
86 changes: 45 additions & 41 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docs/coding-guidelines.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ If you take a look at the contents of the `projects` folder, you can see that th

## The Jetpack Monorepo and its CLI

Jetpack CLI requires PHP 8.2 and latest stable Node JS versions. Sometimes the version update lags behind for a while to make sure that [Calypso is using the same version](https://github.com/Automattic/wp-calypso/blob/trunk/.nvmrc).
Jetpack CLI requires PHP 8.4 and latest stable Node JS versions. Sometimes the version update lags behind for a while to make sure that [Calypso is using the same version](https://github.com/Automattic/wp-calypso/blob/trunk/.nvmrc).

Jetpack CLI is a requirement to work with Jetpack Monorepo, and it depends on the following tools:

Expand Down
8 changes: 4 additions & 4 deletions docs/monorepo.md
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ On most Linux distributions, you can install the PHP ast extension using your pa

- For Ubuntu/Debian-based systems:
```
sudo apt-get install php8.2-ast
sudo apt-get install php8.4-ast
```
- For Arch Linux:
Install the AUR package "php-ast" from https://aur.archlinux.org/packages/php-ast
Expand All @@ -226,7 +226,7 @@ Mac users have reported having trouble installing the PHP ast extension. See the

<details><summary>Installing the PHP ast extension on Mac</summary>

This assumes you have PHP installed via Homebrew, e.g. you've done `brew install php@8.2`.
This assumes you have PHP installed via Homebrew, e.g. you've done `brew install php@8.4`.

1. First, check whether ast is already installed by running `php --ri ast`. If it prints something like this, you should already be good (unless you need a newer version; see [Phan's README](https://github.com/phan/phan#getting-started) for version requirements):
```
Expand Down Expand Up @@ -326,7 +326,7 @@ On most Linux distributions, you can install the PHP pcov extension using your p

- For Ubuntu/Debian-based systems:
```
sudo apt-get install php8.2-pcov
sudo apt-get install php8.4-pcov
```
- For Arch Linux:
Install the AUR package "php-pcov" from https://aur.archlinux.org/packages/php-pcov
Expand All @@ -339,7 +339,7 @@ Mac users have reported having trouble installing the PHP pcov extension. See th

<details><summary>Installing the PHP pcov extension on Mac</summary>

This assumes you have PHP installed via Homebrew, e.g. you've done `brew install php@8.2`.
This assumes you have PHP installed via Homebrew, e.g. you've done `brew install php@8.4`.

1. First, check whether pcov is already installed by running `php --ri pcov`. If it prints something like this, you should already be good:
```
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update coverage munging for PHPUnit 12.


Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ function get_path_transformation_map( $report_file_paths ) {
*
* @phan-suppress PhanAccessMethodInternal -- There's not really a way to avoid this.
*/
function process_coverage_11( $report ) {
function process_coverage_12( $report ) {
$data = $report->getData( true );
$classname = get_class( $data );

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: fixed
Comment: Fix PHPUnit CoversFunction, leading backslash is not allowed.


Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Significance: patch
Type: changed
Comment: Update composer.lock


Loading
Loading