Skip to content

Commit

Permalink
1.3.0, check changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
Rico Kaltofen committed Jan 23, 2019
1 parent 21517d1 commit f624165
Show file tree
Hide file tree
Showing 13 changed files with 20 additions and 14 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
# Changelog
All notable changes to this project will be documented in this file.

## [1.3.0] - 2019-01-23

### Fixed
- `vanderlee/syllable` compatibility to version 1.5 (namespace change…)

## [1.2.7] - 2018-12-04

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"symfony/framework-bundle": "^3.4",
"wa72/htmlpagedom": "^1.3",
"heimrichhannot/contao-utils-bundle": "^2.16",
"vanderlee/syllable": "^1.4"
"vanderlee/syllable": "^1.5"
},
"require-dev": {
"contao/test-case": "^1.1",
Expand Down
2 changes: 1 addition & 1 deletion src/ContaoManager/Plugin.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
2 changes: 1 addition & 1 deletion src/DependencyInjection/HyphenatorExtension.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
2 changes: 1 addition & 1 deletion src/EventListener/FrontendPageListener.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
2 changes: 1 addition & 1 deletion src/HeimrichHannotContaoHyphenatorBundle.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
7 changes: 4 additions & 3 deletions src/Hyphenator/FrontendHyphenator.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand All @@ -12,6 +12,7 @@
use Contao\CoreBundle\Framework\ContaoFrameworkInterface;
use Contao\StringUtil;
use Contao\System;
use Vanderlee\Syllable\Syllable;
use Wa72\HtmlPageDom\HtmlPageCrawler;

class FrontendHyphenator
Expand Down Expand Up @@ -41,15 +42,15 @@ public function hyphenate($strBuffer)
return $strBuffer;
}

\Syllable::setCacheDir(System::getContainer()->getParameter('kernel.cache_dir'));
Syllable::setCacheDir(System::getContainer()->getParameter('kernel.cache_dir'));

$language = $objPage->language;

if (isset($GLOBALS['TL_CONFIG']['hyphenator_locale_language_mapping'][$language])) {
$language = $GLOBALS['TL_CONFIG']['hyphenator_locale_language_mapping'][$language];
}

$h = new \Syllable($language);
$h = new Syllable($language);
$h->setMinWordLength(Config::get('hyphenator_wordMin'));
$h->setHyphen(Config::get('hyphenator_hyphen'));

Expand Down
2 changes: 1 addition & 1 deletion tests/ContaoManager/PluginTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/DependencyInjection/HyphenatorExtensionTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/EventListener/FrontendPageListenerTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/HeimrichHannotContaoHyphenatorBundleTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/Hyphenator/FrontendHyphenatorTest.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down
2 changes: 1 addition & 1 deletion tests/bootstrap.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php

/*
* Copyright (c) 2018 Heimrich & Hannot GmbH
* Copyright (c) 2019 Heimrich & Hannot GmbH
*
* @license LGPL-3.0-or-later
*/
Expand Down

0 comments on commit f624165

Please sign in to comment.