Skip to content

Commit 59c3896

Browse files
committed
[skip ci] Remove PHP 8.0 references from CI
1 parent 811c5ff commit 59c3896

File tree

4 files changed

+23
-36
lines changed

4 files changed

+23
-36
lines changed

.github/nightly_matrix.php

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
['name' => 'PHP-8.3', 'ref' => 'PHP-8.3', 'version' => ['major' => 8, 'minor' => 3]],
66
['name' => 'PHP-8.2', 'ref' => 'PHP-8.2', 'version' => ['major' => 8, 'minor' => 2]],
77
['name' => 'PHP-8.1', 'ref' => 'PHP-8.1', 'version' => ['major' => 8, 'minor' => 1]],
8-
['name' => 'PHP-8.0', 'ref' => 'PHP-8.0', 'version' => ['major' => 8, 'minor' => 0]],
98
];
109

1110
function get_branch_commit_cache_file_path(): string {
@@ -49,28 +48,26 @@ function get_matrix_include(array $branches) {
4948
'test_function_jit' => false,
5049
'asan' => true,
5150
];
52-
if ($branch['ref'] !== 'PHP-8.0') {
53-
$jobs[] = [
54-
'name' => '_REPEAT',
55-
'branch' => $branch,
56-
'debug' => true,
57-
'zts' => false,
58-
'run_tests_parameters' => '--repeat 2',
59-
'timeout_minutes' => 360,
60-
'test_function_jit' => true,
61-
'asan' => false,
62-
];
63-
$jobs[] = [
64-
'name' => '_VARIATION',
65-
'branch' => $branch,
66-
'debug' => true,
67-
'zts' => true,
68-
'configuration_parameters' => "CFLAGS='-DZEND_RC_DEBUG=1 -DPROFITABILITY_CHECKS=0 -DZEND_VERIFY_FUNC_INFO=1'",
69-
'timeout_minutes' => 360,
70-
'test_function_jit' => true,
71-
'asan' => false,
72-
];
73-
}
51+
$jobs[] = [
52+
'name' => '_REPEAT',
53+
'branch' => $branch,
54+
'debug' => true,
55+
'zts' => false,
56+
'run_tests_parameters' => '--repeat 2',
57+
'timeout_minutes' => 360,
58+
'test_function_jit' => true,
59+
'asan' => false,
60+
];
61+
$jobs[] = [
62+
'name' => '_VARIATION',
63+
'branch' => $branch,
64+
'debug' => true,
65+
'zts' => true,
66+
'configuration_parameters' => "CFLAGS='-DZEND_RC_DEBUG=1 -DPROFITABILITY_CHECKS=0 -DZEND_VERIFY_FUNC_INFO=1'",
67+
'timeout_minutes' => 360,
68+
'test_function_jit' => true,
69+
'asan' => false,
70+
];
7471
}
7572
return $jobs;
7673
}

.github/workflows/nightly.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,6 @@ jobs:
401401
echo memory_limit=-1 >> /etc/php.d/opcache.ini
402402
php -v
403403
- name: Test AMPHP
404-
if: matrix.branch.ref != 'PHP-8.0'
405404
run: |
406405
repositories="amp cache dns file http parallel parser pipeline process serialization socket sync websocket-client websocket-server"
407406
X=0
@@ -420,7 +419,6 @@ jobs:
420419
done
421420
exit $X
422421
- name: Test Laravel
423-
if: matrix.branch.ref != 'PHP-8.0'
424422
run: |
425423
git clone https://github.com/laravel/framework.git --branch=master --depth=1
426424
cd framework
@@ -434,7 +432,6 @@ jobs:
434432
exit 1
435433
fi
436434
- name: Test ReactPHP
437-
if: matrix.branch.ref != 'PHP-8.0'
438435
run: |
439436
repositories="async cache child-process datagram dns event-loop promise promise-stream promise-timer stream"
440437
X=0
@@ -453,7 +450,6 @@ jobs:
453450
done
454451
exit $X
455452
- name: Test Revolt PHP
456-
if: matrix.branch.ref != 'PHP-8.0'
457453
run: |
458454
git clone https://github.com/revoltphp/event-loop.git --depth=1
459455
cd event-loop
@@ -465,7 +461,6 @@ jobs:
465461
exit 1
466462
fi
467463
- name: Test Symfony
468-
if: matrix.branch.ref != 'PHP-8.0'
469464
run: |
470465
git clone https://github.com/symfony/symfony.git --depth=1
471466
cd symfony
@@ -499,7 +494,6 @@ jobs:
499494
exit 1
500495
fi
501496
- name: 'Symfony Preloading'
502-
if: matrix.branch.ref != 'PHP-8.0'
503497
run: |
504498
php /usr/bin/composer create-project symfony/symfony-demo symfony_demo --no-progress --ignore-platform-reqs
505499
cd symfony_demo
@@ -680,7 +674,7 @@ jobs:
680674
--enable-memory-sanitizer \
681675
--with-config-file-path=/etc \
682676
--with-config-file-scan-dir=/etc/php.d \
683-
${{ matrix.branch.ref != 'PHP-8.0' && '--enable-dl-test=shared' || '' }}
677+
--enable-dl-test=shared
684678
- name: make
685679
run: make -j$(/usr/bin/nproc) >/dev/null
686680
- name: make install
@@ -724,8 +718,6 @@ jobs:
724718
fail-fast: false
725719
matrix:
726720
branch: ${{ fromJson(needs.GENERATE_MATRIX.outputs.branches) }}
727-
exclude:
728-
- branch: { name: 'PHP-80', ref: 'PHP-8.0', major: 8, minor: 0 }
729721
name: "${{ matrix.branch.name }}_LIBMYSQLCLIENT"
730722
runs-on: ubuntu-${{ matrix.branch.version.minor >= 3 && '22.04' || '20.04' }}
731723
steps:

.github/workflows/push.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ on:
1414
- travis/*
1515
- .circleci/*
1616
branches:
17-
- PHP-7.4
18-
- PHP-8.0
1917
- PHP-8.1
2018
- PHP-8.2
2119
- PHP-8.3

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -358,8 +358,8 @@ Currently, we have the following branches in use:
358358
| master | Active development branch for PHP 8.4, which is open for backwards incompatible changes and major internal API changes. |
359359
| PHP-8.3 | Is used to release the PHP 8.3.x series. This is a current stable version and is open for bugfixes only. |
360360
| PHP-8.2 | Is used to release the PHP 8.2.x series. This is a current stable version and is open for bugfixes only. |
361-
| PHP-8.1 | Is used to release the PHP 8.1.x series. This is a current stable version and is open for bugfixes only. |
362-
| PHP-8.0 | Is used to release the PHP 8.0.x series. This is an old stable version and is open for security fixes only. |
361+
| PHP-8.1 | Is used to release the PHP 8.1.x series. This is an old stable version and is open for security fixes only. |
362+
| PHP-8.0 | This branch is closed. |
363363
| PHP-7.4 | This branch is closed. |
364364
| PHP-7.3 | This branch is closed. |
365365
| PHP-7.2 | This branch is closed. |

0 commit comments

Comments
 (0)