-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Simplification of the HTML class name in Tag\Cloud\Decorator\HtmlCloud #4822
Simplification of the HTML class name in Tag\Cloud\Decorator\HtmlCloud #4822
Conversation
…lCloud Changed from "Zend\Tag\Cloud" to "zend-tag-cloud"
@froschdesign There is no a hard limit with 80 characters width. |
@Maks3w
and
Did I miss something? |
That are not hard limits, just recomendations. There is no plan for change all the lines of the framework to match that recomendations. Actually in zf2 only the recommendation apply to new/modified lines |
I do not want to change all the lines of the framework! Only the files which I have modified. |
); | ||
$this->assertTrue( | ||
$cloud->getCloudDecorator() instanceof TestAsset\CloudDummy | ||
); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use assertInstanceOf()
here.
Simplification of the HTML class name in Tag\Cloud\Decorator\HtmlCloud
- If we're going to make readability changes, let's make them consistent with the rest of the framework: - array arguments should all have commas following each entry - array arguments as sole argument of a method can open on same line as call; indentation then adjusts one level less - Use `assertInstanceOf` throughout, instead of `assertTrue($a instanceof $b)` - While the `setExpectedException()` lines get a little long, they're not unreadable; breaking them into multiple lines makes intent less clear.
…/hotfix/zend-tag-cloud Simplification of the HTML class name in Tag\Cloud\Decorator\HtmlCloud
- If we're going to make readability changes, let's make them consistent with the rest of the framework: - array arguments should all have commas following each entry - array arguments as sole argument of a method can open on same line as call; indentation then adjusts one level less - Use `assertInstanceOf` throughout, instead of `assertTrue($a instanceof $b)` - While the `setExpectedException()` lines get a little long, they're not unreadable; breaking them into multiple lines makes intent less clear.
Changed from "
Zend\Tag\Cloud
" to "zend-tag-cloud"