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 44
55### PHPUnit Testing
66
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.***
88
99` cd /Path/To/CodeIgniter4-Standard `
1010
1414
1515Verify PHP_Codesniffer works.
1616
17- ` ./vendor/squizlabs/php_codesniffer/ bin/phpcs -i `
17+ ` ./vendor/bin/phpcs -i `
1818
1919Set installed standard to CodeIgniter4.
2020
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 `
2222
2323Verify the CodeIgniter4 standard is installed.
2424
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 `
3826
3927Run unit tests.
4028
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 77 * @author Louis Linehan <louis.linehan@gmail.com>
88 * @copyright 2017 Louis Linehan
99 * @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
1111 -->
1212 <!--
1313 Files MUST have a doc block comment.
Original file line number Diff line number Diff line change 22
33[ CodeIgniter] ( https://codeigniter.com ) 4 coding standard for use with [ PHP_CodeSniffer 3] ( https://github.com/squizlabs/PHP_CodeSniffer ) .
44
5- Version 1.0.0-beta0011
5+ Version 1.0.0-beta0012
66
77| Master | Develop |
88| :---: | :---: |
@@ -15,9 +15,9 @@ Version 1.0.0-beta0011
1515
1616## Requirements
1717
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).
1919
20- PHP (5.4.0 or greater) with mbstring extension.
20+ PHP (7.1 or greater) with mbstring extension.
2121
2222## Install
2323
@@ -34,7 +34,7 @@ Set the `phpcs standard path` and `phpcbf standard path` in your editor/plugin c
3434
3535### Download install
3636
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 ) .
3838
3939Set ` standard ` paths to your local filesystem:
4040
Original file line number Diff line number Diff line change 11{
22 "name" : " louisl/codeigniter4-standard" ,
33 "description" : " CodeIgniter 4 Standard for PHP_CodeSniffer 3." ,
4- "version" :" 1.0.0-beta0011 " ,
4+ "version" :" 1.0.0-beta0012 " ,
55 "license" :" MIT" ,
66 "authors" : [
77 {
You can’t perform that action at this time.
0 commit comments