diff --git a/.travis.yml b/.travis.yml index bcd5238..f9a6132 100644 --- a/.travis.yml +++ b/.travis.yml @@ -44,4 +44,4 @@ script: # Validate the composer.json file. # @link https://getcomposer.org/doc/03-cli.md#validate - - composer validate --no-check-all --with-dependencies --strict + - composer validate --no-check-all --strict diff --git a/composer.json b/composer.json index b936376..1b60705 100644 --- a/composer.json +++ b/composer.json @@ -18,7 +18,7 @@ "source" : "https://github.com/PHPCompatibility/PHPCompatibilityWP" }, "require" : { - "phpcompatibility/php-compatibility" : "*" + "phpcompatibility/php-compatibility" : "^8.1" }, "suggest" : { "dealerdirect/phpcodesniffer-composer-installer": "^0.4.3 || This Composer plugin will sort out the PHPCS 'installed_paths' automatically.",