As title, when using the composer check-style for PHP classes on `tests folder, it will present following errors:
.......
FILE: /data/hash/tests/Md5sumTest.php
--------------------------------------------------------------------------------
FOUND 10 ERRORS AND 1 WARNING AFFECTING 11 LINES
--------------------------------------------------------------------------------
25 | ERROR | Method name "HashTest::it_can_validate_a_validate_manifest" is
| | not in camel caps format
33 | ERROR | Method name
| | "HashTest::it_can_validate_a_validate_sh1_manifest" is not in
| | camel caps format
43 | ERROR | Method name
| | "HashTest::it_can_validate_a_validate_manifest_binary" is not
| | in camel caps format
.......
IMHO, we should consider changing into method name to follow camel-case style.
For example, it can change into: itCanCreateManifestFlat or testCanCreateManifestFlat and remove /** @test */ comment annotation.
@ottosmops, do you have any idea about this?
Once this issue is accepted, I think I can work on this :).
As title, when using the
composer check-style
for PHP classes on `tests folder, it will present following errors:IMHO, we should consider changing into method name to follow camel-case style.
For example, it can change into:
itCanCreateManifestFlat
ortestCanCreateManifestFlat
and remove/** @test */
comment annotation.@ottosmops, do you have any idea about this?
Once this issue is accepted, I think I can work on this :).