[wp-meta] [Making WordPress.org] #3506: Core SVN commit blocked by a pre-commit hook
Making WordPress.org
noreply at wordpress.org
Tue Apr 24 13:42:23 UTC 2018
#3506: Core SVN commit blocked by a pre-commit hook
-----------------------------+---------------------
Reporter: SergeyBiryukov | Owner: (none)
Type: defect | Status: new
Priority: normal | Milestone:
Component: Version Control | Resolution:
Keywords: |
-----------------------------+---------------------
Comment (by markjaquith):
Replying to [comment:3 SergeyBiryukov]:
> Replying to [comment:1 Otto42]:
> > Is this new syntax to 7.1?
>
> No, [http://php.net/manual/en/migration70.new-features.php#migration70
.new-features.return-type-declarations it appeared in 7.0].
Return type declarations were introduced in 7.0, but the `void` return
type declaration was introduced in PHP 7.1
http://php.net/manual/en/migration71.new-features.php
Though that linting error on the `:` does seem to suggest that the `:` is
the problem it is having, not the `void` after it. :-)
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3506#comment:5>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list