• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

MyIntervals / emogrifier
98%

Build:
DEFAULT BRANCH: main
Repo Added 23 Aug 2024 09:31AM UTC
Files 15
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH main
branch: main
CHANGE BRANCH
x
Reset
  • main
  • bugfix/accessible
  • bugfix/content-type-1
  • bugfix/deep-html-xdebug
  • bugfix/gh-token
  • bugfix/long-line
  • bugfix/no-build-for-rector
  • bugfix/phar-gpg-keys
  • bugfix/phpstan-1
  • bugfix/render-exception
  • bugfix/single-char-prop
  • bugfix/testname-type
  • bugfix/to-string-1
  • changelog/1500
  • cleanup/annotations-2
  • cleanup/annotations-3
  • cleanup/annotations-4
  • cleanup/array-map-keys
  • cleanup/arrays-1
  • cleanup/arrays-2
  • cleanup/assertcss
  • cleanup/assertion-1
  • cleanup/autoformat
  • cleanup/backticks
  • cleanup/cache-type-annotation
  • cleanup/comment
  • cleanup/constants-annotations
  • cleanup/css-concatenator
  • cleanup/css-constraint
  • cleanup/css-inliner
  • cleanup/data-provider-unused
  • cleanup/declaration-block-parser
  • cleanup/double-assigment
  • cleanup/drop-redundant-annotations-1
  • cleanup/drop-redundant-annotations-2
  • cleanup/drop-redundant-annotations-4
  • cleanup/drop-redundant-annotations-5
  • cleanup/drop-redundant-annotations-6
  • cleanup/drop-redundant-checks
  • cleanup/drop-redundant-type-annotation
  • cleanup/drop-setter
  • cleanup/gpg-keys
  • cleanup/guard-clause-1
  • cleanup/html-pruner
  • cleanup/htmlpruner
  • cleanup/is-equivalent-css
  • cleanup/no-default-values
  • cleanup/non-empty-string
  • cleanup/non-nullable-dom-document
  • cleanup/nullable-annotations
  • cleanup/phpstan-ignore
  • cleanup/phpstan-warning/1
  • cleanup/phpstan-warnings
  • cleanup/preg-replace-callback
  • cleanup/preg/css-inliner
  • cleanup/preg/css-variable-evaluator
  • cleanup/preg/declaration-block-parser
  • cleanup/preg_callback
  • cleanup/rector-config
  • cleanup/redundant-type-annotations
  • cleanup/redundant-types
  • cleanup/reformat
  • cleanup/rename-dp
  • cleanup/safe/css-constraint
  • cleanup/safe/css-constraint-1
  • cleanup/safe/is-equivalent-css
  • cleanup/safe/string-contains-css
  • cleanup/safe/string-contains-css-count
  • cleanup/safe/tests
  • cleanup/specific-return-types-in-tests
  • cleanup/string-contains-css
  • cleanup/string-css-count
  • cleanup/subject-typing
  • cleanup/tools-config
  • cleanup/type-annotation
  • cleanup/type-annotations
  • cleanup/types/ArrayIntersectorTest
  • cleanup/types/AssertCssTest
  • cleanup/types/CssConcatenatorTest
  • cleanup/types/CssInlinerTest
  • cleanup/types/IsEquivalentCssTest
  • cleanup/types/StringContainsCssCountTest
  • cleanup/types/StringContainsCssTest
  • cleanup/types/abtract-html-processor-test
  • cleanup/types/css-data-providers
  • cleanup/types/css-document-test
  • cleanup/types/css-to-attribute-converter-test
  • cleanup/types/cssconstraint-test
  • cleanup/types/htmlprunertest
  • cleanup/types/isequivalentcsstest
  • cleanup/types/simple-string-cache-test
  • cleanup/types/style-rule-test
  • cleanup/types/test-string-constraint
  • cleanup/types/utilities
  • composercleaner
  • custom-properties-with-numbers
  • demo/data-provider
  • dependabot/composer/phpunit/phpunit-9.6.23
  • dependabot/composer/phpunit/phpunit-9.6.24
  • dependabot/composer/phpunit/phpunit-9.6.25
  • dependabot/composer/phpunit/phpunit-9.6.26
  • dependabot/composer/phpunit/phpunit-9.6.27
  • dependabot/composer/phpunit/phpunit-9.6.28
  • dependabot/composer/phpunit/phpunit-9.6.29
  • dependabot/composer/phpunit/phpunit-9.6.30
  • dependabot/composer/phpunit/phpunit-9.6.31
  • dependabot/composer/phpunit/phpunit-9.6.32
  • dependabot/composer/phpunit/phpunit-9.6.34
  • dependabot/composer/rawr/phpunit-data-provider-3.3.1
  • dependabot/github_actions/actions/cache-5
  • dependabot/github_actions/actions/checkout-5
  • dependabot/github_actions/actions/checkout-6
  • dev/create-release
  • developer/disallow-heredoc
  • docs/changelog-typo
  • docs/coc-email
  • docs/rework-rebase
  • docs/tags
  • feature/clear-phpstan-cache
  • feature/codesniffer
  • feature/symfony-74-80
  • feature/type-perfect
  • fix/clear-static-caches-in-clearAllCaches
  • fixer
  • followup/gitattributes
  • phpmmd
  • rectherce
  • refactor/ruleblock
  • sniffsniff
  • stanthemen
  • task/activate-test
  • task/allow-assert-instanceof
  • task/allow-instanceof-in-tests
  • task/array_map-1
  • task/assert-domdocument
  • task/assert-over-throw-2
  • task/assert-preg-matches
  • task/changelog-1567
  • task/check-build
  • task/ci-xdebug
  • task/ci/codesniffer
  • task/configure-phpstan-php-version
  • task/content-type-matcher-performance
  • task/contributing-git
  • task/cross-1
  • task/cross-2
  • task/cross-3
  • task/cssconcatenator-renames
  • task/cssconcatenator-type
  • task/csstoattributeconverter-unneeded-var
  • task/dataprovider-5
  • task/dataprovider-6
  • task/declarationblockparser-static
  • task/deprecate-older-php
  • task/deprecation-phpstan
  • task/dev-deps
  • task/dev-tools
  • task/drop-dependency
  • task/drop-phpmd
  • task/drop-preg
  • task/drop-test-action
  • task/drop-testcase
  • task/drop-throw/3
  • task/drop-throw/4
  • task/getcssfromallstylenodes-check
  • task/getpropertyvaluereplacement-types
  • task/htmlprocessor-constructor-final
  • task/migrate-deprecated
  • task/move-phpmd
  • task/move-phpstan-config
  • task/no-certain-phpdoc
  • task/parser-920
  • task/parser-93
  • task/parser-dep
  • task/pcre-callback-methods
  • task/per-3
  • task/phpstan-10
  • task/phpstan-warning/2
  • task/preg/abstract-html-processor
  • task/preg/css-document
  • task/preg/css-to-attribute-converter
  • task/preg/html-pruner
  • task/pregsplit-stan
  • task/release
  • task/release-820
  • task/release-instructions
  • task/rename-composer-scripts
  • task/rename-get-declarations-as-text
  • task/require-parser-880
  • task/require-parser-89
  • task/require-parser-9
  • task/ruleset-constructor
  • task/ruleset-selector-api
  • task/ruleset-types
  • task/rulesetlist
  • task/safe-1
  • task/safe-phpstan
  • task/safe/abstract-html-processor-test
  • task/safe/css-document-test
  • task/safe/css-inliner
  • task/safe/css-inliner-test
  • task/safe/html-pruner-test
  • task/type-perfect-rules
  • task/update-dev-deps
  • task/update-dev-tools
  • task/update-fixer-configuration
  • task/update-phpstan-rector
  • task/update-rector-phpstan
  • task/update-safe
  • test/autoloading-bugfix
  • test/deep-nested-html
  • test/nested-var-eval
  • test/php-85
  • test/very-large-meta
  • tests/allow-combinator-spaces
  • tools

