Tomasz Kowalczyk

Results 14 comments of Tomasz Kowalczyk

@rhukster `getBaseOffset()` was introduced in changesets https://github.com/thunderer/Shortcode/compare/c87b3e97714dcf98ae9ae7a5a26af883b534e2a4...9f74c82d723529b0f2e3de7f7d22512efe5f6fe1 . Also you may be interested in new `ShortcodeFacade` (with README update) PR that was merged today. That should sum up all the...

@dimayakovlev can you show me some use cases for this? Isn't casting to boolean sufficient? ```php $value = (bool)$s->getParameter('name'); ```

@dimayakovlev Thanks, but in this case, I would rather prefer that you call `filter_var()` in your own shortcode handler. This leaves you in control and does not introduce unnecessary optional...

@jenstornell I already had that discussion back when I released first versions, you can read [my answer here](https://www.reddit.com/r/PHP/comments/33m21z/regexbased_shortcode_bbcode_engine/cqm90nt). The `ShortcodeFacade` class is already a compromise that provides sane defaults and...