Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cleanup: move to correct phpunit assertions #111

Merged
merged 32 commits into from
Dec 30, 2016
Merged
Show file tree
Hide file tree
Changes from 4 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
586af72
Replacing `assertEquals()` + `count()` with `assertCount()`
Ocramius Dec 30, 2016
a7619f0
Replacing `assertEquals()` + `sizeof()` with `assertCount()`
Ocramius Dec 30, 2016
38f40df
Using `::class` where applicable
Ocramius Dec 30, 2016
19a8aa0
Declaring access modifiers
Ocramius Dec 30, 2016
4355e99
Using single quotes where applicable, since we don't rely on interpol…
Ocramius Dec 30, 2016
6e56e66
Importing used classes
Ocramius Dec 30, 2016
029a9de
Removing unnecessary parentheses
Ocramius Dec 30, 2016
60a4073
Using `::class` where applicable
Ocramius Dec 30, 2016
d227309
Using explicit type casts rather than cast functions
Ocramius Dec 30, 2016
ae1b38d
Using `assertArrayNotHasKey` rather than manual `isset()` checking
Ocramius Dec 30, 2016
cc34239
Using `assertInstanceOf` rather than manual `instanceof` checking
Ocramius Dec 30, 2016
18ec721
Removing unsafe `uniqid()` usage
Ocramius Dec 30, 2016
eda8125
Removing non-absolute path include
Ocramius Dec 30, 2016
0d291dd
Typo fix in class name s/contructor/constructor
Ocramius Dec 30, 2016
452c37d
Typo fix s/inteface/interface
Ocramius Dec 30, 2016
33bbb86
Documenting possible mock types
Ocramius Dec 30, 2016
7321a5b
Correcting documented parameter type
Ocramius Dec 30, 2016
b13ba62
Removing double quotes (loads of weird escape sequences otherwise)
Ocramius Dec 30, 2016
f982d4f
Corrected iterations count comparison
Ocramius Dec 30, 2016
2f98446
Corrected namespacing of some docblock variable declarations
Ocramius Dec 30, 2016
247b875
Adding hinting about retrieved annotation type
Ocramius Dec 30, 2016
c79e397
Removed possible undefined variable failure
Ocramius Dec 30, 2016
41ec043
Better error matching via `assertStringMatchesFormat()`
Ocramius Dec 30, 2016
c1a3e60
Removed unused imports
Ocramius Dec 30, 2016
0d192a2
Removed unused variables
Ocramius Dec 30, 2016
1df6eba
Documenting possible mock types
Ocramius Dec 30, 2016
bd26dd1
Replacing useless FQCN
Ocramius Dec 30, 2016
19ea978
Replacing manual `is_array` checks with `assertInternalType('array', …
Ocramius Dec 30, 2016
2f32c47
s/$this->assert/self::assert
Ocramius Dec 30, 2016
2c0e84e
EOF EOL
Ocramius Dec 30, 2016
0393c9c
EOF EOL
Ocramius Dec 30, 2016
38bff01
CS (spacing)
Ocramius Dec 30, 2016
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
Loading