You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@avro.apache.org by "Ryan Skraba (Jira)" <ji...@apache.org> on 2021/12/14 18:04:00 UTC

[jira] [Resolved] (AVRO-3268) [PHP] PHP lint fails

     [ https://issues.apache.org/jira/browse/AVRO-3268?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ryan Skraba resolved AVRO-3268.
-------------------------------
    Fix Version/s: 1.11.1
       Resolution: Fixed

Cherry-picked to [branch-1.11|https://github.com/apache/avro/commit/4a1fb59bba00ba89ee09eb127b8ae8f8d765fc5f]

> [PHP] PHP lint fails
> --------------------
>
>                 Key: AVRO-3268
>                 URL: https://issues.apache.org/jira/browse/AVRO-3268
>             Project: Apache Avro
>          Issue Type: Bug
>            Reporter: Ryan Skraba
>            Assignee: Ryan Skraba
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.11.1
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> Something has changed in the PHP build and the lint fails:
> {code:java}
>   No syntax errors detected in ./vendor/composer/ClassLoader.php
>     No syntax errors detected in ./vendor/composer/autoload_psr4.php
>     No syntax errors detected in ./vendor/composer/autoload_classmap.php
>     No syntax errors detected in ./vendor/composer/autoload_static.php
>     No syntax errors detected in ./vendor/composer/autoload_files.php
>     No syntax errors detected in ./vendor/composer/autoload_namespaces.php
>     No syntax errors detected in ./examples/write_read.php
>     
>     FILE: ...runner/work/avro/avro/lang/php/lib/Datum/AvroIOBinaryDecoder.php
>     ----------------------------------------------------------------------
>     FOUND 1 ERROR AFFECTING 1 LINE
>     ----------------------------------------------------------------------
>      36 | ERROR | [x] Opening brace must not be followed by a blank line
>     ----------------------------------------------------------------------
>     PHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY
>     ----------------------------------------------------------------------
>     
>     Time: 2.42 secs; Memory: 10MB
>     
>     Error: The operation was canceled.
>  {code}
> This can be reproduced in Github Actions and in a local docker build.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)