1
0
mirror of https://github.com/php/phd.git synced 2026-04-26 00:18:12 +02:00

25 Commits

Author SHA1 Message Date
Louis-Arnaud 7366bc9f2a refactor: replace trigger_error(E_USER_ERROR) with exceptions (PHP 8.4 compatibility) (#218)
Co-authored-by: lacatoire <louis-arnaud.catoire@external.drivalia.com>
2026-01-09 02:09:58 +00:00
haszi 85aeccaf0d Pass missing parameter to constructor 2025-01-14 12:16:32 +00:00
haszi 92dd87abf8 Define undefined properties and variables (#186)
Co-authored-by: haszi <haszika80@gmail.com>
2025-01-05 23:51:29 +00:00
haszi b80ae36dba Change property names to camel case 2024-12-29 19:58:10 +00:00
haszi b8e817b6ff Replace method calls with property access 2024-12-29 19:58:10 +00:00
haszi 15284136ff Separate regular PhD output from error handling (#176)
- Move error handling code into a class and remove PhD message output handling from it.
- Introduce a new class to handle PhD message output.
- Make the implicit dependency on the output functionality of classes explicit.
- Update PEAR package.xml.
- Fix tests.
- Use proper variadic parameters
- Use class constants
- Use first-class callable syntax

---------

Co-authored-by: haszi <haszika80@gmail.com>
2024-11-10 17:57:05 +00:00
haszi 0364e4f969 Use trigger_error for errors (#174)
Co-authored-by: haszi <haszika80@gmail.com>
2024-10-29 14:11:27 +00:00
haszi 03f9f1b110 Pass required parameter 2024-10-21 14:36:27 +01:00
haszi 86c5a1b322 Invoke Config instance methods instead of static methods from Format and its subclasses (#144)
Co-authored-by: haszi <haszika80@gmail.com>
2024-07-26 01:48:51 +01:00
haszi e948f1040f Add config as a dependency of format (#142)
* Add Config as a dependency to Format and all it subclasses

* Inject Config into every Format subclass at instantiation

---------

Co-authored-by: haszi <haszika80@gmail.com>
2024-07-07 15:58:51 +01:00
haszi e5b8bf35a9 Remove file ending comment blocks (#92)
Co-authored-by: haszi <haszika80@gmail.com>
2024-02-08 12:46:21 +00:00
Sobak aecae4e2c3 Eliminate $ comments 2015-03-09 06:20:39 +01:00
Moacir de Oliveira 46c57a689a Removing default html title from return and error descriptions
Signed-off-by: Moacir de Oliveira <moacir@php.net>
2012-09-30 12:29:40 -04:00
Moacir de Oliveira Miranda Júnior b8f2a3e78b fixing empty function purpose - The function is from elementmap and not textmap 2011-07-08 01:47:09 +00:00
Moacir de Oliveira Miranda Júnior 21bce45f69 do not render broken see also entries 2011-07-04 03:03:52 +00:00
Moacir de Oliveira Miranda Júnior e55951d77b Adding the SQLite format for PHD_IDE \o/ 2011-07-03 21:54:12 +00:00
Moacir de Oliveira Miranda Júnior 4e9974f931 Rendering all descriptions as html
* Maybe we should make this optional, render as text or html
* CDATA is used in the XML format
* Now is possible to render all IDE formats at once \o/
2011-07-02 23:25:55 +00:00
Moacir de Oliveira Miranda Júnior 53421cd990 also replace "." with "-" for finding the correct version info 2011-06-22 00:05:16 +00:00
Moacir de Oliveira Miranda Júnior 92c3f6263c Ignoring refnames with spaces 2011-06-19 20:27:04 +00:00
Moacir de Oliveira Miranda Júnior 4ff9a6f3ed remove new lines from the refpurposes 2011-06-07 04:10:10 +00:00
Moacir de Oliveira Miranda Júnior 8ba5a105f2 rendering the description of parameters 2011-05-23 03:25:05 +00:00
Richard Quadling 03def3cb58 Allow output directories to be a nested directory. 2011-04-01 16:00:11 +00:00
Moacir de Oliveira Miranda Júnior bf37d04499 Initializing vars when a refentry is opened 2010-05-03 04:55:55 +00:00
Moacir de Oliveira Miranda Júnior 2cb3c1539c removing useless dot 2010-05-02 15:38:31 +00:00
Moacir de Oliveira Miranda Júnior 53792784a1 This should be the base class for all IDE formats 2010-05-01 20:42:10 +00:00