From f268abd41944313b606b007caf177919f4ab4fe7 Mon Sep 17 00:00:00 2001 From: Carter Snook Date: Mon, 12 Dec 2022 06:35:09 -0600 Subject: [PATCH 1/6] fix(constants): remove duplicate E_USER_DEPRECATED def Closes GH-256. --- spec/06-constants.md | 1 - 1 file changed, 1 deletion(-) diff --git a/spec/06-constants.md b/spec/06-constants.md index 06217185..8b23a2af 100644 --- a/spec/06-constants.md +++ b/spec/06-constants.md @@ -73,7 +73,6 @@ Constant Name | Description `E_USER_NOTICE` | `int`; User-generated warning message. This is like an `E_NOTICE`, except that `E_USER_NOTICE` is generated in PHP code by using the library function [`trigger_error`](http://www.php.net/trigger_error). `E_USER_WARNING` | `int`; User-generated warning message. This is like an `E_WARNING`, except that `E_USER_WARNING` is generated in PHP code by using the library function [`trigger_error`](http://www.php.net/trigger_error). `E_WARNING` | `int`; Run-time warnings (non-fatal errors). Execution of the script is not halted. -`E_USER_DEPRECATED` | `int`; User-generated warning message. This is like an `E_DEPRECATED`, except that `E_USER_DEPRECATED` is generated in PHP code by using the library function [`trigger_error`](http://www.php.net/trigger_error). `FALSE` | `bool`; the case-insensitive Boolean value `FALSE`. `INF` | `float`; Infinity `M_1_PI` | `float`; 1/pi From ffa3fa58a1062aed7c85f04d10e340677364ce48 Mon Sep 17 00:00:00 2001 From: Peter Kokot Date: Fri, 3 Feb 2023 21:43:24 +0100 Subject: [PATCH 2/6] Mention GitHub upstream instead of obsolete git.php.net --- README.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/README.md b/README.md index 5c35b654..14f780c2 100644 --- a/README.md +++ b/README.md @@ -10,11 +10,7 @@ Bug reports can be filed at: > [https://github.com/php/php-langspec/issues](https://github.com/php/php-langspec/issues) -The upstream url of this repo is: - - git@git.php.net:/php-langspec.git - -It is also mirrored on GitHub: +The upstream URL of this repo is: > [https://github.com/php/php-langspec](https://github.com/php/php-langspec) From 4c19272d1f832faba8c7bc808bf4a2db4412a6c4 Mon Sep 17 00:00:00 2001 From: Superkooka Date: Fri, 24 Feb 2023 00:43:29 +0100 Subject: [PATCH 3/6] Fix markdown typo in spec/ (#249) --- spec/08-conversions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/08-conversions.md b/spec/08-conversions.md index e93183d3..069676d6 100644 --- a/spec/08-conversions.md +++ b/spec/08-conversions.md @@ -14,7 +14,7 @@ Conversions to `resource` and `null` types can not be performed. ## Converting to Boolean Type -The [result type] (http://www.php.net/manual/en/language.types.boolean.php#language.types.boolean.casting) is [`bool`](05-types.md#the-boolean-type). +The [result type](http://www.php.net/manual/en/language.types.boolean.php#language.types.boolean.casting) is [`bool`](05-types.md#the-boolean-type). If the source type is `int` or `float`, then if the source value tests equal to 0, the result value is `FALSE`; otherwise, the result value is `TRUE`. From bf7423a820247f6584c329b5a75ca0e61b7e2940 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Sat, 24 Feb 2024 18:48:02 +0300 Subject: [PATCH 4/6] Update ML instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 14f780c2..5875ef0e 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ This repo contains the WIP PHP Language Specifications. To join the conversation, send a blank email to: -> [standards-subscribe@lists.php.net](mailto:standards-subscribe@lists.php.net) +> [standards+subscribe@lists.php.net](mailto:standards+subscribe@lists.php.net) Bug reports can be filed at: From 287f3d0e12391be858d6623a4bec035d2647c621 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Sat, 24 Feb 2024 17:08:39 -0600 Subject: [PATCH 5/6] Indicate space is allowed between "endswitch" and ";" --- spec/11-statements.md | 4 ++-- spec/19-grammar.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/spec/11-statements.md b/spec/11-statements.md index d9eb5d1d..61af9cc8 100644 --- a/spec/11-statements.md +++ b/spec/11-statements.md @@ -314,7 +314,7 @@ else // this else does go with the outer if