Skip to content

PHP syntax error #31

@EvgenyLin

Description

@EvgenyLin

Just installed by
composer require --dev peridot-php/peridot peridot-php/leo

$ ./vendor/bin/peridot
PHP Parse error: syntax error, unexpected token "match" in /home/dev/onion/vendor/peridot-php/leo/specs/responder/responder.spec.php on line 18

$ php -v
PHP 8.1.0 (cli) (built: Nov 25 2021 20:22:03) (NTS)
Copyright (c) The PHP Group
Zend Engine v4.1.0, Copyright (c) Zend Technologies
with Zend OPcache v8.1.0, Copyright (c), by Zend Technologies

$ uname -a
Linux aj 5.4.0-92-lowlatency #103-Ubuntu SMP PREEMPT Fri Nov 26 17:05:05 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions