Commit graph

114 commits

Author SHA1 Message Date
Derick Rethans
a9ab62d54d
Add a brief section on options to the test runner, and -j 2025-08-06 10:05:27 +01:00
Derick Rethans
0c82801384
Setting TEST_PHP_EXECUTABLE hasn't been necessary for ages. 2025-08-06 09:48:46 +01:00
Jakub Zelenka
e1cf66b6cb
Fix release process feature freeze info (#19148) 2025-07-30 23:51:28 +02:00
Arnaud Le Blanc
7b4c14dc10
Make OPcache non-optional
This removes the --enable-opcache/--disable-opcache configure switch. OPcache
is now always builtin. The default value of opcache.enable and
opcache.enable_cli is unchanged.

RFC: https://wiki.php.net/rfc/make_opcache_required

Closes GH-18961.

Co-authored-by: Tim Düsterhus <tim@tideways-gmbh.com>
2025-07-27 09:40:22 +02:00
Volker Dusch
189b933dd4
RM docs: Update social media annoncement process (#19159) 2025-07-19 01:18:39 +02:00
Peter Kokot
aa366b5113
Update re2c minimum versions in Windows checks and docs (#19039) 2025-07-07 07:54:29 +02:00
DanielEScherzer
0cdb5d0aa1
release-process: update based on 8.5.0alpha1 announcement (#19028)
* Add reminder to replace outdated information in the announcements
* Add instruction for new RMs to subscribe to the lists they need to email
2025-07-04 11:30:31 -07:00
DanielEScherzer
f906fad985
release-process: update based on 8.5.0alpha1 (#19004)
* Clarify that placeholders with `RCn` are not just for release candidates
* Only PHP `X.Y.0` has pre-GA releases, no need to use `X.Y.Z`
* Before `PHP-X.Y` has been created, `master` needs to be pushed for NEWS
2025-07-02 02:48:05 -07:00
DanielEScherzer
642d729847
release-process: update some confusing parts (#18934)
Update based on my training with Pierrick
* dates should correspond to when releases are released, not tagged
* qa.php.net is no longer used
* bugs.php.net is no longer used
* multiple commits to web-php can be combined
2025-07-01 13:24:44 -07:00
DanielEScherzer
e1181475e1
release-process: update pre-release cycle docs (#18805)
https://wiki.php.net/rfc/release_cycle_update
2025-06-09 12:22:07 -07:00
DanielEScherzer
3f03f7ed3d
[RFC] Add support for attributes on compile-time constants
https://wiki.php.net/rfc/attributes-on-constants
2025-04-29 11:53:09 -07:00
Derick Rethans
0029d2b08b Turn off font ligatures in code in documentation 2025-04-25 10:30:43 +01:00
Derick Rethans
681ef77734 Convert https://qa.php.net/running-tests.php 2025-04-25 10:09:52 +01:00
Derick Rethans
eb048ce0c6 Add samples from original QA site 2025-04-25 10:09:52 +01:00
Derick Rethans
ec288b1b07 Convert https://qa.php.net/write-test.php and https://qa.php.net/phpt_details.php 2025-04-25 10:09:52 +01:00
Sergey Panteleev
090b1cf229
[ci skip] Update PHP Release Process (#18342) 2025-04-24 18:53:11 +03:00
Derick Rethans
0e1bbf9259
Add PHP 8.4 to the list 2025-04-23 17:44:17 +01:00
Eric Mann
27b83e3095
Change RC downloads scp instructions as per the new jump box documentation 2025-04-22 06:26:19 -07:00
John Bampton
4e44efaccb
docs: fix spelling in stubs.rst (GH-18220) 2025-04-01 12:51:02 +02:00
Jakub Zelenka
370f24290f
[ci skip] Fix example and add NEWS merging info to release process (#18159) 2025-03-27 22:38:52 +01:00
DanielEScherzer
1a468b6efc
Docs: add a page about zend_constant (GH-17072) 2025-02-14 12:49:57 +01:00
hakre
1668a1602a
Improve php-src docs sphinx build, also on *nix (GH-16743)
* Document .rst file maximum line length of 100

In 19d2b84788 ("Create book for docs", 2024-01-30) the build of the
php-src documentation has been introduced.

It is based on reStructuredText (rst) [Docutils] for its source files,
this stems from the sphinx-build utility in use to build the static HTML
pages of the php-src documentation.

The maximum line length of these text files has been set to 100
characters in 19d2b84788 ("Create book for docs", 2024-01-30), the
rationale is unknown to the documenting author at time of writing this
message.

This formatting constraint is applied with the rstfmt utility [rstfmt]
via its invocation (documented in CI build instructions and README.md:)

    rstfmt -w 100 source

The `-w, --width` option takes a WIDTH argument that is "the
target line length in characters" (cf. `rstfmt --help`.)

There is also an `--ext EXT` argument option, that is "the extension of
files to look at when passed a directory" ("source" is the name of
a directory in the invocation above) and defaults to "rst".

Henceforth, the editor configuration [EditorConfig] can benefit from
documenting this expectation in the repositories .editorconfig file,
which has been introduced already earlier in 5c38fbe543 ("Added
editorconfig file", 2016-06-26).

[Docutils]: https://docutils.sourceforge.io/index.html "Docutils: Documentation Utilities — Written in Python, for General- and Special-Purpose Use"
[rstfmt]: https://github.com/dzhu/rstfmt "A formatter for reStructuredText"
[EditorConfig]: https://editorconfig.org/ "EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs"

* Makefile for php-src docs build

In 19d2b84788 ("Create book for docs", 2024-01-30) the php-src
documentation (php-src docs) build has been introduced, yet the build
instructions, namely `make html`, did not yield the expected results
within the parenting setup of the php-src project on *nix systems.

The reason is that the `make html` build instruction does not execute
the make.bat file which contains the recipe to build the static HTML
pages.

It is an unused leftover file from initializing the project with
sphinx-quickstart. [1]

Removing it in and adding a Makefile suffices to recover the build of
php-src ./docs on a *nix system.

Formatting constraints checked in the docs workflow in CI update
use the make file to make sure the commands stay consistent and the
build is managed by the build manager.

[1]: https://www.sphinx-doc.org/en/master/man/sphinx-quickstart.html "sphinx-quickstart is an interactive tool that asks some questions about your project and then generates a complete documentation directory and sample Makefile to be used with sphinx-build(1)."

* Bind requirements.txt for php-src docs build

Define the required packages to install for the php-src docs build in
the docs/requirements.txt file:

1) Sphinx
2) sphinx-design
3) sphinxawesome-theme
4) rstfmt

This should also later on ease the use of a requirements_frozen.txt
file to pin the build dependencies if needed/wanted.

Additionally, some formatting corrections in README.md (based on the
profile in .editorconfig) as well as adding the recommendation to use
a Python virtual environment. Python3 and Pip were already named, and
with Python3 there is the venv module (Python 3.3; Sep 2012) to manage
these so-called python virtual environments [venv], which are commonly
a preferred way to install dependencies within development projects
and build systems.

[venv]: https://docs.python.org/3/library/venv.html "venv — Creation of virtual environments — Python documentation"

* Remove deprecated theme configuration

For the configured Awesome Sphinx Theme [1] highlighting extension, the
sphinx-build currently yields the following diagnostics:

     WARNING: while setting up extension sphinxawesome_theme.highlighting: \
     You no longer have to include the `sphinxawsome_theme.highlighting` \
     extension. This extension will be removed in the next major release.

(via `make html`, the configuration file is `source/conf.py`.)

The diagnostic message was introduced by sphinxawesome-theme 5.2.0,
  released May 31, 2024. [2], [3]

Removing the extension from the list of extensions in the configuration
file levitates.

No changes to requirements.txt, the extension was transitive as bundled
by the Awesome Sphinx Theme [1], and 5.2.0 deprecates it with the new
feature to "Support `pygments_style_dark` option that allows you to set
a different syntax highlighting scheme in light and dark modes." [3]

[1]: https://sphinxawesome.xyz/ "Awesome Sphinx Theme — Create functional and beautiful websites for your documentation with Sphinx."
[2]: https://pypi.org/project/sphinxawesome-theme/5.2.0/#history
[3]: https://github.com/kai687/sphinxawesome-theme/releases/tag/5.2.0
2024-11-29 19:29:00 +01:00
Christophe Coevoet
d411fdf615
Fix rST markup in the documentation about stubs (GH-16888) 2024-11-26 17:02:14 +01:00
DanielEScherzer
4a4574290f
[skip ci] docs: fix constant syntax in stubs.rst (#15785)
Constants are declared with `=` not `:`
2024-09-07 08:22:10 +01:00
Peter Kokot
13f041163c
Remove Travis artefacts (#15714)
Travis was suspended https://github.com/php/php-src/pull/15314

This removes 404 errored Travis image in README, travis configuration
directory and YAML file and usages in tests.

[skip ci]

Co-authored-by: Gina Peter Banyard <girgias@php.net>
2024-09-04 01:15:10 +02:00
Peter Kokot
7ebdd7d05a
Trim trailing whitespace (#15649)
[skip ci]
2024-08-30 01:20:56 +02:00
Sergey Panteleev
0caaeb68cf
[ci skip] Update release process for pre-GA (#14988) 2024-07-17 17:55:03 +03:00
Michael
6bb960092a
[skip ci] Fix some typos (#14893) 2024-07-10 00:11:36 +01:00
Máté Kocsis
0f64901316
Document stubs (#13677)
Co-authored-by: Derick Rethans <github@derickrethans.nl>
2024-05-29 14:18:22 +02:00
Máté Kocsis
53de62561d
Fix some typos on the reference counting docs page 2024-04-30 22:16:45 +02:00
Niels Dossche
bca94e3420
[ci skip] Fix typo in release-process.md (#14012) 2024-04-20 10:46:07 +02:00
Derick Rethans
742c2e8458
Split out tasks from requested info, and fix typo 2024-04-18 13:42:26 +01:00
Derick Rethans
fe0e1d875b
Describe what you need to ask systems@php.net for 2024-04-18 13:39:36 +01:00
Peter Kokot
7b8a571f4a
Update the security.txt changes link (#13646)
[ci skip]
2024-03-09 20:29:05 +01:00
Michael Voříšek
c412919c93
Add hosted docs link to docs/README.md
Closes GH-13633
2024-03-08 12:56:19 +01:00
Jakub Zelenka
4bee528e7a Move back mailinglist-rules.md and release-process.md back to docs
Those are likely link from elsewhere so we could keep them
2024-02-28 11:21:26 +00:00
Ilija Tovilo
1bef861527
Add vscode chapter to docs
Closes GH-13441
2024-02-21 14:42:08 +01:00
Ilija Tovilo
a4dfa35f93
Fix docs typo 2024-02-18 20:31:54 +01:00
Ilija Tovilo
19d2b84788
Create book for docs
Closes GH-13338
2024-02-18 12:16:31 +01:00
Peter Kokot
eb76a83008
Remove PHP atomic includes and PHP_DEFINE M4 macro (#13372)
PHP_DEFINE was introduced with the PHP 5 build system
9d9d39a0de and then refactored via
350de12bc2.

This was once used to put defined constants into a single file to have
more fine-graned dependencies (atomic includes). Since no known PHP
extension is using this and it makes very little sense to use this, this
M4 macro can be removed in favor of the Autoconf native way using
AC_DEFINE and the usual included files php_config.h and config.h.

- Generated unused include directory removed
- Remove include dir from DEFS
- Remove also include dir from PDO checks
2024-02-11 22:14:46 +01:00
Derick Rethans
7aa2b6294b Moving this to php/policies 2024-02-06 11:39:12 +00:00
Gabriel Caruso
811c5ff2f4 [ci skip] PHP 8.0 is EOL
Following php/web-php#840, 670052c42 and php/web-qa#c7b24521eb1
2024-01-09 01:46:59 +01:00
Jakub Zelenka
0c29d5edb7
Update release-process docs with info about first version release (#12765)
This is some additional info that might help to future RM's - those are the bits that are stumbled and felt they need to be clarified when releasing PHP-8.3.0
2023-12-01 11:58:52 +00:00
George Peter Banyard
d86314939c Zend: Add ZPP F type check for callables that do not free trampolines
As refetching it with the new FCC API does get tedious
2023-10-10 13:44:21 +01:00
Ben Ramsey
65a8c70f93
Add instructions for updating security.txt in web-php (#12316)
[ci skip]
2023-10-05 13:39:45 -05:00
Christian Clauss
886bf820c9
[skip ci] Fix typos discovered by codespell (#12228) 2023-09-18 11:07:17 +01:00
Andreas Möller
4c92e7b392
Fix: Consistently use release-managers@php.net [skip ci] (#11752) 2023-07-21 10:35:51 +02:00
Ilija Tovilo
dde1d9e102
Merge branch 'PHP-8.2'
* PHP-8.2:
  Retire AppVeyor
2023-07-05 15:17:11 +02:00
Ilija Tovilo
80153c9c2b
Merge branch 'PHP-8.1' into PHP-8.2
* PHP-8.1:
  Retire AppVeyor
2023-07-05 15:16:01 +02:00
Ilija Tovilo
f47dc259aa
Retire AppVeyor
Closes GH-11566
2023-07-05 15:14:20 +02:00