This repository was archived by the owner on Nov 5, 2022. It is now read-only.
File tree Expand file tree Collapse file tree 5 files changed +24
-36
lines changed Expand file tree Collapse file tree 5 files changed +24
-36
lines changed Original file line number Diff line number Diff line change 4
4
5
5
### PHPUnit Testing
6
6
7
- *** This is currently a work in progress. Not all unit tests are complete or working as intended. ***
7
+ *** This is currently a work in progress.***
8
8
9
9
` cd /Path/To/CodeIgniter4-Standard `
10
10
14
14
15
15
Verify PHP_Codesniffer works.
16
16
17
- ` ./vendor/squizlabs/php_codesniffer/ bin/phpcs -i `
17
+ ` ./vendor/bin/phpcs -i `
18
18
19
19
Set installed standard to CodeIgniter4.
20
20
21
- ` ./vendor/squizlabs/php_codesniffer/ bin/phpcs --config-set installed_paths /Path/To/CodeIgniter4-Standard/CodeIgniter4 `
21
+ ` ./vendor/bin/phpcs --config-set installed_paths /Path/To/CodeIgniter4-Standard/CodeIgniter4 `
22
22
23
23
Verify the CodeIgniter4 standard is installed.
24
24
25
- ` ./vendor/squizlabs/php_codesniffer/bin/phpcs -i `
26
-
27
- Change directory to 'php_codesniffer'.
28
-
29
- ` cd ./vendor/squizlabs/php_codesniffer/ `
30
-
31
- Install PHP_Codesniffer dependencies (PHPUnit).
32
-
33
- ` composer install `
34
-
35
- Change directory back to 'CodeIgniter4-Standard'.
36
-
37
- ` cd ../../../ `
25
+ ` ./vendor/bin/phpcs -i `
38
26
39
27
Run unit tests.
40
28
41
- ` ./vendor/squizlabs/php_codesniffer/vendor/ bin/phpunit --debug --filter CodeIgniter4 ./vendor/squizlabs/php_codesniffer/tests/AllTests.php `
29
+ ` ./vendor/bin/phpunit --debug --filter CodeIgniter4 `
Original file line number Diff line number Diff line change 7
7
* @author Louis Linehan <[email protected] >
8
8
* @copyright 2017 Louis Linehan
9
9
* @license https://github.com/louisl/CodeIgniter4-Standard/blob/master/LICENSE MIT License
10
- * @version Version 1.0.0-beta0011
10
+ * @version Version 1.0.0-beta0012
11
11
-->
12
12
<!--
13
13
Files MUST have a doc block comment.
Original file line number Diff line number Diff line change 2
2
3
3
[ CodeIgniter] ( https://codeigniter.com ) 4 coding standard for use with [ PHP_CodeSniffer 3] ( https://github.com/squizlabs/PHP_CodeSniffer ) .
4
4
5
- Version 1.0.0-beta0011
5
+ Version 1.0.0-beta0012
6
6
7
7
| Master | Develop |
8
8
| :---: | :---: |
@@ -15,9 +15,9 @@ Version 1.0.0-beta0011
15
15
16
16
## Requirements
17
17
18
- [ PHP_CodeSniffer 3] ( https://github.com/squizlabs/PHP_CodeSniffer ) . (3.0.2 or greater).
18
+ [ PHP_CodeSniffer 3] ( https://github.com/squizlabs/PHP_CodeSniffer ) . (3.1.1 or greater).
19
19
20
- PHP (5.4.0 or greater) with mbstring extension.
20
+ PHP (7.1 or greater) with mbstring extension.
21
21
22
22
## Install
23
23
@@ -34,7 +34,7 @@ Set the `phpcs standard path` and `phpcbf standard path` in your editor/plugin c
34
34
35
35
### Download install
36
36
37
- Download [ CodeIgniter4-Standard] ( https://github.com/louisl/CodeIgniter4-Standard/archive/v1.0.0-beta0011 .zip ) .
37
+ Download [ CodeIgniter4-Standard] ( https://github.com/louisl/CodeIgniter4-Standard/archive/v1.0.0-beta0012 .zip ) .
38
38
39
39
Set ` standard ` paths to your local filesystem:
40
40
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " louisl/codeigniter4-standard" ,
3
3
"description" : " CodeIgniter 4 Standard for PHP_CodeSniffer 3." ,
4
- "version" :" 1.0.0-beta0011 " ,
4
+ "version" :" 1.0.0-beta0012 " ,
5
5
"license" :" MIT" ,
6
6
"authors" : [
7
7
{
You can’t perform that action at this time.
0 commit comments