Download the PHP package pedrotroller/php-cs-custom-fixer without Composer

On this page you can find all versions of the php package pedrotroller/php-cs-custom-fixer. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package php-cs-custom-fixer

PHP-CS-FIXER : Custom fixers

CircleCI Latest Stable Version License Dependabot Status Scrutinizer Code Quality

Installation

Configuration

Fixers

PedroTroller/order_behat_steps

Step definition methods in Behat contexts MUST BE ordered by annotation and method name.

Available options

Configuration examples

OR using my rule list builder.

Fixes

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/ordered_with_getter_and_setter_first

Class/interface/trait methods MUST BE ordered (accessors at the beginning of the class, ordered following properties order).

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/exceptions_punctuation

Exception messages MUST ends by ".", "…", "?" or "!".

Risky: will change the exception message.

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/forbidden_functions

Prohibited functions MUST BE commented on as prohibited

Available options

Configuration examples

OR using my rule list builder.

Fixes

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/line_break_between_method_arguments

If the declaration of a method is too long, the arguments of this method MUST BE separated (one argument per line)

Available options

Configuration examples

OR using my rule list builder.

Fixes

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/line_break_between_statements

Each statement (in, for, foreach, ...) MUST BE separated by an empty line

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/comment_line_to_phpdoc_block

Classy elements (method, property, ...) comments MUST BE a PhpDoc block

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/useless_code_after_return

All return that are not accessible (i.e. following another return) MUST BE deleted

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/doctrine_migrations

Unnecessary empty methods (getDescription(), up(), down()) and comments MUST BE removed from Doctrine migrations

Available options

Configuration examples

OR using my rule list builder.

Fixes

Configuration examples

OR using my rule list builder.

Fixes

PedroTroller/phpspec

Phpspec scenario functions MUST NOT have a return type declaration.

Phpspec scenario functions MUST NOT have a scope.

The methods of the phpspec specification classes MUST BE sorted (let, letGo, its*, it*, getMatchers and the rest of the methods)

Lambda functions MUST NOT have a static scope.

Available options

Configuration examples

OR using my rule list builder.

Fixes

Configuration examples

OR using my rule list builder.

Fixes

Contributions

Before to create a pull request to submit your contributon, you must:

How to run tests

How to rebuild the documentation


All versions of php-cs-custom-fixer with dependencies

PHP Build Version
Package Version
Requires php Version ^8.1
friendsofphp/php-cs-fixer Version >=3.59.3
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package pedrotroller/php-cs-custom-fixer contains the following files

Loading the files please wait ....