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

Bumped version to 1.0.0-beta001 and updated docs #14

Merged
merged 1 commit into from
Dec 10, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 5 additions & 17 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand All @@ -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`
`./vendor/bin/phpunit --debug --filter CodeIgniter4`
2 changes: 1 addition & 1 deletion CodeIgniter4/ruleset.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
* @author Louis Linehan <[email protected]>
* @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
-->
<!--
Files MUST have a doc block comment.
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

[CodeIgniter](https://codeigniter.com) 4 coding standard for use with [PHP_CodeSniffer 3](https://github.com/squizlabs/PHP_CodeSniffer).

Version 1.0.0-beta0011
Version 1.0.0-beta0012

| Master | Develop |
| :---: | :---: |
Expand All @@ -15,9 +15,9 @@ Version 1.0.0-beta0011

## Requirements

[PHP_CodeSniffer 3](https://github.com/squizlabs/PHP_CodeSniffer). (3.0.2 or greater).
[PHP_CodeSniffer 3](https://github.com/squizlabs/PHP_CodeSniffer). (3.1.1 or greater).

PHP (5.4.0 or greater) with mbstring extension.
PHP (7.1 or greater) with mbstring extension.

## Install

Expand All @@ -34,7 +34,7 @@ Set the `phpcs standard path` and `phpcbf standard path` in your editor/plugin c

### Download install

Download [CodeIgniter4-Standard](https://github.com/louisl/CodeIgniter4-Standard/archive/v1.0.0-beta0011.zip).
Download [CodeIgniter4-Standard](https://github.com/louisl/CodeIgniter4-Standard/archive/v1.0.0-beta0012.zip).

Set `standard ` paths to your local filesystem:

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "louisl/codeigniter4-standard",
"description": "CodeIgniter 4 Standard for PHP_CodeSniffer 3.",
"version":"1.0.0-beta0011",
"version":"1.0.0-beta0012",
"license":"MIT",
"authors": [
{
Expand Down
26 changes: 13 additions & 13 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.