Description
Post additional debug information in GitHub Reviews, including PHP linting version and PHP runtime version. This information is needed as a part of our work to get to PHP 8.0/8.1. This information is important as in the future we need to support multiple PHP versions and in such cases it is useful to know exactly what PHP version was used so to have a good understanding of the scanning environment. Such information can generally be useful for end-users as well.
Ensure this information can be posted in GitHub Reviews and in a standalone GitHub comment, see #40. Use the details HTML tag so to hide the information by default, like this:
Debug information
Run time environment
Software versions
- PHP runtime version: 8.1
- PHP linting version: 7.4
- PHPCS version: 3.6.2
Options altered
lint-modified-files-only
set totrue
phpcs-severity
set to3
Directories not scanned
The following directories were not scanned according to the settings provided.
Not PHPCS scanned:
- src/test1.php
- src/test2.php
Not PHP linted:
- src/test1.php
- src/test4.php
TODO:
- Report PHP version used for linting
- Report PHP runtime version
- Report PHPCS version
- Report PHPCS standards used and versions (if possible)
- Report options altered via
.vipgoci_options
- Report version of vip-go-ci
Activity