Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 679 Bytes

CONTRIBUTING.md

File metadata and controls

20 lines (13 loc) · 679 Bytes

Contributing

Dev environment setup

  1. Install and enable PDO driver for one or more of MySQL, PostgreSQL, or SQL Server.
  2. Install dependencies: composer install

Tests

From a console in the working directory, execute composer test to run all unit tests.

Note

By default, database tests will attempt to run on a database named PeachySQL. To override connection settings, create a test/config.php file which returns an instance of Config with the desired property values.

Formatting and static analysis

  • Run composer cs-fix to format code following PER Coding Style.
  • Run composer analyze to detect type-related errors before runtime.