Sha256: 95f281d51883c9059d2a226324aa5a20fd54fc9623b4743d8e23c4789c243e6e
Contents?: true
Size: 522 Bytes
Versions: 73
Compression:
Stored size: 522 Bytes
Contents
# frozen_string_literal: true require 'avm/executables' require 'avm/files/formatter/formats/generic_plain' module Avm module Files class Formatter module Formats class Php < ::Avm::Files::Formatter::Formats::GenericPlain VALID_BASENAMES = %w[*.php].freeze VALID_TYPES = ['x-php'].freeze def file_apply(file) ::Avm::Executables.php_cs_fixer.command.append(['fix', file]).system! super(file) end end end end end end
Version data entries
73 entries across 73 versions & 4 rubygems