feat: add sub-section support for pages#2321
Summary
8 new issues, 120 updated code elements
Annotations
Check notice on line 30 in src/Doctor/SiteDoctor.php
scrutinizer / Inspection
src/Doctor/SiteDoctor.php#L30
The doc comment ``array{`` at position ``2`` could not be parsed: the token is null at position 2.
Check notice on line 45 in src/Doctor/SeoDoctor.php
scrutinizer / Inspection
src/Doctor/SeoDoctor.php#L45
The doc comment ``array{`` at position ``2`` could not be parsed: the token is null at position 2.
Check notice on line 110 in src/Doctor/SiteDoctor.php
scrutinizer / Inspection
src/Doctor/SiteDoctor.php#L110
It seems like ``version_compare(Cecil\Doctor\PHP_VERSION, $phpMinimumVersion, '>=')`` can also be of type ``integer``; however, parameter ``$success`` of ``Cecil\Doctor\SiteDoctor::addCheck()`` does only seem to accept ``boolean``, maybe add an additional type check?
Check notice on line 34 in src/Doctor/FrontmatterDoctor.php
scrutinizer / Inspection
src/Doctor/FrontmatterDoctor.php#L34
The doc comment ``array{`` at position ``2`` could not be parsed: the token is null at position 2.
Check notice on line 49 in src/Doctor/FrontmatterDoctor.php
scrutinizer / Inspection
src/Doctor/FrontmatterDoctor.php#L49
``$files`` is always a sub-type of ``Symfony\Component\Finder\Finder``.
Check notice on line 157 in src/Command/DoctorSeo.php
scrutinizer / Inspection
src/Command/DoctorSeo.php#L157
The doc comment ``array{`` at position ``2`` could not be parsed: the token is null at position 2.
Check notice on line 179 in src/Command/DoctorSeo.php
scrutinizer / Inspection
src/Command/DoctorSeo.php#L179
The doc comment ``array{`` at position ``2`` could not be parsed: the token is null at position 2.
Check notice on line 92 in src/Command/IncrementalBuildResolver.php
scrutinizer / Inspection
src/Command/IncrementalBuildResolver.php#L92
The condition ``$pagesFromTemplates === null`` is always ``false``.