alco / porcelain

Work with external processes like a boss
http://hexdocs.pm/porcelain
MIT License
939 stars 45 forks source link

Behaviour module has been deprecated in Elixir 1.4 #38

Open smetana opened 7 years ago

smetana commented 7 years ago

warning: the Behaviour module is deprecated. Instead of using this module, use the @callback and @macrocallback module attributes. See the documentation for Module for more information on these attributes lib/porcelain/drivers/driver_common.ex:4: (module) (elixir) src/elixir_compiler.erl:125: :elixir_compiler.dispatch_loaded/6 (elixir) src/elixir_module.erl:191: :elixir_module.eval_form/6 (elixir) src/elixir_module.erl:71: :elixir_module.do_compile/5 (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6

ashleyconnor commented 7 years ago

Closed by https://github.com/alco/porcelain/commit/01e84626a1e438b898e4ea39c665b93779968a54

quatermain commented 6 years ago

Still some issues with Elixir 1.5.2:

warning: the Behaviour module is deprecated. Instead of using this module, use the @callback and @macrocallback module attributes. See the documentation for Module for more information on these attributes
  lib/porcelain/drivers/driver_common.ex:4: (module)
  (elixir) src/elixir_compiler.erl:85: :elixir_compiler.dispatch/6
  (elixir) src/elixir_module.erl:238: :elixir_module.eval_form/6
  (elixir) src/elixir_module.erl:80: :elixir_module.compile/5
  (stdlib) erl_eval.erl:670: :erl_eval.do_apply/6

warning: String.to_char_list/1 is deprecated, use String.to_charlist/1
  lib/porcelain.ex:405

warning: Atom.to_char_list/1 is deprecated, use Atom.to_charlist/1
  lib/porcelain.ex:408

warning: String.to_char_list/1 is deprecated, use String.to_charlist/1
  lib/porcelain.ex:412

warning: variable "result" is unused
  lib/porcelain/drivers/driver_common.ex:165

warning: String.to_char_list/1 is deprecated, use String.to_charlist/1
  lib/porcelain/init.ex:78