Skip to content

[TASK] Add some basic tests for CSSString #999

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

Merged
merged 1 commit into from
Feb 26, 2025
Merged

Conversation

oliverklee
Copy link
Collaborator

Part of #757

@coveralls
Copy link

Coverage Status

coverage: 54.416% (+0.2%) from 54.259%
when pulling 74dd42d on task/tests/basics/cssstring
into 4384bbe on main.

*/
public function getStringReturnsStringProvidedToConstructor(): void
{
$string = 'coffee';
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:)

Comment on lines +417 to +422
-
message: '#^Parameters should have "string" types as the only types passed to this method$#'
identifier: typePerfect.narrowPublicClassMethodParamType
count: 1
path: ../src/Value/CSSString.php

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm guessing this has arisen since we now have a caller (in the TestCase).

@JakeQZ JakeQZ merged commit 577b99a into main Feb 26, 2025
21 checks passed
@JakeQZ JakeQZ deleted the task/tests/basics/cssstring branch February 26, 2025 00:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants