rfc:constants_in_traits

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
rfc:constants_in_traits [2022/07/05 22:51] sjirfc:constants_in_traits [2022/08/04 19:17] (current) – Move the status to implemented sji
Line 3: Line 3:
   * Date: 2022-06-21   * Date: 2022-06-21
   * Author: Shinji Igarashi<sji@sj-i.dev>, Stephen Reay<stephen@koalephant.com>   * Author: Shinji Igarashi<sji@sj-i.dev>, Stephen Reay<stephen@koalephant.com>
-  * Status: Voting+  * Status: Implemented
   * Implementation: https://github.com/php/php-src/pull/8888   * Implementation: https://github.com/php/php-src/pull/8888
   * First Published at: http://wiki.php.net/rfc/constants_in_traits   * First Published at: http://wiki.php.net/rfc/constants_in_traits
Line 40: Line 40:
  
 <code php> <code php>
-intertface FooInterface {+interface FooInterface {
     public const FLAG_1 = 1;     public const FLAG_1 = 1;
     public function doFoo(int $flags): void;     public function doFoo(int $flags): void;
Line 359: Line 359:
 A 2/3 majority is needed for this RFC to pass. Voting started on 5. July 2022 and end on 19. July 2022 A 2/3 majority is needed for this RFC to pass. Voting started on 5. July 2022 and end on 19. July 2022
  
-<doodle title="Allow constants in traits as proposed?" auth="sji" voteType="single" closed="false">+<doodle title="Allow constants in traits as proposed?" auth="sji" voteType="single" closed="true">
    * Yes    * Yes
    * No    * No
rfc/constants_in_traits.1657061518.txt.gz · Last modified: 2022/07/05 22:51 by sji