Skip to content

Fix phpunit errors with php notice already defined #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions smartypants.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#


define( 'SMARTYPANTS_VERSION', "1.5.1f" ); # Unreleased
defined( 'SMARTYPANTS_VERSION' ) || define( 'SMARTYPANTS_VERSION', "1.5.1f" ); # Unreleased


#
Expand All @@ -23,16 +23,16 @@
# 3 -> "--" for em-dashes; "---" for en-dashes
# See docs for more configuration options.
#
define( 'SMARTYPANTS_ATTR', 1 );
defined( 'SMARTYPANTS_ATTR' ) || define( 'SMARTYPANTS_ATTR', 1 );


# SmartyPants will not alter the content of these tags:
define( 'SMARTYPANTS_TAGS_TO_SKIP', 'pre|code|kbd|script|style|math');
defined( 'SMARTYPANTS_TAGS_TO_SKIP' ) || define( 'SMARTYPANTS_TAGS_TO_SKIP', 'pre|code|kbd|script|style|math');


### Standard Function Interface ###

define( 'SMARTYPANTS_PARSER_CLASS', 'SmartyPants_Parser' );
defined( 'SMARTYPANTS_PARSER_CLASS' ) || define( 'SMARTYPANTS_PARSER_CLASS', 'SmartyPants_Parser' );

function SmartyPants($text, $attr = SMARTYPANTS_ATTR) {
#
Expand Down Expand Up @@ -760,4 +760,4 @@ function when loaded simultanously.
possibility of such damage.

*/
?>
?>