-
Notifications
You must be signed in to change notification settings - Fork 23
Commit 9e024d4
CS/QA: Tests: add PSR-4 compliant namespace declarations
Includes:
* Renaming the files to reflect the name of the class therein and to use the `php` instead of `phpt` file extension.
* Updating the `autoload-dev` directive in the `composer.json` file.
* Updating the exclusions in the PHPCS config.
Note: using PSR-4 compliant `*Test,php` filenames will (temporarily) silently break the running of the tests for PHP 5.3-5.5 as Nette Tester 1.x can't find the tests anymore.
We can ignore this for now as this will be fixed in one of the next PRs where the tests will switch over to the PHPUnit testing framework.1 parent 134396d commit 9e024d4
File tree
8 files changed
+20
-8
lines changed- tests
8 files changed
+20
-8
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
37 | 37 |
| |
38 | 38 |
| |
39 | 39 |
| |
40 | - | ||
41 | - | ||
42 | - | ||
40 | + | ||
41 | + | ||
42 | + | ||
43 | 43 |
| |
44 | 44 |
| |
45 | 45 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
85 | 85 |
| |
86 | 86 |
| |
87 | 87 |
| |
88 | - | ||
89 | - | ||
90 | - | ||
91 | - | ||
88 | + | ||
92 | 89 |
| |
93 | 90 |
| |
94 | - | ||
91 | + | ||
92 | + | ||
93 | + | ||
94 | + | ||
95 | 95 |
| |
96 | 96 |
| |
97 | 97 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
|
Lines changed: 2 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
4 | 4 |
| |
5 | 5 |
| |
6 | 6 |
| |
7 | + | ||
8 | + | ||
7 | 9 |
| |
8 | 10 |
| |
9 | 11 |
| |
|
0 commit comments