From 75ce201d78ed6efbc12cfdab66aed817b7e56159 Mon Sep 17 00:00:00 2001 From: "marc.wuerth" Date: Thu, 1 Jun 2023 16:39:20 +0200 Subject: [PATCH] Do not mention PHP support This was the only spot in which the PHP support & version was mentioned. Either all statements should have or none. But it superfluous since the section "Previous language versions" already covers it: > Throughout this document, any instructions MAY be ignored if they do not exist in versions of PHP supported by your project. https://www.php-fig.org/per/coding-style/#previous-language-versions --- spec.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/spec.md b/spec.md index 6fac42e..181b80b 100644 --- a/spec.md +++ b/spec.md @@ -443,8 +443,7 @@ class Talker Visibility MUST be declared on all properties. -Visibility MUST be declared on all constants if your project PHP minimum -version supports constant visibilities (PHP 7.1 or later). +Visibility MUST be declared on all constants. The `var` keyword MUST NOT be used to declare a property.