config/upstream.yml in cookstyle-7.25.8 vs config/upstream.yml in cookstyle-7.25.9
- old
+ new
@@ -1566,10 +1566,11 @@
Lint/DeprecatedConstants:
Description: 'Checks for deprecated constants.'
Enabled: pending
VersionAdded: '1.8'
+ VersionChanged: '1.22'
# You can configure deprecated constants.
# If there is an alternative method, you can set alternative value as `Alternative`.
# And you can set the deprecated version as `DeprecatedVersion`.
# These options can be omitted if they are not needed.
#
@@ -1586,9 +1587,12 @@
Alternative: 'true'
DeprecatedVersion: '2.4'
'FALSE':
Alternative: 'false'
DeprecatedVersion: '2.4'
+ 'Net::HTTPServerException':
+ Alternative: 'Net::HTTPClientException'
+ DeprecatedVersion: '2.6'
'Random::DEFAULT':
Alternative: 'Random.new'
DeprecatedVersion: '3.0'
Lint/DeprecatedOpenSSLConstant: