2017 © Pedro Peláez
 

library finalizer

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

image

ocramius/finalizer

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

  • Wednesday, May 16, 2018
  • by Ocramius
  • Repository
  • 5 Watchers
  • 46 Stars
  • 2,580 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 5 Forks
  • 7 Open issues
  • 2 Versions
  • 2 % Grown

The README.md

Finalizer

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

Build Status Scrutinizer Code Quality Code Coverage Latest Stable Version Latest Unstable Version, (*2)

Help/Support

Gitter, (*3)

Installation

Install via composer:, (*4)

php composer.phar require ocramius/finalizer:~1.0

Usage

In your console, simply type:, (*5)

./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., (*6)

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., (*7)

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., (*8)

The Versions

16/05 2018

dev-master

9999999-dev https://github.com/Ocramius/Finalizer

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

  Sources   Download

MIT

The Requires

 

The Development Requires

syntax code quality final

27/02 2015

1.0.0

1.0.0.0 https://github.com/Ocramius/Finalizer

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

  Sources   Download

MIT

The Requires

 

The Development Requires

syntax code quality final