Commit graph

13 commits

Author SHA1 Message Date
c7c8b4929b added tom cells
Some checks are pending
CI / Linting - PHP 7.4 (push) Waiting to run
CI / Linting - PHP 8.0 (push) Waiting to run
CI / Linting - PHP 8.1 (push) Waiting to run
CI / Linting - PHP 8.2 (push) Waiting to run
2025-11-23 16:45:07 -06:00
Bobby Jack
bd0a07d1cb
Fix typo in Readme.php
autoload.php, not autoloader.php
2018-07-05 14:45:46 +01:00
Michael Butler
3cfd0562e6 Change spaces to tabs in Readme.php 2018-01-27 12:01:31 -05:00
Michel Fortin
d18bf6e59a Reworded Usage section of Readme for Composer autoloading. Added comments in Readme.php for Composer users. 2017-04-24 09:20:09 -04:00
Jon Dufresne
3f1aae9b6a Use PSR-4 for autoloading
This change brings this library's autoloading up to modern standards in
the larger PHP community and uses methods recommended by the PHP
dependency manager, composer.

From PSR-0 http://www.php-fig.org/psr/psr-0/

> As of 2014-10-21 PSR-0 has been marked as deprecated. PSR-4 is now
> recommended as an alternative.

PSR-4: http://www.php-fig.org/psr/psr-4/

From composer https://getcomposer.org/doc/04-schema.md#autoload

> PSR-4 is the recommended way since it offers greater ease of use (no
> need to regenerate the autoloader when you add classes).
2017-04-23 14:57:48 -07:00
Jon Dufresne
9aa38de317 Remove leading backslash in use statements
While it is acceptable syntax, it is unnecessary and not recommended by
the PHP documentation:

https://secure.php.net/manual/en/language.namespaces.importing.php#language.namespaces.importing

> Note that for namespaced names (fully qualified namespace names
> containing namespace separator, such as Foo\Bar as opposed to global
> names that do not, such as FooBar), the leading backslash is
> unnecessary and not recommended, as import names must be fully
> qualified, and are not processed relative to the current namespace.
2017-04-22 10:29:16 -07:00
Michel Fortin
6b4f89fd19 Merge branch 'issue/98-phpdoc-comments' of git://github.com/robbieaverill/php-markdown into lib
Reverted some changes to Readme.php and the .inc files and corrected a syntax error in MarkdownExtra.php.
2016-03-13 20:44:48 -04:00
Robbie Averill
aee1b20499 Fixed author references 2016-03-04 08:28:21 +13:00
Robbie Averill
f5cd0dbcf4 [#98] Changing to PHPDoc comments 2016-03-03 13:39:53 +13:00
David Angel
2d578a8607 Minor documentation typo fix.
‘praser’ to ‘parser’
2013-11-25 15:20:06 -05:00
Michel Fortin
ca799f80fa Now using a PSR-0-compatible autoloader. 2013-02-03 16:14:12 -05:00
Michel Fortin
f35f0c0806 Fix for default PHP autoloading not working with Readme.php on case-sensitive file-system. 2013-01-24 13:52:00 -05:00
Michel Fortin
8e34fc990f Added Readme.php as sample code. 2013-01-21 07:52:18 -05:00