Error message:
++ phpcs_to_use=vendor/bin/phpcs
++ vendor/bin/phpcs --version
PHP_CodeSniffer version 3.7.2 (stable) by Squiz (http://www.squiz.net)
++ vendor/bin/phpcs --extensions=php '--ignore=*/vendor/*' --standard=tests/ruleset.xml -p -s .
W........................................................... 60 / 116 (52%)
........................................................ 116 / 116 (100%)
FILE: ...me/runner/work/php-curl-class/php-curl-class/examples/custom.php
----------------------------------------------------------------------
FOUND 0 ERRORS AND 1 WARNING AFFECTING 1 LINE
----------------------------------------------------------------------
1 | WARNING | IMPORTANT: Please be advised that for the most
| | reliable PHPCompatibility results, PHP 7.2 or higher
| | should be used. Support for lower versions will be
| | dropped in the foreseeable future. You are currently
| | using PHP 7.0.33-65+ubuntu22.04.1+deb.sury.org+1.
| | Please upgrade your PHP installation to version 7.2 or
| | higher.
| |
| | To disable this notice, add
| | --exclude=PHPCompatibility.Upgrade.LowPHP to your
| | command or add <exclude
| | name="PHPCompatibility.Upgrade.LowPHP.BelowRecommended_7_2"/>
| | to your custom ruleset.
| |
| | Thank you for using PHPCompatibility!
| | (PHPCompatibility.Upgrade.LowPHP.BelowRecommended_7_2)
----------------------------------------------------------------------
As of HHVM 4.0, PHP is no longer supported:
"With this release, we no longer aim to be compatible with PHP"
"We are considering removing support for <?php in the next release [...]"