We can use the following command to check compatibility:./vendor/bin/phpcs —standard=PHPCompatibility—runtime-set testVersion 7 path> We’re using the PHPCompatibility standard with the runtime-set option we mentioned before. In the file or folder specified by path, we’re testing for PHP 7 compatibility.