Title: \PatternLab\Config::setOption() won't set to a falsey value · Issue #172 · pattern-lab/patternlab-php-core · GitHub
Open Graph Title: \PatternLab\Config::setOption() won't set to a falsey value · Issue #172 · pattern-lab/patternlab-php-core
X Title: \PatternLab\Config::setOption() won't set to a falsey value · Issue #172 · pattern-lab/patternlab-php-core
Description: Hi, Thanks for this fantastic product!! I'm new to PL and in writing a listener plugin I wanted to create a test that could update a configuration option to false. It doesn't work because at the start of \PatternLab\Config::setOption() t...
Open Graph Description: Hi, Thanks for this fantastic product!! I'm new to PL and in writing a listener plugin I wanted to create a test that could update a configuration option to false. It doesn't work because at the st...
X Description: Hi, Thanks for this fantastic product!! I'm new to PL and in writing a listener plugin I wanted to create a test that could update a configuration option to false. It doesn't work because a...
Opengraph URL: https://github.com/pattern-lab/patternlab-php-core/issues/172
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"\\PatternLab\\Config::setOption() won't set to a falsey value","articleBody":"Hi,\r\n\r\nThanks for this fantastic product!!\r\n\r\nI'm new to PL and in writing a listener plugin I wanted to create a test that could update a configuration option to `false`. It doesn't work because at the start of `\\PatternLab\\Config::setOption()` there's this:\r\n\r\nhttps://github.com/pattern-lab/patternlab-php-core/blob/009399c5cb175f1d5a1fafc7b07abc1f2d13a0a3/src/PatternLab/Config.php#L276-L278\r\n\r\nAlso `\\PatternLab\\Config::updateOption()` just passes through to `::setOption()`.\r\n\r\nIt's quite an explicit check, so I guess it is/was there for a reason, but I'm not sure what that might be (:\r\n\r\nIs that a bug? Am I doing things wrong?!\r\n\r\nTIA","author":{"url":"https://github.com/andriokha","@type":"Person","name":"andriokha"},"datePublished":"2019-03-09T22:37:26Z","url":"https://github.com/pattern-lab/patternlab-php-core/issues/172"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:2a8e9d88-27e3-9ee3-1991-e41b5281693a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DF84:2A0045:303D636:3FBC0CF:6B002B14 |
| html-safe-nonce | 375f501a14f6a54ce69db69e6f45d3517ac0647372dae4dddcbbe07e670a7a2b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjg0OjJBMDA0NTozMDNENjM2OjNGQkMwQ0Y6NkIwMDJCMTQiLCJ2aXNpdG9yX2lkIjoiODcyNTEyMTYyMjg5OTQzNjMwOCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 295cd8a3b21472ad1c08e244987b593893691491b6dc74775c0b669911526438 |
| hovercard-subject-tag | issue:419123140 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/pattern-lab/patternlab-php-core/172/issue_layout |
| twitter:image | https://opengraph.githubassets.com/7fca70ba0ca43776bcd9534bca5b68592aef6d5b848a2f1114de06dd430470e9/pattern-lab/patternlab-php-core/issues/172 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/7fca70ba0ca43776bcd9534bca5b68592aef6d5b848a2f1114de06dd430470e9/pattern-lab/patternlab-php-core/issues/172 |
| og:image:alt | Hi, Thanks for this fantastic product!! I'm new to PL and in writing a listener plugin I wanted to create a test that could update a configuration option to false. It doesn't work because at the st... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | andriokha |
| hostname | github.com |
| expected-hostname | github.com |
| None | 7d0829bbde9e48b2486cb5dd6d147896eb01d32134627091f818958a935ef3f0 |
| turbo-cache-control | no-preview |
| go-import | github.com/pattern-lab/patternlab-php-core git https://github.com/pattern-lab/patternlab-php-core.git |
| octolytics-dimension-user_id | 4733935 |
| octolytics-dimension-user_login | pattern-lab |
| octolytics-dimension-repository_id | 21992205 |
| octolytics-dimension-repository_nwo | pattern-lab/patternlab-php-core |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 21992205 |
| octolytics-dimension-repository_network_root_nwo | pattern-lab/patternlab-php-core |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | f3f3a43ca095cdea3abbb394112e971f9fdb94fa |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width