diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 8354981..e000230 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -4,7 +4,7 @@ ### PHPUnit Testing -***This is currently a work in progress. Not all unit tests are complete or working as intended.*** +***This is currently a work in progress.*** `cd /Path/To/CodeIgniter4-Standard` @@ -14,28 +14,16 @@ Verify PHP_Codesniffer works. -`./vendor/squizlabs/php_codesniffer/bin/phpcs -i` +`./vendor/bin/phpcs -i` Set installed standard to CodeIgniter4. -`./vendor/squizlabs/php_codesniffer/bin/phpcs --config-set installed_paths /Path/To/CodeIgniter4-Standard/CodeIgniter4` +`./vendor/bin/phpcs --config-set installed_paths /Path/To/CodeIgniter4-Standard/CodeIgniter4` Verify the CodeIgniter4 standard is installed. -`./vendor/squizlabs/php_codesniffer/bin/phpcs -i` - -Change directory to 'php_codesniffer'. - -`cd ./vendor/squizlabs/php_codesniffer/` - -Install PHP_Codesniffer dependencies (PHPUnit). - -`composer install` - -Change directory back to 'CodeIgniter4-Standard'. - -`cd ../../../` +`./vendor/bin/phpcs -i` Run unit tests. -`./vendor/squizlabs/php_codesniffer/vendor/bin/phpunit --debug --filter CodeIgniter4 ./vendor/squizlabs/php_codesniffer/tests/AllTests.php` \ No newline at end of file +`./vendor/bin/phpunit --debug --filter CodeIgniter4` \ No newline at end of file diff --git a/CodeIgniter4/ruleset.xml b/CodeIgniter4/ruleset.xml index 58d85de..aa277b4 100644 --- a/CodeIgniter4/ruleset.xml +++ b/CodeIgniter4/ruleset.xml @@ -7,7 +7,7 @@ * @author Louis Linehan * @copyright 2017 Louis Linehan * @license https://github.com/louisl/CodeIgniter4-Standard/blob/master/LICENSE MIT License - * @version Version 1.0.0-beta0011 + * @version Version 1.0.0-beta0012 -->