Niels Dossche
b31cc91792
Skip enum definitions in checkSectionErrors() ( #195 )
...
They don't follow the normal rules.
2024-12-02 20:21:22 +01:00
Gina Peter Banyard
b76bf49e01
Ignore section order script for PDO::connect() as XInclude is used
2024-11-20 23:25:24 +00:00
Maciej Sobaczewski
d5ecfd2d42
Make scripts/qa/section-order.php support new class reference syntax
...
This fixes the CI failure.
2024-06-15 01:08:19 +02:00
Gina Peter Banyard
66ff9964ca
Do not check section order for exceptionrefs
2023-12-06 07:00:28 +00:00
Gina Peter Banyard
efe5283eed
Update QA script licenses to PHP 3.01 ( #110 )
...
Also drive by fix of my name
2023-12-06 04:18:45 +00:00
Niels Dossche
f333b4a8ef
Skip ext/dom pages that rely on xincludes ( #106 )
2023-11-11 16:30:50 +00:00
Máté Kocsis
6a1a15bb0f
Fix constructorsynopsis and destructorsynopsis validation ( #84 )
...
Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de >
2022-12-13 08:30:16 +01:00
Christoph M. Becker
f6bf23ef60
Properly skip SKIP_FILEs on Windows
...
Closes GH-65.
2022-07-04 20:05:29 +02:00
George Peter Banyard
2e8dcb2611
DateTimeImmutable is now properly documented
2022-06-06 20:07:18 +01:00
George Peter Banyard
5a6d22ecbe
Do not warn if constructor synopsis has an oop role attribute
2022-04-06 16:51:11 +01:00
Christoph M. Becker
b44850403d
Properly report error status
...
Only if an int is given to `exit`, the status code will be set.
Otherwise the value is treated as string, and just printed.
2022-04-03 19:54:07 +01:00
George Peter Banyard
b41cf301a6
Update section-order QA script
...
Remove main as it doesn't exist anymore
Add parallel/functions/parallel.run.xml as it includes the docs via <xi:include> tags
2022-03-13 22:47:37 +00:00
George Peter Banyard
97b63b9c97
Improve section order script to detect constructor/destructor which have a return section
...
Do not enable it however as it generates over 100 issues and it would be better to fix the current ones to be able to enable it in CI to prevent new issues from appearing
2022-01-07 00:59:14 +00:00
George Peter Banyard
8fda245ab3
Check file path instead of content to determine if the page is a constructor/destructor
2021-12-29 13:52:19 +00:00
George Peter Banyard
51372914ba
Destructor pages should not have return value sections
...
Similarly to how constructors do not have such a section
Also enable the check for using <destructorsynopsis> as this only adds a couple errors contrary to the <constructorsynopsis> check
2021-12-29 13:47:58 +00:00
George Peter Banyard
ca6272fca4
Add die() to the list of exclude files
2021-06-12 09:02:25 +01:00
George Peter Banyard
8028ed07aa
Check section order for predefined classes
2021-06-12 08:52:19 +01:00
George Peter Banyard
56bac8a4dc
Skip certain files from section order checks
2021-06-12 08:45:26 +01:00
George Peter Banyard
0c43cea911
Check for valid section role
...
Move check for unicode section to this mechanism
2021-06-12 08:32:58 +01:00
George Peter Banyard
5a92f5f82d
Skip class declaration doc pages
2021-06-12 08:32:58 +01:00
George Peter Banyard
32cd870473
Skip certain folder if they refer to anoter set of docs
2021-06-12 08:32:58 +01:00
George Peter Banyard
cf27b08c12
Move section order check to a common function
...
The only difference between constructor pages and others is that a return section shouldn't be there
2021-06-12 07:53:12 +01:00
George Peter Banyard
870ddca4d8
Ignore method aliases too
2021-06-06 18:21:02 +01:00
George Peter Banyard
214c8f8390
Actually check for both
...
We have lovely consistency in the docs
2021-06-04 21:46:42 +01:00
George Peter Banyard
7a440d5619
Improve function/method alias detection
2021-06-04 21:23:53 +01:00
thinkverse
985f2b43ba
Use FilesystemIterator constants
...
Using FilesystemIterator::SKIP_DOTS constant removes use of isDot check
2021-06-03 04:04:19 +01:00
George Peter Banyard
2a6eb8e779
Add section order QA script
2021-06-03 03:53:00 +01:00