HomeDevCentral

Configure PHPUnit and PHP_CodeSniffer

Description

Configure PHPUnit and PHP_CodeSniffer

Summary:
Quality tools like phpunit and phpcs can run across all the repository
testing and linting all libraries at once.

Some configuration files will be dynamic and grow when we add more
libraries to the repository.

As such, maintain a small collection of metadata on the libraries
allows to create templates.

Templates use Jinja2 and are rendered by a small Python script.

Each time a library is added to the repository, make regenerate
allows to create those files. Autogenerated files are stable enough
to be included in the repository too.

Ref T1680

Test Plan: make regenerate, then phpunit and phpcs

Reviewers: dereckson

Reviewed By: dereckson

Maniphest Tasks: T1680

Differential Revision: https://devcentral.nasqueron.org/D2544

Details

Provenance
derecksonAuthored on Feb 21 2022, 02:47
derecksonPushed on Feb 21 2022, 23:11
Reviewer
dereckson
Differential Revision
D2544: Configure PHPUnit and PHP_CodeSniffer
Parents
rKERUALDed0128850549: Allow to setup the reository remotes
Branches
Unknown
Tags
Unknown
Tasks
T1680: Consider to create a monorepo for Keruald