Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
305 commits
Select commit Hold shift + click to select a range
4899457
Adding French translation to 8.5 release page (#1910)
ktherage Jun 1, 2026
f78ac5e
Remove reference to the defunct "standards" list (#1909)
Crell Jun 1, 2026
cb72c19
Add new PHP 8.6 RM gpg keys
DanielEScherzer Jun 1, 2026
2a61030
Added conference: Laracon US 2026 (#1898)
joshcirre Jun 1, 2026
4f4234f
8.5.7 tarballs
edorian Jun 2, 2026
f53a0be
8.4.22 tarballs
SakiTakamachi Jun 3, 2026
fdc4341
composer(deps-dev): bump friendsofphp/php-cs-fixer from 3.95.1 to 3.9…
dependabot[bot] Jun 3, 2026
b4ace8d
Announce PHP 8.5.7
edorian Jun 4, 2026
13c77df
Announce PHP 8.4.22
SakiTakamachi Jun 4, 2026
753b3df
composer(deps-dev): bump friendsofphp/php-cs-fixer from 3.95.3 to 3.9…
dependabot[bot] Jun 8, 2026
f882125
Force base ref to www.php.net, and set it only once
derickr Jun 10, 2026
517f6dd
Avoid wrapping PHP 8.5 release code blocks
theodorejb Jun 8, 2026
5c40e10
Allow linking to additional features headings
theodorejb Jun 9, 2026
f5020dd
don't render before/after whitespace in interactive examples
jordikroon May 8, 2026
84764ce
Run deploy even if visual tests fails
saundefined Jun 10, 2026
742ae5c
Revert "Force base ref to www.php.net, and set it only once".
derickr Jun 11, 2026
b676b34
Unify design of all release pages (#1916)
theodorejb Jun 11, 2026
aff76fd
Remove more dead styles and fix features-col shadow
theodorejb Jun 11, 2026
cf7c6d2
Remove pixel-perfect screenshot tests
theodorejb Jun 11, 2026
1f1e29c
Fix LangChooserTest (#1921)
staabm Jun 13, 2026
84d7c12
composer(deps-dev): bump friendsofphp/php-cs-fixer from 3.95.4 to 3.9…
dependabot[bot] Jun 16, 2026
0ce3b82
Update download link to point to downloads.php
vincent-bru Jun 12, 2026
86f16e3
Update download link to point to downloads.php
sy-records Jun 14, 2026
88dc15b
use HTTP_HOST instead of SERVER_NAME
jordikroon Jun 15, 2026
6f64ac3
We run PHP 8.4 now
derickr Jun 16, 2026
8d5dd91
Grammar edits, move paragraph, removed div in docs.php
pwright64 May 13, 2026
8e11f16
Update urlhowto.php
pwright64 May 15, 2026
269c7ce
Update urlhowto.php
pwright64 Jun 13, 2026
b59bb30
Remove duplicate definitions of `base`
sy-records Jun 16, 2026
a15785b
Production now runs PHP 8.4
derickr Jun 16, 2026
a45c5ae
Set project requirements to PHP 8.4 and update composer
derickr Jun 16, 2026
03aea97
Remove submodule directory from git
derickr Jun 16, 2026
aaf3693
Setup PHPStan
staabm Jun 13, 2026
b2e98d1
scan also in bin
staabm Jun 13, 2026
924c5e8
scan everything but vendor/
staabm Jun 13, 2026
f4cbda7
Update integrate.yaml
staabm Jun 16, 2026
e13d62e
Announce PHP 8.5.8RC1
DanielEScherzer Jun 18, 2026
fbf6e13
Announce PHP 8.4.23RC1
NattyNarwhal Jun 19, 2026
8356c93
composer(deps-dev): bump friendsofphp/php-cs-fixer
dependabot[bot] Jun 22, 2026
e39c9aa
github-actions(deps): bump actions/cache from 3 to 5
dependabot[bot] Jun 22, 2026
b204458
github-actions(deps): bump actions/checkout from 3 to 7
dependabot[bot] Jun 22, 2026
fc22b37
Fix 8.4.23RC1 download URL (#1939)
jnoordsij Jun 24, 2026
7642d16
Fix preserving query strings for error page redirects
shivammathur Jun 24, 2026
6363e10
devcontainers(deps): bump ghcr.io/devcontainers/features/node
dependabot[bot] Jun 15, 2026
dfed908
github-actions(deps): bump actions/cache from 5 to 6
dependabot[bot] Jun 29, 2026
248ec32
composer(deps-dev): bump friendsofphp/php-cs-fixer
dependabot[bot] Jun 29, 2026
1739448
Add support for vs18 builds (#1947)
shivammathur Jun 30, 2026
82ebc6e
8.4.23 tarballs
NattyNarwhal Jul 1, 2026
995200c
8.3.32 tarballs
bukka Jul 1, 2026
3fc5c36
Remove submodule
derickr Jul 1, 2026
b1733c6
Announce PHP 8.2.32
saundefined Jul 2, 2026
fd7ddc0
Add CVE to PHP 8.2.32 changelog
saundefined Jul 2, 2026
1945cf9
Announce PHP 8.3.32
bukka Jul 2, 2026
58acb28
Announce PHP 8.6.0alpha1
mbeccati Jul 2, 2026
e7f6ed5
Announce PHP 8.4.23
NattyNarwhal Jul 2, 2026
98b0eb6
Announce PHP 8.5.8
DanielEScherzer Jul 2, 2026
2725425
Set Cache-Control for ChangeLogs on the application side
derickr Jul 3, 2026
94d879d
Set cache headers for other pages as well, so we no longer need CDN E…
derickr Jul 3, 2026
9bf73b6
Add redirect for install.windows.tools.php (#1952)
jordikroon Jul 5, 2026
1d4f635
Remove links to heap.space (#1954)
jordikroon Jul 5, 2026
b24d310
Create the public/ directory, and move all the files.
markrandall Jun 16, 2026
9713ec6
Update path in template in createReleaseEntry
markrandall Jun 16, 2026
5ee7992
add robots.txt
markrandall Jun 16, 2026
f02110d
add htaccess
markrandall Jun 16, 2026
41cef79
Repair ChangeLogs that got caught up in find/replace of include_once …
markrandall Jun 16, 2026
6794ee6
Remove my docker files.
markrandall Jun 16, 2026
8c11324
Fix: Updated includes in error.ph
markrandall Jun 16, 2026
2fac170
Fix: Use project, not public root for backend. in manual-lookup.inc
markrandall Jun 16, 2026
e75fbfe
Fix: Additional relative include changes
markrandall Jun 16, 2026
27cb0cc
Fix: Pear include path
markrandall Jun 16, 2026
374801b
Fix: PHP files inside images/
markrandall Jun 16, 2026
d5195d4
Update readme to require being in public directory
markrandall Jun 16, 2026
1c6c0b3
Fix: Various href changes that seem to have applied automatically
markrandall Jun 16, 2026
06a8051
Fix: Update paths inside download instructions
markrandall Jun 16, 2026
a587f51
Fix: Throw on realpath failures on ProjectGlobals (should never happen).
markrandall Jun 16, 2026
eacdb2b
Add shared-manuals.inc @ public/include/shared-manuals.inc to maintai…
markrandall Jun 16, 2026
caa9338
The script in GH:web-master:scripts/update-backend expects backend/ a…
derickr Jun 18, 2026
b4cd0e0
Bump phpstan level to 7, baseline everything.
markrandall Jun 18, 2026
86a34f0
Skip running end-to-end tests that require the booted router.
markrandall Jun 18, 2026
6851665
Make /var optional (later build).
markrandall Jun 18, 2026
d955f03
The backend is currently in public.
markrandall Jun 18, 2026
cfcdf82
Include missing include in phpstan.neon.dist
markrandall Jun 18, 2026
e39dda5
Use ProjectGlobals::getBackendRoot to handle backend/ moving into pub…
markrandall Jun 18, 2026
0876692
add missing CVE ref
remicollet Jul 8, 2026
a08782e
composer(deps-dev): bump phpstan/phpstan from 2.2.2 to 2.2.5
dependabot[bot] Jul 6, 2026
69d392a
composer(deps-dev): bump phpstan/phpstan-phpunit from 2.0.16 to 2.0.18
dependabot[bot] Jul 6, 2026
26a69e4
Remove unused intro variable from docs
jordikroon Jul 4, 2026
ea02972
Fixed whitespace and php stan baseline
derickr Jul 8, 2026
fed892e
Update GitHub Actions permissions for pull request handling
sy-records Jul 9, 2026
5a720c0
Fix preview deploy trigger (#1965)
sy-records Jul 10, 2026
9d4b5f5
composer(deps-dev): bump friendsofphp/php-cs-fixer (#1966)
dependabot[bot] Jul 13, 2026
9ffddc4
Add International PHP Conference Munich 2026 (#1967)
srosst Jul 13, 2026
890ae03
Adding PHP Tek 2027 Conference CFP (#1963)
johncongdon Jul 15, 2026
5a5d134
Announce PHP 8.4.24RC1
SakiTakamachi Jul 16, 2026
2e32e45
Announce PHP 8.5.9RC1
edorian Jul 16, 2026
fad842d
Announce PHP 8.6.0alpha2
svpernova09 Jul 16, 2026
81087d1
Announce PHP 8.6.0alpha2
svpernova09 Jul 16, 2026
a57c1f9
Fix category for PHP 8.6.0alpha2
svpernova09 Jul 17, 2026
61a878c
Add a copy function for the SHA256 checksum (#1957)
sy-records Jul 19, 2026
586dbe0
composer(deps-dev): bump friendsofphp/php-cs-fixer (#1974)
dependabot[bot] Jul 20, 2026
05cb1bf
github-actions(deps): bump actions/setup-node from 6 to 7 (#1973)
dependabot[bot] Jul 20, 2026
430b2be
Do not abort cross-origin requests with an empty 200 (#1955)
svpernova09 Jul 24, 2026
dabc588
PHP CS Fixer: update usage (#1705)
keradus Jul 28, 2026
4fd625f
composer(deps-dev): bump phpstan/phpstan from 2.2.5 to 2.2.6 (#1977)
dependabot[bot] Jul 29, 2026
0baaa73
composer(deps-dev): bump friendsofphp/php-cs-fixer from 3.95.15 to 3.…
dependabot[bot] Jul 29, 2026
6aaf8e7
Add SBOM links for Windows builds (#1978)
shivammathur Jul 30, 2026
1e2b846
Announce PHP 8.2.33
saundefined Jul 30, 2026
35d7d39
Announce PHP 8.5.9
edorian Jul 30, 2026
5f8ad6d
Announce PHP 8.6.0alpha3
mbeccati Jul 30, 2026
4227319
Don't rely on default cache timeout for archive
derickr Jul 30, 2026
fe330c2
Create release files with a cache timeout of 30 minutes, instead of t…
derickr Jul 30, 2026
3d1ea5e
Set cache_control to 1 month for eol
svpernova09 Jul 30, 2026
a5c7ef0
Announce PHP 8.3.33
ericmann Jul 30, 2026
6f3f21b
Announce PHP 8.4.24
ericmann Jul 30, 2026
ab823f0
composer(deps-dev): bump phpstan/phpstan from 2.2.6 to 2.2.7 (#1983)
dependabot[bot] Aug 3, 2026
54891fb
composer(deps-dev): bump friendsofphp/php-cs-fixer (#1982)
dependabot[bot] Aug 3, 2026
8e5a5eb
Fix missing “Copy” button on the Windows download page (#1981)
LamentXU123 Aug 4, 2026
7fde000
Merge branch 'master' into preview
derickr Aug 10, 2026
34e4103
Fixed paths for news and conference pregenerated files
derickr Aug 10, 2026
772d751
Fixed path
derickr Aug 10, 2026
17a636a
Set cache header for documentation downloads
derickr Aug 10, 2026
da0b49d
Fixed root
derickr Aug 10, 2026
b84b62e
Restore broken introduction text
derickr Aug 10, 2026
f79a73d
Update ARCHIVE_FILE_REL to public folder
svpernova09 Aug 13, 2026
29f7b3c
update IMAGE_PATH_REL to public/
svpernova09 Aug 13, 2026
3ab69ee
Update ARCHIVE_ENTRIES_REL to the public folder
svpernova09 Aug 13, 2026
7f9cbec
Announce PHP 8.6.0beta1
svpernova09 Aug 13, 2026
4f5ab29
Remove duplicate entries/2026-08-13-1.xml from archive
svpernova09 Aug 13, 2026
42824df
Announce PHP 8.4.25RC1
NattyNarwhal Aug 13, 2026
e41194c
Merge pull request #1987 from svpernova09/fix-archive-path
svpernova09 Aug 13, 2026
cb0001a
Announce PHP 8.5.10RC1
DanielEScherzer Aug 13, 2026
26b50b7
Fix 'supported-versions.php' page, and caching in some other pages too
derickr Aug 14, 2026
f51cc46
composer(deps-dev): bump phpstan/phpstan from 2.2.7 to 2.2.8
dependabot[bot] Aug 10, 2026
5328845
LonghornPHP 2026
jmauerhan Aug 18, 2026
65265f9
Fix uncaught PDOException in manual lookup when sqlite is unavailable
svpernova09 Jul 14, 2026
049c59f
Fix downloads.php crash on invalid os parameter (#1968)
svpernova09 Aug 20, 2026
46653f5
Announce State of PHP survey
pronskiy Aug 25, 2026
39695d2
Announce PHP 8.6.0beta2
mbeccati Aug 27, 2026
0f359ae
Announce PHP 8.4.25
NattyNarwhal Aug 27, 2026
3b9b435
Announce PHP 8.5.10
DanielEScherzer Aug 27, 2026
51c3c14
Conferences - add ForumPHP Paris 2026 (#2000)
ternel Sep 1, 2026
666e0e4
Fix test failed (#1992)
sy-records Sep 1, 2026
ec849b5
Fix release path in bin/createReleaseEntry (#1998)
DanielEScherzer Sep 1, 2026
12d9ba0
composer(deps-dev): bump phpstan/phpstan from 2.2.8 to 2.2.9
dependabot[bot] Aug 31, 2026
5385f63
composer(deps-dev): bump friendsofphp/php-cs-fixer
dependabot[bot] Aug 31, 2026
636b562
Add API Platform Conference 2026 (#2004)
alexandre-daubois Sep 2, 2026
af90899
Fix Playwright E2E test server startup (#2005)
sy-records Sep 3, 2026
fcef040
Add PHP Conference Ehime 2026 (#2006)
dero1to Sep 3, 2026
a003774
composer(deps-dev): bump friendsofphp/php-cs-fixer (#2009)
dependabot[bot] Sep 8, 2026
0e3edd0
Update Longhorn PHP 2026 announcement to include a news image (#2010)
hskrasek Sep 8, 2026
1b41e22
composer(deps-dev): bump phpstan/phpstan from 2.2.9 to 2.2.13 (#2008)
dependabot[bot] Sep 8, 2026
b688911
Announce PHP 8.4.26RC1
SakiTakamachi Sep 10, 2026
7a88001
Announce PHP 8.5.11RC1
edorian Sep 10, 2026
6139ea5
Announce PHP 8.6.0beta3
svpernova09 Sep 10, 2026
aa82b42
Fix next date on PHP 8.6.0beta3
svpernova09 Sep 10, 2026
b8571bb
Add PHPBenelux 2027 CFP announcement (#2013)
Martin1982 Sep 11, 2026
6dfb996
Add ARGS parameter to preview deploy configuration (#2012)
sy-records Sep 11, 2026
0f452f3
Add announcement for Dutch PHP Conference 2027 (#2016)
tonivdv Sep 14, 2026
8e7eecd
docs: Update DPC event with new logo (#2017)
tonivdv Sep 14, 2026
902ee2d
composer(deps-dev): bump friendsofphp/php-cs-fixer (#2019)
dependabot[bot] Sep 15, 2026
d502eb4
composer(deps-dev): bump phpstan/phpstan from 2.2.13 to 2.2.14 (#2022)
dependabot[bot] Sep 22, 2026
4783468
Add PHPBenelux 2027 Conference announcement (#2014)
Martin1982 Sep 22, 2026
3c5b044
Add PHP-8.6 to the Git steps page
mbeccati Sep 22, 2026
efc8375
Table caption fix/update
pwright64 Aug 21, 2026
69a4caf
Whitespace uniformity
pwright64 Sep 2, 2026
8eb3b96
Merged pull request #1994
derickr Sep 22, 2026
634c152
Fix broken links (#2023)
liviuconcioiu Sep 23, 2026
cbe2e97
Announce PHP 8.6.0 RC2
mbeccati Sep 24, 2026
16232dd
Fixed broken links
mbeccati Sep 24, 2026
967eedf
Announce PHP 8.3.35
bukka Sep 24, 2026
a2e765b
Announce PHP 8.5.11
edorian Sep 24, 2026
a5083da
Rename the downloadable file back into the right location
derickr Sep 24, 2026
2cff4f1
Announce PHP 8.2.34
adoy Sep 24, 2026
0e3b395
Announce PHP 8.4.26
SakiTakamachi Sep 24, 2026
50614dc
Add the missing bits for the 8.3.35 release (#2026)
tianon Sep 25, 2026
eb31a95
composer(deps-dev): bump friendsofphp/php-cs-fixer (#2027)
dependabot[bot] Sep 28, 2026
954497e
composer(deps-dev): bump phpstan/phpstan from 2.2.14 to 2.2.16 (#2028)
dependabot[bot] Sep 28, 2026
f2e97cc
composer(deps-dev): bump phpstan/phpstan-phpunit from 2.0.18 to 2.0.2…
dependabot[bot] Oct 5, 2026
64ae2d4
Announce PHP 8.6.0RC3
svpernova09 Oct 8, 2026
78de29c
Announce PHP 8.6.0RC3 news entry
svpernova09 Oct 8, 2026
b65fb67
Announce PHP 8.4.27RC1
NattyNarwhal Oct 8, 2026
a5e3481
Announce PHP 8.5.12RC1
DanielEScherzer Oct 8, 2026
2cab18e
Update sites.php, but removing outdated sites and updating some exist…
derickr Oct 13, 2026
3edcd9a
composer(deps-dev): bump phpstan/phpstan from 2.2.17 to 2.3.1 (#2033)
dependabot[bot] Oct 13, 2026
bd45cf8
composer(deps-dev): bump phpstan/phpstan-phpunit from 2.0.21 to 2.1.1…
dependabot[bot] Oct 13, 2026
04b67f5
Add release pre-announcement
derickr Oct 20, 2026
715be00
Fixed typo
derickr Oct 20, 2026
e884e64
Clarify text by using bold
derickr Oct 20, 2026
611cb24
Disable LAST_NEWS cookie as its busting the CDN cache
derickr Oct 21, 2026
eaf40c8
Make downloads.php cachable — There is no reason why it can't be (for…
derickr Oct 21, 2026
09ddbaf
Announce PHP 8.2.35
DanielEScherzer Oct 21, 2026
1beaced
Announce PHP 8.3.36
DanielEScherzer Oct 21, 2026
c69ad62
Announce PHP 8.4.27
DanielEScherzer Oct 21, 2026
18c7c72
Announce PHP 8.5.12
DanielEScherzer Oct 21, 2026
b9c4b55
Add security advisory for RCE
DanielEScherzer Oct 21, 2026
f92f798
Remove remirepo notice
edorian Oct 21, 2026
9858363
Announce PHP 8.6.0RC4
mbeccati Oct 21, 2026
1879708
Fix require branches.inc from project root (#2035)
localheinz Oct 23, 2026
c421fd5
Add information advisory for session upload progress issue
bukka Oct 23, 2026
352b6a4
Mark RC3 as the second release candidate (#2040)
jordikroon Oct 24, 2026
e10aeab
Fix calendar (#2043)
mattstauffer Oct 24, 2026
b9464d1
Fix `Last-Modified` header on archive pages (#2042)
mattstauffer Oct 24, 2026
7ad6004
Fix heads-up component height to be auto (#2039)
sy-records Oct 25, 2026
5d5e250
Support Windows build numbers in the installer
shivammathur Oct 26, 2026
f1cc5da
Announce Windows rebuilds with Brotli security fix
shivammathur Oct 26, 2026
14b101f
Create shared footer logic so the whole site can share footer with re…
mattstauffer Oct 24, 2026
1d6659b
Upgrade to PHP 8.5.12, and enable tokenizer extension
derickr Oct 30, 2026
f7fab34
Fix padding on global mega footer
mattstauffer Nov 2, 2026
94ba616
composer(deps-dev): bump phpstan/phpstan from 2.3.1 to 2.3.4 (#2053)
dependabot[bot] Nov 2, 2026
e1d62fd
Announce PHP 8.4.28RC1
ericmann Nov 5, 2026
f97d203
Announce PHP 8.6.0RC5
svpernova09 Nov 5, 2026
5346f2d
Announce PHP 8.5.13RC1
edorian Nov 5, 2026
e416e0a
Update sitemap.xml with HTTPS URLs and new links
sy-records Oct 29, 2026
05857b0
Add `.github/workflows/actions.lock` (#2054)
TimWolla Nov 7, 2026
871dd0c
composer(deps-dev): bump friendsofphp/php-cs-fixer (#2055)
dependabot[bot] Nov 10, 2026
d8b3572
composer(deps-dev): bump phpstan/phpstan from 2.3.4 to 2.3.5 (#2056)
dependabot[bot] Nov 10, 2026
df2a60e
Announce PHP 8.6.0RC7
svpernova09 Nov 12, 2026
a13511e
Split conferences and CFPs
mattstauffer Nov 10, 2026
f895103
Update Conference code to use news category enum; update 'want to see…
mattstauffer Nov 12, 2026
83b4688
fix: improve G-S search modal input
sy-records Oct 30, 2026
fe674bb
Fix enhance keyboard navigation for search modal
sy-records Nov 2, 2026
ace610e
Fix PHPStan errors in PHP 8.0-8.5 release page `common.php` (#2060)
theodorejb Nov 16, 2026
6ca2d5f
Fix case-insensitive handling of .php extensions
sy-records Oct 28, 2026
157116b
Fix GH-2032: Replace hero background with a video (#2061)
jordikroon Nov 16, 2026
abe5d3b
Fix empty cache-buster timestamp on assets
jordikroon Nov 16, 2026
193a5dc
Set cache header for release page
derickr Nov 16, 2026
776d63e
composer(deps-dev): bump friendsofphp/php-cs-fixer (#2063)
dependabot[bot] Nov 16, 2026
13e0267
Replace hero background video with compositor-friendly HTML orbs
theodorejb Nov 16, 2026
9d7f4fb
Pause hero background animation while it is offscreen
theodorejb Nov 16, 2026
724989d
Preview PHP 8.6 release page (#2030)
saundefined Nov 17, 2026
22aa9fe
Remove no-longer-fully-functional Markdown-style keyboard shortcut (#…
mattstauffer Nov 17, 2026
cc6428a
release/8.6: Use consistent titlecase (#2074)
TimWolla Nov 17, 2026
e98480d
releases/8.6: Add `clamp()` doc link (#2072)
TimWolla Nov 17, 2026
def9bd7
releases/8.6: Improve phrasing for bc_constructor_return (#2075)
TimWolla Nov 17, 2026
3a119ea
releases/8.6: Minor phrasing improvement for Duration (#2073)
TimWolla Nov 17, 2026
469fb3c
releases/8.6: Update ru translation
saundefined Nov 18, 2026
383be4b
Add Chinese translation of 8.6 release webpage (#2071)
LamentXU123 Nov 18, 2026
48763b3
Remove unnecessary xmlns attribute (#2077)
sy-records Nov 18, 2026
16b75b4
Fix XSS
derickr Nov 18, 2026
9b04859
releases/8.6: Adjust variable names in PFA example (#2078)
TimWolla Nov 18, 2026
1a3d49c
Update PHP 8.6 release taglines (#2079)
theodorejb Nov 18, 2026
0aad414
Annonce upcoming regular PHP release as a security one
edorian Nov 18, 2026
4b76361
Update page theme when system color scheme changes
theodorejb Nov 18, 2026
1ddae54
Make theme toggle switch between system and opposite of system
theodorejb Nov 18, 2026
199cec4
Fix regression: selected PHP version ignored on downloads page (#2083)
jordikroon Nov 18, 2026
4f24a21
Keep generated news entry publishing date in sync with filename date …
TimWolla Nov 18, 2026
8b0e0a7
Add pt_BR translation for PHP 8.6 release page (#2082)
marcosmarcolin Nov 19, 2026
846dc8d
Add Dutch language for PHP 8.6 release page (#2080)
jordikroon Nov 19, 2026
9dd5215
Pre-Announce PHP 8.6 (#2069)
saundefined Nov 19, 2026
49b9f67
Merge upstream php/web-php master into chore/sync-upstream
bikramtuladhar Nov 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/node:1": {}
"ghcr.io/devcontainers/features/node:2": {}
},

// Configure tool-specific properties.
Expand Down
29 changes: 28 additions & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,19 @@ about what you're working on, you can contact us via the
```

to automatically fix coding standard issues.
- Run

```shell
make static-analysis
```

to run a static analysis or, if applicable, run

```shell
make static-analysis-baseline
```

to regenerate the baseline.
- Review the change once more just before submitting it.

## What happens after submitting contribution?
Expand Down Expand Up @@ -134,6 +147,20 @@ Having said that, here are the organizational rules:
make coding-standards
```

6. Use reasonable commit messages.
6. Run

```shell
make static-analysis
```

to run a static analysis or, if applicable, run

```shell
make static-analysis-baseline
```

to regenerate the baseline.

7. Use reasonable commit messages.

Thank you for contributing to https://www.php.net!
93 changes: 93 additions & 0 deletions .github/workflows/actions.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
# This file is machine-generated by `gh actions-lock`.
# Do not edit by hand; run `gh actions-lock` to update.
# Docs: https://gh.io/actions-lockfile
version: 'v0.0.3'
workflows:
'.github/workflows/close-needs-feedback.yml':
- 'imhoffd/needs-reply@v2.0.0'
'.github/workflows/integrate.yaml':
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'shivammathur/setup-php@2.40.0'
'.github/workflows/pr-closed.yml':
- 'appleboy/ssh-action@v1.2.5'
'.github/workflows/preview-deploy.yml':
- 'actions/download-artifact@v8.0.2'
- 'easingthemes/ssh-deploy@main'
- 'peter-evans/create-or-update-comment@v5.0.0'
- 'peter-evans/find-comment@v4.0.0'
'.github/workflows/preview-tests.yml':
- 'actions/cache@v6.1.0'
- 'actions/checkout@v7.0.1'
- 'actions/setup-node@v7.1.0'
- 'actions/upload-artifact@v7.0.2'
- 'shivammathur/setup-php@2.40.0'
'.github/workflows/remove-needs-feedback.yml':
- 'actions-ecosystem/action-add-labels@v1.1.3'
- 'actions-ecosystem/action-remove-labels@v1.3.0'
dependencies:
'actions-ecosystem/action-add-labels@v1.1.3':
ref: 'v1.1.3'
commit: 'sha1-18f1af5e3544586314bbe15c0273249c770b2daf'
owner_id: 56633079
repo_id: 260786220
'actions-ecosystem/action-remove-labels@v1.3.0':
ref: 'v1.3.0'
commit: 'sha1-2ce5d41b4b6aa8503e285553f75ed56e0a40bae0'
owner_id: 56633079
repo_id: 260787457
'actions/cache@v6.1.0':
ref: 'v6.1.0'
commit: 'sha1-55cc8345863c7cc4c66a329aec7e433d2d1c52a9'
owner_id: 44036562
repo_id: 215566462
'actions/checkout@v7.0.1':
ref: 'v7.0.1'
commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1'
owner_id: 44036562
repo_id: 197814629
'actions/download-artifact@v8.0.2':
ref: 'v8.0.2'
commit: 'sha1-9000827ccba6bdab643e8b6fd33ac0654aef8333'
owner_id: 44036562
repo_id: 192626254
'actions/setup-node@v7.1.0':
ref: 'v7.1.0'
commit: 'sha1-949feb2413d6458794dcd2491c4babbbce0c15c1'
owner_id: 44036562
repo_id: 189476904
'actions/upload-artifact@v7.0.2':
ref: 'v7.0.2'
commit: 'sha1-cf430e030ddbb5b0abf93d22962f4752f3646cd9'
owner_id: 44036562
repo_id: 192625955
'appleboy/ssh-action@v1.2.5':
ref: 'v1.2.5'
commit: 'sha1-0ff4204d59e8e51228ff73bce53f80d53301dee2'
owner_id: 21979
repo_id: 186202082
'easingthemes/ssh-deploy@main':
ref: 'main'
commit: 'sha1-2cc5b27bf3029d0455dd5e09fe02633904031447'
owner_id: 2750284
repo_id: 210941897
'imhoffd/needs-reply@v2.0.0':
ref: 'v2.0.0'
commit: 'sha1-71e8d5144caa0d4a1e292348bfafa3866d08c855'
owner_id: 236501
repo_id: 271127651
'peter-evans/create-or-update-comment@v5.0.0':
ref: 'v5.0.0'
commit: 'sha1-e8674b075228eee787fea43ef493e45ece1004c9'
owner_id: 18365890
repo_id: 223708643
'peter-evans/find-comment@v4.0.0':
ref: 'v4.0.0'
commit: 'sha1-b30e6a3c0ed37e7c023ccd3f1db5c6c0b0c23aad'
owner_id: 18365890
repo_id: 256447541
'shivammathur/setup-php@2.40.0':
ref: '2.40.0'
commit: 'sha1-eb7c497e18156a6bbabfef1d3a82760b9eda3962'
owner_id: 1571086
repo_id: 206578964
2 changes: 1 addition & 1 deletion .github/workflows/close-needs-feedback.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
pull-requests: write
steps:
- name: Close old issues that need feedback
uses: dwieeb/needs-reply@v2
uses: imhoffd/needs-reply@v2.0.0
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-label: "Status: Needs Feedback"
Expand Down
77 changes: 60 additions & 17 deletions .github/workflows/integrate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.4"

steps:
- name: "Checkout"
uses: "actions/checkout@v6"
uses: "actions/checkout@v7.0.1"

- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
uses: "shivammathur/setup-php@2.40.0"
with:
coverage: "xdebug"
extensions: "none, curl, dom, json, mbstring, tokenizer, xml, xmlwriter, iconv"
Expand All @@ -40,7 +40,7 @@ jobs:
run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v5"
uses: "actions/cache@v6.1.0"
with:
path: "${{ env.COMPOSER_CACHE_DIR }}"
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}"
Expand All @@ -62,14 +62,14 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.4"

steps:
- name: "Checkout"
uses: "actions/checkout@v6"
uses: "actions/checkout@v7.0.1"

- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
uses: "shivammathur/setup-php@2.40.0"
with:
coverage: "none"
extensions: "none, curl, dom, json, mbstring, tokenizer, xml, xmlwriter, iconv"
Expand All @@ -85,7 +85,7 @@ jobs:
run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v5"
uses: "actions/cache@v6.1.0"
with:
path: "${{ env.COMPOSER_CACHE_DIR }}"
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}"
Expand All @@ -95,7 +95,7 @@ jobs:
run: "composer install --ansi --no-interaction --no-progress"

- name: "Run friendsofphp/php-cs-fixer"
run: "vendor/bin/php-cs-fixer fix --ansi --config=.php-cs-fixer.php --diff --dry-run --show-progress=dots --verbose"
run: "vendor/bin/php-cs-fixer check --diff --show-progress=dots --verbose --ansi"

- name: "Get libxml2-utils"
run: |
Expand All @@ -107,6 +107,49 @@ jobs:
- name: "Validate XML files"
run: "for a in $(find . -name '*.xml'); do xmllint --quiet --noout $a; done"

static-analysis:
name: "Static Analysis"

runs-on: "ubuntu-latest"

strategy:
matrix:
php-version:
- "8.4"

dependencies:
- "locked"

steps:
- name: "Checkout"
uses: "actions/checkout@v7.0.1"

- name: "Set up PHP"
uses: "shivammathur/setup-php@2.40.0"
with:
coverage: "none"
extensions: "none, curl, dom, json, mbstring, tokenizer, xml, xmlwriter, iconv"
php-version: "${{ matrix.php-version }}"

- name: "Set up problem matchers for PHP"
run: "echo \"::add-matcher::${{ runner.tool_cache }}/php.json\""

- name: "Determine composer cache directory"
run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v6.1.0"
with:
path: "${{ env.COMPOSER_CACHE_DIR }}"
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}"
restore-keys: "php-${{ matrix.php-version }}-composer-"

- name: "Install dependencies with composer"
run: "composer install --ansi --no-interaction --no-progress"

- name: "Run static analysis"
run: "vendor/bin/phpstan"

tests:
name: "Tests"

Expand All @@ -115,17 +158,17 @@ jobs:
strategy:
matrix:
php-version:
- "8.2"
- "8.4"

env:
HTTP_HOST: "localhost:8080"

steps:
- name: "Checkout"
uses: "actions/checkout@v6"
uses: "actions/checkout@v7.0.1"

- name: "Set up PHP"
uses: "shivammathur/setup-php@v2"
uses: "shivammathur/setup-php@2.40.0"
with:
coverage: "none"
extensions: "none, curl, dom, json, mbstring, tokenizer, xml, xmlwriter, iconv"
Expand All @@ -141,7 +184,7 @@ jobs:
run: "echo \"COMPOSER_CACHE_DIR=$(composer config cache-dir)\" >> $GITHUB_ENV"

- name: "Cache dependencies installed with composer"
uses: "actions/cache@v5"
uses: "actions/cache@v6.1.0"
with:
path: "${{ env.COMPOSER_CACHE_DIR }}"
key: "php-${{ matrix.php-version }}-composer-${{ hashFiles('composer.lock') }}"
Expand All @@ -153,8 +196,8 @@ jobs:
- name: "Run unit tests with phpunit/phpunit"
run: "vendor/bin/phpunit --colors=always --configuration=tests/phpunit.xml --testsuite=unit"

- name: "Start built-in web server for PHP"
run: "php -S ${{ env.HTTP_HOST }} .router.php &"
# - name: "Start built-in web server for PHP"
# run: "php -S ${{ env.HTTP_HOST }} .router.php &"

- name: "Run end-to-end tests with phpunit/phpunit"
run: "vendor/bin/phpunit --colors=always --configuration=tests/phpunit.xml --testsuite=end-to-end"
# - name: "Run end-to-end tests with phpunit/phpunit"
# run: "vendor/bin/phpunit --colors=always --configuration=tests/phpunit.xml --testsuite=end-to-end"
Loading
Loading