prontolabs / pronto-rubocop

Pronto runner for Rubocop, ruby code analyzer
MIT License
80 stars 74 forks source link

Deprecation warnings with rubocop 1.65 #90

Closed klyonrad closed 2 weeks ago

klyonrad commented 1 month ago

Since rubocop release 1.65 https://github.com/rubocop/rubocop/releases/tag/v1.65.0

executing pronto shows many many deprecation warnings from rubocop. See also https://github.com/rubocop/rubocop/pull/13032

pronto-rubocop-0.11.5/lib/pronto/rubocop/patch_cop.rb:34: warning: `Cop.all` is deprecated. Use `Registry.all` instead.
pronto-rubocop-0.11.5/lib/pronto/rubocop/patch_cop.rb:62: warning: `inspect_file` is deprecated. Use `investigate` instead.

anything special to think about or would this be a simpel replacement of the used methods?

amomchilov commented 1 month ago

Nope. The method just forwarded anyway, you can just add in the .class

jeantristan commented 1 month ago

same error here. I did not get what I had to do to fix the error

ashkulz commented 2 weeks ago

fixed via #91