定制 ocramius/finalizer 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

ocramius/finalizer

最新稳定版本:1.0.0

Composer 安装命令:

composer require ocramius/finalizer

包简介

A simple utility library that checks for PHP classes that should or shouldn't be marked as final

README 文档

README

This library aims at providing simple tools that help deciding whether a class should or shouldn't be declared as final.

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Latest Unstable Version

Help/Support

Gitter

Installation

Install via composer:

php composer.phar require ocramius/finalizer:~1.0

Usage

In your console, simply type:

./vendor/bin/finalizer finalizer:check-final-classes path/to/directory
./vendor/bin/finalizer finalizer:check-final-classes also/supports multiple/directories as/parameters

Note that finalizer will take decisions on whether classes should or shouldn't be final depending on the classes defined in the directories that you passed to it.

Additionally, be aware that finalizer will (in its current state) require any of the PHP or Hack files in the given directories and include them via require_once.

Reference

If you need to know more about why I wrote this library, and what kind of decisions it is doing, then please read this blogpost about the usage of the final keyword.

统计信息

  • 总下载量: 3.27k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 78
  • 点击次数: 0
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 78
  • Watchers: 5
  • Forks: 8
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-02-27