1
0
mirror of https://github.com/php/phd.git synced 2026-03-24 07:02:07 +01:00

17 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
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
Peter Kokot
3564283891 Sync final newlines
This patch adds some missing newlines and trims multiple redundant
newlines into a single newline.

According to POSIX, a line is a sequence of zero or more non-' <newline>'
characters plus a terminating '<newline>' character. [1] Files should
normally have at least one final newline character.

C89 [2] and later standards [3] mention a final newline:
"A source file that is not empty shall end in a new-line character,
which shall not be immediately preceded by a backslash character."

Although it is not mandatory for all files to have a final newline
fixed, a more consistent and homogeneous approach brings less of commit
differences issues and a better development experience in certain text
editors and IDEs.

[1] http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/V1_chap03.html#tag_03_206
[2] https://port70.net/~nsz/c/c89/c89-draft.html#2.1.1.2
[3] https://port70.net/~nsz/c/c99/n1256.html#5.1.1.2
2018-10-02 06:23:33 +02:00
Sobak
aecae4e2c3 Eliminate $ comments 2015-03-09 06:20:39 +01:00
Hannes Magnusson
37a0e4268d WS :) 2012-06-09 17:33:56 +01:00
Hannes Magnusson
9c1fa3647f Show individual package version in --version 2012-04-06 06:30:47 -07:00
Moacir de Oliveira Miranda Júnior
e832bd9782 adding support for package options 2010-09-09 02:37:28 +00:00
Hannes Magnusson
82667eeeea Allow rendering multiple packages in one go 2009-07-31 12:35:28 +00:00
Hannes Magnusson
fa300e7ea4 - Make the createFactory() method a singleton too, there is no point in having multiple instanceof of these objects
- Add __toString() to Factories
2009-07-31 12:21:15 +00:00
Hannes Magnusson
9bacdbd09b - Add missing $Id$ tags and vim modelines
- Remove useless closing tags
2009-07-30 16:56:01 +00:00
Moacir de Oliveira Miranda Júnior
6224df314b only one creational method 2009-07-17 04:32:17 +00:00
Moacir de Oliveira Miranda Júnior
bf297f3acc formats kdevelop, pdf and bigpdf added 2009-07-14 05:43:15 +00:00
Moacir de Oliveira Miranda Júnior
f6bc91e929 added formats HowTo and Manpage 2009-07-06 06:45:42 +00:00
Moacir de Oliveira Miranda Júnior
409c65ce54 fixing class names bugs 2009-06-20 06:58:48 +00:00
Christian Weiske
ff5cc4ebcf Add namespace in (hopefully) every class. This is fully untested!
I probably confused Format_Legacy with Format in some files.
2009-06-19 21:48:54 +00:00
Moacir de Oliveira Miranda Júnior
b7909c572d Merging from Enterprise 2009-06-13 11:18:08 +00:00