Skip to content

Latest commit

 

History

History
9 lines (6 loc) · 640 Bytes

README.md

File metadata and controls

9 lines (6 loc) · 640 Bytes

multi-root-example

The purpose of this project is for testing the Php Sniffer & Beautifier extension in a multi-root workspace. Each root dir has a different setup and .phpcs.xml files to show that the extension will use the correct .phpcs.xml file for each project in a multi-root workspace.

Examples

  • Root 1: Composer.json and .phpcs.xml(PSR-2) in the root dir.
  • Root 2: Composer.json and .phpcs.xml(PEAR) in the root dir and a .phpcs.xml(PSR-2) in the leaf dir.
  • Root 3: No composer.json and .phpcs.xml(PSR-2) in the root dir. Needs global install of phpcs and phpcbf.