24 May 2026 07:59AM UTC coverage: 98.282% (+0.03%) from 98.252%
26355772278

push

github

web-flow
[TASK] Add PHPStan extension to allow assertions (#1624)

Suppress warnings for `assert()`s that, according to the DocBlock,
can never fail, but in reality could, due to programmer error,
since the DocBlock types are not enforced by PHP.

This allows us to retain `treatPhpDocTypesAsCertain:true` for stricter static
analysis, whilst also using assertions for runtime checks in a development
environment, without cluttering up the code with `@phpstan-ignore` comments.

This change reverts and replaces #1622.

15 of 15 new or added lines in 1 file covered. (100.0%)

858 of 873 relevant lines covered (98.28%)

255.7 hits per line

Relevant lines Covered
Build:
Build:
873 RELEVANT LINES 858 COVERED LINES
255.7 HITS PER LINE
Source Files on main
  • Tree
  • List 15
  • Changed 1
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
26355772278 main [TASK] Add PHPStan extension to allow assertions (#1624) Suppress warnings for `assert()`s that, according to the DocBlock, can never fail, but in reality could, due to programmer error, since the DocBlock types are not enforced by PHP. This all... push 24 May 2026 08:00AM UTC web-flow github
98.28
26148560313 main [BUGFIX] Use `@phpstan-ignore` not `@phpstan-ignore-next-line` (#1628) `@phpstan-ignore` has the parameter which is the specific warning to ignore. `@phpstan-ignore-next-line` does not, and will result in suppression of all warnings for the next ... push 20 May 2026 07:40AM UTC web-flow github
98.25
25965408120 main [BUGFIX] Do not process `Build/` with Rector (#1627) There is no meaningful code in `Build/` for Rector to process. Also, Rector changing its own configuration may lead to strang Inception-like effects. push 16 May 2026 03:15PM UTC web-flow github
98.25
25965356512 main [TASK] Switch to PER coding style 3.0 (#1626) https://www.php-fig.org/per/coding-style/ push 16 May 2026 03:12PM UTC web-flow github
98.25
25847594205 main [TASK] `assert()` that `HtmlProcessor::domDocument` is initialized (#1623) Following #1622, we can add the `assert()`s that were considered for #1621. These will help quickly pinpoint mistakes during development, and have no significant impact o... push 14 May 2026 07:24AM UTC web-flow github
98.25
25811232653 main [CLEANUP] Rely on PHP to detect access to uninitialized properties (#1620) In our code, the exception that indicated that the property was accessed before initialization is never thrown. So we can simplify our code by removing the check (and the... push 13 May 2026 04:09PM UTC web-flow github
98.25
25808833414 main [TASK] Do not treat PHPDoc type information as certain (#1622) This is a library. This means that we have no control over how other software calls our methods, and whether they adher to the types required via `@param` annotations. Hence, we shou... push 13 May 2026 03:25PM UTC web-flow github
97.67
25507036559 main [CLEANUP] Make `AbstractHtmlProcessor::domDocument` private (#1621) Also make it non-nullable as it will never be read before initialization. Access to the property already is guarded by the `getDomDocument()` accessor, which we'll need to keep ... push 07 May 2026 03:58PM UTC web-flow github
97.67
25022097748 main [CLEANUP] Autoformat the code (#1619) This avoids unrelated changes when someone changes the code and then autoformats it with PhpStorm. push 27 Apr 2026 10:06PM UTC web-flow github
97.67
24969971637 main [TASK] Drop some unnecessary type checks (#1618) The DOM nodes in the touched code parts are already guaranteed to be `DOMElement`s, and PHPStan can already deduce this. (So we don't need to have `assert`s for this.) push 26 Apr 2026 11:40PM UTC web-flow github
97.66
See All Builds (1143)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc