Skip to content
This repository has been archived by the owner on Nov 5, 2022. It is now read-only.

Latest commit

 

History

History
29 lines (15 loc) · 542 Bytes

CONTRIBUTING.md

File metadata and controls

29 lines (15 loc) · 542 Bytes

CodeIgniter4-Standard

Contributing

PHPUnit Testing

This is currently a work in progress.

cd /Path/To/CodeIgniter4-Standard

Install dependencies (PHP_Codesniffer).

composer install

Verify PHP_Codesniffer works.

./vendor/bin/phpcs -i

Set installed standard to CodeIgniter4.

./vendor/bin/phpcs --config-set installed_paths /Path/To/CodeIgniter4-Standard/CodeIgniter4

Verify the CodeIgniter4 standard is installed.

./vendor/bin/phpcs -i

Run unit tests.

./vendor/bin/phpunit --debug --filter CodeIgniter4