Sha256: d2ba9bd9b306fdb62147176bf451bdf68cd5297edfc773fb8bb800f5fd9e72ce
Contents?: true
Size: 496 Bytes
Versions: 97
Compression:
Stored size: 496 Bytes
Contents
# frozen_string_literal: true 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
97 entries across 97 versions & 2 rubygems